diff --git a/tex/header/stdmath.sty b/tex/header/stdmath.sty index 2cafe51f86bda0dad567db8d64cb2e22c7b80891..ca3851140760f0042d1f005591430ec834f615d6 100644 --- a/tex/header/stdmath.sty +++ b/tex/header/stdmath.sty @@ -109,6 +109,14 @@ exponent-product=\cdot]{siunitx} % provides nice typesetting for units and numb pdfencoding=auto ]{hyperref} %\parindent0.0em % = Einrueckungsweite des ersten Satzes eines Absatzes +% is necessary to let babel work with appendix: +% see https://tex.stackexchange.com/a/67636 +\RequirePackage{bookmark} +\RequirePackage[toc,page]{appendix} +\ifopt@german \renewcommand{\appendixpagename}{Anhänge} + \renewcommand{\appendixname}{Anhang} + \renewcommand{\appendixtocname}{Anhänge} +\fi % --------------------------------------------------------------- % Custom commands, rougly grouped diff --git a/tex/main.tex b/tex/main.tex index 77f08208fef29f26bf55ec8f8cffcd0e66320280..1b0a2ef9cd464573face7249793c0e18eca7003e 100644 --- a/tex/main.tex +++ b/tex/main.tex @@ -5,6 +5,8 @@ \author{Felix Hilsky} \maketitle % use \textinput as described in /header and _TEMPLATE -\appendix +\begin{appendices} + % \textinput{some-appendix-section} +\end{appendices} % use \textinput as described in /header and _TEMPLATE \docEnd