47 lines
1.4 KiB
TeX
47 lines
1.4 KiB
TeX
%! TeX program = lualatex
|
|
%! TeX root = ../../thesis.tex
|
|
\documentclass[../../thesis.tex]{subfiles}
|
|
|
|
\begin{document}
|
|
|
|
% \addchap{Examples}\label{ch:examples}
|
|
\chapter{Examples}\label{ch:examples}
|
|
|
|
\todo[inline]{Sanity check so everything looks correct}
|
|
|
|
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}.
|
|
|
|
\section{This is a section}\label{sec:examplesection}
|
|
|
|
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} \).
|
|
This is \textbf{bold text that is slightly bold}, so underwhelming.
|
|
In contrast, \sansbf{this text is very strong}, very cool\footnote{very cool}.
|
|
|
|
\begin{codeblock}[label=lst:examplelisting]{This is a listing}{C++}
|
|
\inputminted{cpp}{\subfix{listings/example.cpp}}
|
|
\end{codeblock}
|
|
|
|
\begin{figure}[H]
|
|
\centering
|
|
\begin{subfigure}[b]{0.85\textwidth}
|
|
\includesvg[width=1.0\linewidth]{\subfix{figures/example.svg}}
|
|
\end{subfigure}
|
|
\caption{This is a figure.}\label{fig:examplefigure}
|
|
\end{figure}
|
|
|
|
\begin{figure}[H]
|
|
\centering
|
|
\begin{subfigure}[b]{0.95\textwidth}
|
|
\includesvg[width=1.0\linewidth]{\subfix{figures/heatmap2.svg}}
|
|
\end{subfigure}
|
|
\caption{This is another figure.}\label{fig:exampleheatmap}
|
|
\end{figure}
|
|
|
|
\lipsum%
|
|
|
|
\end{document}
|