LaTeX is a typesetting system that turns plain text into professional PDFs. Unlike word processors, you write commands to structure your content, and the compiler handles the layout.
The short answer: create a project in an online editor, define your document class, and put your content between \begin{document} and \end{document}. You don't need to install anything.
You don't need a local installation to start. Online editors like Texeno run the entire TeX system in your browser. Create a new project, name it, and you will see a code editor on the left and a PDF preview on the right.
Most editors provide a default file, usually named main.tex. The .tex extension is standard for files containing your LaTeX code.
| Part | What it does | Example |
|---|---|---|
| Preamble | Defines document class and packages | \documentclass{article} |
| Body | Contains your content | \begin{document} ... \end{document} |
Every LaTeX document has two distinct parts: the preamble and the body. The preamble sets up your document's style and loads extra tools, while the body contains the actual text you want to appear in the PDF.
| Code |
|---|
| \documentclass{article} \begin{document} Hello, world! This is my first LaTeX document. \end{document} |
Copy this code into your main.tex file to see how it works. The \documentclass command tells LaTeX you are writing an article, and the document environment wraps your content.
Once you have written your code, click the Recompile button. The editor processes your text and generates a PDF. If you make a mistake, such as a missing closing brace, the editor will show an error message pointing to the line where it happened.
Organize your document using \section{Title} and \subsection{Subtitle}. LaTeX handles the numbering automatically.
\section{Introduction}
This is the first section.Use commands to style your text. Wrap the text you want to format inside the curly braces.
\textbf{Bold text}
\textit{Italic text}No. Online editors provide a complete environment in your browser. You can write, compile and export your PDFs without installing any software.
The preamble is the section of your document before \begin{document}. It is where you define the document type and load packages to add new features.
Most errors come from missing closing braces or misspelled commands. Check the error log in your editor; it usually highlights the exact line causing the issue.
Yes. You can set the font size in the document class command, for example \documentclass[12pt]{article}.
Load the graphicx package in your preamble with \usepackage{graphicx}, then use the \includegraphics command to insert your image file.
Packages are sets of commands that extend LaTeX's capabilities. You load them in your preamble using \usepackage{packagename}.
Start free, upload a project as a .zip and press Recompile. Upgrade when you need longer compiles.
Start writing