30 lines
811 B
TeX
30 lines
811 B
TeX
\documentclass[thesis.tex]{subfiles}
|
|
\graphicspath{figures}
|
|
|
|
\begin{document}
|
|
|
|
\chapter{Examples}\label{ch:examples}
|
|
|
|
See if everything works:
|
|
|
|
This is \code{inline code}.
|
|
This is a reference to \Gls{fail}.
|
|
This is another reference to \Gls{fail}.
|
|
This is a citation~\autocite{polednaReplicaDeterminismDistributed1994}.
|
|
This is a reference to \autoref{ch:introduction}.
|
|
This is a formula: \( \sum\limits_{f=1}^{\infty}\frac{o}{r}\cdot m_{u} + l^{a} \).
|
|
|
|
\begin{codeblock}[label=lst:examplelisting]{This is a listing}{C++}
|
|
\inputminted{cpp}{listings/example.cpp}
|
|
\end{codeblock}
|
|
|
|
\begin{figure}[H]
|
|
\centering
|
|
\begin{subfigure}[b]{0.55\textwidth}
|
|
\includesvg[width=1.0\linewidth]{figures/example.svg}
|
|
\end{subfigure}
|
|
\caption{This is a figure.}\label{fig:examplefigure}
|
|
\end{figure}
|
|
|
|
\end{document}
|