add PrintVocabIndex macro

This commit is contained in:
Maximilian Keßler 2022-01-30 19:13:16 +01:00
parent fab3fa1f8c
commit 9f5af1d669

View file

@ -33,6 +33,10 @@ __IF__(index)
\newcommand\printvocabindex{ \newcommand\printvocabindex{
\printindex[vocabindex] \printindex[vocabindex]
} }
\NewDocumentCommand{\PrintVocabIndex}{ }
{
\printindex[vocabindex]
}
\else \else
\NewDocumentCommand{\vocab}{O{} m }{ \NewDocumentCommand{\vocab}{O{} m }{
\textbf{\color{blue} #2} \textbf{\color{blue} #2}