DZone
Thanks for visiting DZone today,
Edit Profile
  • Manage Email Subscriptions
  • How to Post to DZone
  • Article Submission Guidelines
Sign Out View Profile
  • Post an Article
  • Manage My Drafts
Over 2 million developers have joined DZone.
Log In / Join
Refcards Trend Reports
Events Video Library
Refcards
Trend Reports

Events

View Events Video Library

Related

  • My Dive into Local LLMs, Part 1: From Alexa Curiosity to Homegrown AI
  • Scholcast: Generating Academic Paper Summaries With AI-Driven Audio
  • Ansible and the Pre-Container Arts
  • regreSSHion: Should We Panic About the New OpenSSH Vulnerability?

Trending

  • How SaaS Architectures Break at Scale — and the Engineering Decisions That Prevent It
  • When Snowflake Lies to You: Understanding False Failures in dbt Pipelines
  • Build a GitHub Slack Bot With AWS Bedrock and MCP, Part 2
  • Optimizing High-Volume REST APIs Using Redis Caching and Spring Boot (With Load Testing Code)
  1. DZone
  2. Coding
  3. Frameworks
  4. Installing LaTeX on Ubuntu

Installing LaTeX on Ubuntu

From theses to reports and books, LaTeX is a pretty useful document markup language. Learn how to install the Tex Live distribution here.

By 
Pavithra Gunasekara user avatar
Pavithra Gunasekara
·
Aug. 09, 12 · Tutorial
Likes (6)
Comment
Save
Tweet
Share
374.8K Views

Join the DZone community and get the full member experience.

Join For Free

LaTeX is a markup language for describing a document. It can also be defined as a document preparation system. LaTeX is mainly used to create technical or scientific articles, papers, reports, books or Ph.D. thesis.

There are a number of LaTeX distributions you can install on Ubuntu. One such distribution is TeX Live.

  1. To install Tex Live LaTeX distribution on ubuntu use the following command.
    sudo apt-get install texlive-full  
  2. To edit LaTeX documents we need an editor. There are a number of LaTeX editors you can find. I recommend Texmaker, a cross-platform LaTeX editor. To install Texmaker on Ubuntu use following command.
    sudo apt-get install texmaker  
  3. To open Texmaker on Ubuntu use following command.
    texmaker  
  4. Now let's create a simple document using Texmaker. Click on File -> New and insert following lines in the blank document.
    \documentclass{article}  
    
    \begin{document}  
    
      Hello world!  
    
    \end{document}
  5. Now save the document as a 'tex' file by clicking File -> Save. Compile the document clicking the arrow Quick Build.

You can learn more about LaTeX by referring to this link.

LaTeX ubuntu

Published at DZone with permission of Pavithra Gunasekara. See the original article here.

Opinions expressed by DZone contributors are their own.

Related

  • My Dive into Local LLMs, Part 1: From Alexa Curiosity to Homegrown AI
  • Scholcast: Generating Academic Paper Summaries With AI-Driven Audio
  • Ansible and the Pre-Container Arts
  • regreSSHion: Should We Panic About the New OpenSSH Vulnerability?

Partner Resources

×

Comments

The likes didn't load as expected. Please refresh the page and try again.

  • RSS
  • X
  • Facebook

ABOUT US

  • About DZone
  • Support and feedback
  • Community research

ADVERTISE

  • Advertise with DZone

CONTRIBUTE ON DZONE

  • Article Submission Guidelines
  • Become a Contributor
  • Core Program
  • Visit the Writers' Zone

LEGAL

  • Terms of Service
  • Privacy Policy

CONTACT US

  • 3343 Perimeter Hill Drive
  • Suite 215
  • Nashville, TN 37211
  • [email protected]

Let's be friends:

  • RSS
  • X
  • Facebook