3 Logical structure
Logical mark up
LaTeX provides us with logical mark up, as well as the ability to directly set the
appearance.
Logical mark up
\emph{⟨text⟩} {\large ⟨text⟩}
Appearance mark up
\textit{⟨text⟩} {\fontsize{12 pt}{14 pt}\selectfont ⟨text⟩}
Usually, logical mark up is best when it is available.
Title Page
First, you need to give the ‘meta-data’:
- \title{⟨title⟩}
- \author{⟨author(s)⟩}
- \date{⟨date⟩} (optional)
Then use \maketitle to display the title page.
Sectioning commands
- \chapter[⟨short title⟩]{⟨title⟩}
- \section[⟨short title⟩]{⟨title⟩}
- \subsection[⟨short title⟩]{⟨title⟩}
- \subsubsection[⟨short title⟩]{⟨title⟩}
- \paragraph[⟨short title⟩]{⟨title⟩}
- \subparagraph[⟨short title⟩]{⟨title⟩}
Lists
List with bullets, dashes, etc.
\begin{itemize}
\item This is an unordered list
\end{itemize}
List with numbered items
\begin{enumerate}
\item This is the first item.
\item This will have number 2!
\end{enumerate}