diff options
Diffstat (limited to 'macros/latex/contrib/iodhbwm/doc/examples/acronyms/iodhbwm-acro.tex')
-rw-r--r-- | macros/latex/contrib/iodhbwm/doc/examples/acronyms/iodhbwm-acro.tex | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/macros/latex/contrib/iodhbwm/doc/examples/acronyms/iodhbwm-acro.tex b/macros/latex/contrib/iodhbwm/doc/examples/acronyms/iodhbwm-acro.tex new file mode 100644 index 0000000000..e778df7185 --- /dev/null +++ b/macros/latex/contrib/iodhbwm/doc/examples/acronyms/iodhbwm-acro.tex @@ -0,0 +1,42 @@ +% --------------------------------------------------- +% Date: 12.12.2018 +% Version: v0.1 +% Autor: Felix Faltin <ffaltin91[at]gmail.com> +% Repository: https://github.com/faltfe/iodhbwm +% --------------------------------------------------- +% --- --- --- --- -- Class options -- --- --- --- --- +% --------------------------------------------------- +\documentclass[ + load-dhbw-templates, % Allow \dhbw* commands + add-tocs-to-toc, % Add LoF, LoT, etc. to ToC + debug, % Provide \lipsum, \blindtext + language = ngerman, % Set main document language + auto-intro-pages = custom % Takes care about titlepage, abstract, ToC, etc. +]{iodhbwm} +\usepackage[T1]{fontenc} + +% --------------------------------------------------- +% --- --- --- --- - Necessary setup - --- --- --- --- +% --------------------------------------------------- +% Add a summary of all acronyms to the ToC +\dhbwsetup{% + intro/print toc = true, + intro/append custom content = {% + \printacronyms[name=Abkürzungsverzeichnis, heading=addchap] + } +} + +% Include acro package +\usepackage{acro} +% Declare an example acronym +\DeclareAcronym{Team}{ + short = Team, + long = {Toll ein anderer macht's} +} + +\begin{document} + \chapter{Hello World} + Wusstest du es schon: \ac{Team} + + \Blinddocument +\end{document} |