Update subfiles document structure

This commit is contained in:
2026-06-29 20:19:50 +02:00
parent 5f447c955d
commit 0c14a1af00
17 changed files with 100 additions and 55 deletions
+29
View File
@@ -0,0 +1,29 @@
%! TeX program = lualatex
\documentclass[../../thesis.tex]{subfiles}
\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}{\subfix{listings/example.cpp}}
\end{codeblock}
\begin{figure}[H]
\centering
\begin{subfigure}[b]{0.55\textwidth}
\includesvg[width=1.0\linewidth]{\subfix{figures/example.svg}}
\end{subfigure}
\caption{This is a figure.}\label{fig:examplefigure}
\end{figure}
\end{document}