glossary title now displayed when section is empty

This commit is contained in:
Sven Vogel 2023-09-15 17:02:22 +02:00
parent 991d39d4c3
commit 911370409b
1 changed files with 4 additions and 1 deletions

View File

@ -37,7 +37,10 @@
\printnomenclature
\newpage
\renewcommand{\glossaryname}{Glossar}
% define custom german title for glossary lisitng
\addcontentsline{toc}{section}{Glossar} % add table of contents entry
\section*{Glossar} % add unumbered title
\renewcommand{\glossarysection}[2][]{} % remove default title for section
\printglossaries
\newpage