45 lines
1.7 KiB
TeX
45 lines
1.7 KiB
TeX
\section{Normal Text} % Top-level heading
|
|
|
|
\subsection{Level 2} % For divisioning each part/section/chapter for structure
|
|
|
|
\subsubsection{Level 3} % Second order structure
|
|
|
|
% \subsubsubsection{Level 4} % This doesn't work, as it doesn't exist
|
|
% If you need a fourth level heading, consider just _not_ doing it
|
|
% There may exist packages for it, if you're adamant
|
|
|
|
This is a paragraph.
|
|
This is in the same paragraph.
|
|
This is still in the same paragraph. % An empty line breaks into a new paragraph
|
|
|
|
This is another paragraph, however. % \\ forces a linebreak which will come in addition to the "new paragraph" break
|
|
|
|
\vspace{1em}
|
|
|
|
\begin{itemize} % Says that what exists inside of here is a bulletpoint list
|
|
\item It is possible to \emph{italicize} text with \verb|\emph{}|.
|
|
\item It is possible to \textbf{boldface} text with \verb|\textbf{}|.
|
|
\item It is possible \textbf{to \emph{nest} these} effects.
|
|
\end{itemize}
|
|
|
|
If you wish to write an entire paragraph, you may write everything on one line. With line-wrapping, this becomes trivial, as it even looks like paragraph. However, for the love of God, do not do this, as it is impossible to debug, should some of your inline things be weird. In addition, version-control systems like git are much more powerful when you use more lines.
|
|
|
|
\subsection{Lists}
|
|
|
|
\begin{enumerate}
|
|
\item First
|
|
\item Second
|
|
\item Third
|
|
\begin{enumerate}
|
|
\setlength{\itemsep}{-0.5em} % Pulls the items closer
|
|
\item Nesting
|
|
\item Is
|
|
\item Nice
|
|
\end{enumerate}
|
|
\begin{itemize}
|
|
\item You can
|
|
\item[\LaTeX] Even
|
|
\item[*] Do
|
|
\item[$\rightarrow$] This
|
|
\end{itemize}
|
|
\end{enumerate} |