aboutsummaryrefslogtreecommitdiff
path: root/example.tex
diff options
context:
space:
mode:
authorMax-001 <80035972+Max-001@users.noreply.github.com>2024-09-18 14:17:40 +0200
committerMax-001 <80035972+Max-001@users.noreply.github.com>2024-09-18 14:17:40 +0200
commit03c0fd88e919a8f6d1553f8270483b445ea92202 (patch)
tree3c2314f97c7b2e6f9262f751951185b6bd512be8 /example.tex
parentf923835a5e82d727dc27d61ef9ef9d731580b0c9 (diff)
parent9f736b9e3d4b20c7dae1063bd572c1f802cde649 (diff)
Merge remote-tracking branch 'origin/master' into max/research
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}