|
|
|
The basics of LaTeX are fairly simple. As the formatting of the text within the template is done through the .cls file and other set variables in the preambles, writing the document itself is fairly effortless. In all simplicity, all you have to do is to write text within ```\begin{document} ... \end{document}```. The only thing you need to be aware of in the plain text is that the paragraphs need to be separated with two empty lines.
|
|
|
|
|
|
|
|
```
|
|
|
|
This is paragraph 1
|
|
|
|
This is paragraph 2
|
|
|
|
|
|
|
|
Will compile in to the document as:
|
|
|
|
This is paragraph 1 This is paragraph 2
|
|
|
|
|
|
|
|
Make sure to use to empty lines between paragraphs!
|
|
|
|
```
|
|
|
|
|
|
|
|
## Sectioning your text
|
|
|
|
|
|
|
|
You can create sections of text with running numbering with the ```\section{}``` command. In the JAMK LaTeX template, we only use three section commands:
|
|
|
|
|
|
|
|
```
|
|
|
|
\section{First level section} - creates a title "1. First level section"
|
|
|
|
\subsection{Second level section} - creates a title "1.1 Second level section"
|
|
|
|
\subsubsection{Third level section} - creates a title "1.1.1 Third level section"
|
|
|
|
```
|
|
|
|
|
|
|
|
## Text formatting
|
|
|
|
|
|
|
|
In some cases you might want to **bold** or *italicize* your text. To do this, enter the text within these commands:
|
|
|
|
|
|
|
|
```
|
|
|
|
Bold = \textbf{This is bold text}
|
|
|
|
Italic = \textit{This is italic text}
|
|
|
|
|
|
|
|
You can also underline text with \underline{}, but this is not commonly used.
|
|
|
|
```
|
|
|
|
|
|
|
|
## Lists
|
|
|
|
|
|
|
|
Listing items is made fairly simple in LaTeX. All you need to do is begin a list, add items to it, and set where the listing ends.
|
|
|
|
|
|
|
|
Unordered lists can be created with ```itemize```:
|
|
|
|
|
|
|
|
```
|
|
|
|
\being{itemize}
|
|
|
|
\item This is the first entry in the list
|
|
|
|
\item and this the second
|
|
|
|
\end{itemize}
|
|
|
|
```
|
|
|
|
|
|
|
|
If you want to have running numbers in your list, use ```enumerate```:
|
|
|
|
|
|
|
|
```
|
|
|
|
\begin{enumerate}
|
|
|
|
\item This is the first labeled entry
|
|
|
|
\item and this the second
|
|
|
|
\end{enumerate}
|
|
|
|
```
|
|
|
|
|
|
|
|
|