

It will add a superscript and a footnote with the text inside the braces. This line can be added after the name of the author, inside the braces of the title command. Here, the class for this piece of code was article.įollowing this, we write the content of the document. These may require the class as book or report. For example, a research paper will have a different class than a lesson of the book. Different types of classes will be required for different types of documents. The class controls the overall appearance of the document. Line 1 declares the type of document, known as the class. Now, let’s understand this simple piece of code. Here, you can see that LaTex has formatted the first line. Writing your First Code in LaTeX : Best Latex Tutorial for BeginnersĬreate a new LaTeX project. This acts as a big help while creating journals. Also, particular style of one document can be used for other documents too. It helps in typesetting documents, putting the formulae, creating a table of contents, references, etc.

It helps in drafting documents that are legible, beautifully formatted without the user making an effort. LaTeX is used for writing scientific documents, and many other forms of publication. The user has to think about only the content to put in the document and the software will take care of the formatting.įor example, you don’t have to take care of formatting or alignment, it is taken care by the program itself.

LaTeX (short for Lamport TeX) is a document preparation system.
