aboutsummaryrefslogtreecommitdiff
path: root/example.tex
diff options
context:
space:
mode:
authorLoek Le Blansch <loek@pipeframe.xyz>2024-09-14 11:10:00 +0200
committerLoek Le Blansch <loek@pipeframe.xyz>2024-09-14 11:10:00 +0200
commit4d085ec22a6d8560913f61096a83ebda4bbaa740 (patch)
treee5a4e0d290762ffa782e9cde90148dd05a976bc1 /example.tex
parentfea8645802845447a4e03bd40bc481b1bed48f75 (diff)
clean up LaTeX build system
Diffstat (limited to 'example.tex')
-rw-r--r--example.tex10
1 files changed, 6 insertions, 4 deletions
diff --git a/example.tex b/example.tex
index ce45f6f..4ae4d95 100644
--- a/example.tex
+++ b/example.tex
@@ -35,7 +35,7 @@ These don't show up in the table of contents by default
\Cref{fig:example-a} definitely shows something. Referencing multiple things at once
is neatly handled by cleveref:
-\cref{fig:example-a,fig:example-b,fig:example-c,tab:gate-xor}.
+\cref{fig:example-a,fig:example-b,fig:example-puml,tab:gate-xor}.
\begin{figure}
\centering
@@ -46,15 +46,17 @@ is neatly handled by cleveref:
\begin{figure}
\begin{subfigure}{0.45\textwidth}%
+ \centering
\fitimg{\includegraphics{example-image-b}}
\caption{Example image B}
\label{fig:example-b}
\end{subfigure}%
\hfill
\begin{subfigure}{0.45\textwidth}%
- \fitimg{\includegraphics{example-image-c}}
- \caption{Example image C}
- \label{fig:example-c}
+ \centering
+ \includepumldiag{img/example.puml}
+ \caption{Example PlantUML diagram}
+ \label{fig:example-puml}
\end{subfigure}%
\caption{Subfigures}
\end{figure}