Update subfiles document structure
This commit is contained in:
@@ -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}
|
||||
Reference in New Issue
Block a user