%! 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]{\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]{\textwidth} \includesvg[width=1.0\linewidth]{\subfix{figures/heatmap2.svg}} \end{subfigure} \caption{This is another figure.}\label{fig:exampleheatmap} \end{figure} \begin{table}[H] \centering \begin{tabularx}{\textwidth}{lX} Column A & Column B \\ \toprule This is & a table where the right column does automatic line breaking, so long cell contents don't exceed the page boundary. Cool. \\ This is & an second row. \\ \bottomrule \end{tabularx} \caption{This is a table}\label{tab:exampletable} \end{table} \lipsum% \end{document}