summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/glossaries-extra/sample-alttree.tex
blob: 986828ecc4fca34d4b07b0dc3c457b93cb4e9bc2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
% arara: pdflatex
% arara: makeglossaries if found("aux", "@istfilename")
% arara: pdflatex
\documentclass{article}

\usepackage[symbols,stylemods=tree,style=alttree]{glossaries-extra}

\makeglossaries

\loadglsentries{example-glossaries-parent.tex}
\loadglsentries[symbols]{example-glossaries-symbols}

\begin{document}
\glsaddall
\glsunsetall

%\glsFindWidestUsedLevelTwo
\preto{\glsxtralttreeInit}{%
 \glsFindWidestUsedLevelTwo[\currentglossary]%
}
\printglossaries

\end{document}