The document provides instructions for formatting different elements in a LaTeX document, including sections, subsections, figures, tables, and formulas. It explains commands for setting the document class, title, author, and date as well as inserting comments, references, and spacing. Examples are given of code for each element to demonstrate how to properly structure and design a LaTeX project.
The document provides instructions for formatting different elements in a LaTeX document, including sections, subsections, figures, tables, and formulas. It explains commands for setting the document class, title, author, and date as well as inserting comments, references, and spacing. Examples are given of code for each element to demonstrate how to properly structure and design a LaTeX project.
The document provides instructions for formatting different elements in a LaTeX document, including sections, subsections, figures, tables, and formulas. It explains commands for setting the document class, title, author, and date as well as inserting comments, references, and spacing. Examples are given of code for each element to demonstrate how to properly structure and design a LaTeX project.
Title and packages. Sections and subsections. Tables
and images. Formulas. First access
Click and hit "Example project". Then name it
and select "Create"
From second access on
TITLE AND PACKAGES DISTRIBUT IONS \document class[10pt, a4paper]{article}
between [ ] : font size and sheet format
between { } : the general layout of the document
article - for scientific journals, short reports
and documentation report - for longer report, thesis, small books book - for real books beamer - for presentations and slides \usepackage[utf8]{inputenc}
The encoding of the document. To allow special
characters in the text (like à, ç etc)
No need to change it, it is good to go
\title{ }
Title name. \title{ } is one of the information
required for the title page. \author{ }
Names of the authors. \author{ } is the second
information required for the title page. \date{ }
Date of the publication. you can even use
\today{ } to get the current date on compiling.
\date{ } is the last information required for the
title page. \usepackage{ }
with this command you can import external packages.
For a comprehensive list, land to https://en.wikibooks.org/wiki/LaTeX/Package_Reference \begin{document} ... \end{document}
Put between \begin and \end the actual content
to be rendered in your document \maketitle
After \begin{document}, put this command to
display the title page SECTIONS AND SUBSECTIONS DISTRIBUT IONS \begin{abstract} ... \end{abstract} After \begin{document}, put these commands to create the abstract section. Write between the \begin{abstract} and \end{abstract} its text. \section{name_of_the_section}
After \begin{document}, put this command to
create a new section. Everything you write after it and before other section commands will belong to this section
Use \\ to move to a new line
Use \\ to move to a newline
Use \\ to move to a new line
Use \vspace{xcm} to insert a vertical space of x cm
Use \\ to move to a new line
Use \hspace{xcm} to insert an horizontal space of x cm
Use \\ to move to a new line
Use % to insert a comment on the file. This will not be processed by the compiler
Use \\ to move to a new line
\subsection{name_of_the_subsection}
After \section{}, put this command to create a
subsection. Everything you write after it and before other section commands will belong to this subsection
Use \\ to move to a new line
FIGURES AND TABLES DISTRIBUT IONS \begin{figure}[h!] ... \end{figure} this command specifies a figure environment. Between [] you can specify a placement option: h! - here. Right after the last element rendered t! - top. On top of the page b! - bottom. On bottom of the page
Use \\ to move to a new line
use the package graphicx for the figures
Use \\ to move to a new line
\centering Centers the figure
\includegraphics[scale=1.7]{image.jpg}
Displays the figure specified in { }.
Between [ ] you can set optional parameters such as the scaling ratio
Use \\ to move to a new line
\caption{ }
Create the caption of the figure with the text
between { }
Use \\ to move to a new line
\label{fig: }
Create the label of the figure with the text after
fig:
Use this label to insert a reference in the text, with
\ref{fig: } \begin{table}[h!] ... \end{table}
Create a table environment.
Place your table content between \begin and \end. You can specify placement option between [ ] in the same way we did for the figure \begin{tabular}{ |c|c|c| } ... \end{tabular}
Create a table with three columns.
Place the table data between \begin and \end Separate data of adjacent columns with & Separate data of edjacent rows with \\ You can use caption and labels in the same way we did for the figure. Use \ref{tab: } to refer to the table FORMULAS DISTRIBUT IONS To include a formula inside your document, use \begin{equation} ... \end{equation}
Write your math stuff between \begin and
\end If you insert also a label, you can refer to the equation anywhere in the text