aboutsummaryrefslogtreecommitdiff
path: root/example.tex
diff options
context:
space:
mode:
authorMax-001 <80035972+Max-001@users.noreply.github.com>2024-09-17 17:11:50 +0200
committerMax-001 <80035972+Max-001@users.noreply.github.com>2024-09-17 17:11:50 +0200
commita76cbcc5def5a6a09fb72b8aad5724c1de80b2a7 (patch)
tree5788b2ba519f74060db15f1683db963f75532bcb /example.tex
parente007d0bcd7484a364d8f1ca425ef58b13d0bef93 (diff)
parent5c0649ac31b030cbb3c8c5e0684ee9419fe50054 (diff)
Merge remote-tracking branch 'origin/master' into max/time
Diffstat (limited to 'example.tex')
-rw-r--r--example.tex13
1 files changed, 11 insertions, 2 deletions
diff --git a/example.tex b/example.tex
index 4ae4d95..e0d21c0 100644
--- a/example.tex
+++ b/example.tex
@@ -3,6 +3,8 @@
% with the [draft] option. this replaces all images with placeholders.
\input{meta.tex}
+\externaldocument{reqs}[./requirements.pdf]
+
\title{Example Document}
\begin{document}
@@ -155,17 +157,24 @@ Description:
\con{Bad thing 2}
\end{comparison}
-\subsection{Citations}
+\subsection{References}
+
+\subsubsection{Citations}
Citations are inserted using the \codeinline{\autocite} command \autocite{rfc:3339}.
The bibliography is automatically printed after \codeinline{\end{document}}.
-\subsection{Glossary}
+\subsubsection{Glossary}
Glossary entries can be inserted using the \codeinline{\gls} commands. Example:
``\Gls{sdl2} handles \glspl{hid} as well!''. In following occurrences of acronyms,
only their short form is printed: `\gls{sdl2}' and `\gls{hid}'. All of these link to
the glossary that is automatically printed after \codeinline{\end{document}}.
+\subsubsection{Requirements}
+
+Requirements are referenced like \codeinline{\label}s:
+e.g.~\cref{req:audio:handle,req:audio:async-api}.
+
\end{document}