% !TEX root = ../manual.tex
% !TEX program = xelatexmk
% !TEX spellcheck = en_GB

\newgeometry{outer=5cm,marginparsep=1cm,marginparwidth=3cm}
\section{Footnotes and Margin Notes}

In \LaTeX\ there are two main ways of adding notes: at the bottom (foot notes) and in the margin (margin notes).

Footnotes are a way to provide additional information if you don't have a wide margin to the side of your page. They are well supported in \LaTeX, and are numbered automagically:

\begin{multicols}{2}
\begin{lstlisting}
Footnote\footnote{Look below!}
\end{lstlisting}
\columnbreak
Footnote\footnote{Look below!}
\end{multicols}

Margin notes are a bit different in the sense that you need a different layout for your document to use them. They are also not numbered, and are represented like normal text:

%\begin{multicols}{2}
\begin{lstlisting}
By default:
\marginpar{This text is placed in the margin.}
\end{lstlisting}
%\columnbreak
By default:
\marginpar{This text is placed in the margin.}
%\end{multicols}

\restoregeometry
