aboutsummaryrefslogtreecommitdiff
path: root/example.tex
diff options
context:
space:
mode:
authorLoek Le Blansch <loek@pipeframe.xyz>2024-09-17 15:13:31 +0200
committerLoek Le Blansch <loek@pipeframe.xyz>2024-09-17 15:13:31 +0200
commit5c0649ac31b030cbb3c8c5e0684ee9419fe50054 (patch)
tree8cc5f25c1de11d50ec8fab196626145ef0cefaae /example.tex
parent69bb15bd19cd62b39e2af8a2ab890b1ce25f514c (diff)
parent5aba97da07413c498871c5da4ce8d0f2427ffc69 (diff)
Merge branch 'loek/requirements'
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}