added options for acro package

This commit is contained in:
Sven Vogel 2024-03-05 09:32:37 +01:00
parent 448db5581f
commit 4b2142f3b1
3 changed files with 10 additions and 1 deletions

8
config/acro.tex Normal file
View File

@ -0,0 +1,8 @@
\DeclareBoolOption[false]{sort} % wether to sort acronym list alphabetically or not
\acsetup
{
make-links = true, % generate links
case-sensitive = true, % when calling \ac{ID} ID is case sensetive i.e ABC won't match AbC
use-id-as-short = true, % id of acronym is used as short form
}

View File

@ -55,6 +55,7 @@
\input{config/author} % meta information about author \input{config/author} % meta information about author
\input{config/pages} % set page configuration \input{config/pages} % set page configuration
\input{config/minted} % set minted configuration \input{config/minted} % set minted configuration
\input{config/acro} % setup acronyms
\input{extra/utils} % some utility stuff \input{extra/utils} % some utility stuff

View File

@ -50,5 +50,5 @@
\cleardoublepage \cleardoublepage
\def\listacronymname{Abkürzungsverzeichnis} \def\listacronymname{Abkürzungsverzeichnis}
\addcontentsline{toc}{section}{\listacronymname} \addcontentsline{toc}{section}{\listacronymname}
\printacronyms \printacronyms[sort]
\newpage \newpage