Skip to content

LaTeX Elements

Citations and Bibliography

The bibliography.bib file contains all the references used in the thesis. The references can be added manually or using a reference manager like. See BibTeX for more information.

@article{<label_name>,
    author  = {Author name},
    title   = {Title},
    journal = {Journal},
    year    = {Year},
    volume  = {Volume},
    number  = {Number},
    pages   = {Pages},
    doi     = {DOI}
}

Citation:

Text to cite \cite{<label_name>}.

Footnotes

Text with footnote\footnote{Footnote text}.

Text with a long footnote\footnotemark. More text ...

\footnotetext{Footnote text}

Figures

\usepackage{graphicx}

\begin{figure}[ht]
    \centering
    \includegraphics[width=0.5\textwidth]{figures/<name>.png}
    \caption{Caption text}
    \label{fig:<label_name>}
\end{figure}

Referencing a figure:

Figure \ref{fig:<label_name>}

Tables

\begin{table}[ht]
    \centering
    \begin{tabular}{|l|l|l|}
        \hline
        \textbf{Column 1} & \textbf{Column 2} & \textbf{Column 3} \\ \hline
        Row 1             & Row 1             & Row 1             \\ \hline
        Row 2             & Row 2             & Row 2             \\ \hline
        Row 3             & Row 3             & Row 3             \\ \hline
    \end{tabular}
    \caption{Caption text}
    \label{tab:<label_name>}
\end{table}

Referencing a table:

Table \ref{tab:<label_name>}

Code

\usepackage{minted}

\begin{minted}{python}
    def function():
        print("Hello World!")
\end{minted}
def function():
    print("Hello World!")