summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/glossaries-extra/glossaries-extra-manual-examples/glossaries-extra-manual-example142.tex
blob: c41f5089908df6120277b12d6e335e0a4fc7a395 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
% This file is embedded in glossaries-extra-manual.pdf
% Example 142 Inner glossaries using printunsrtglossarywrap
% arara: pdflatex
% arara: pdfcrop
\documentclass[12pt]{article}
\pagestyle{empty}
\usepackage{glossaries-extra}
\newglossaryentry{ant}{name={ant},description={}}
\newglossaryentry{bee}{name={bee},description={}}
\newignoredglossary*{other}
\newglossaryentry{duck}{type={other},name={duck},description={}}
\newglossaryentry{goose}{type={other},name={goose},description={}} 
\begin{document}
\begin{printunsrtglossarywrap}[style=index]
\glstreeitem First Glossary
\printunsrtinnerglossary[leveloffset=1]{}{}
\glstreeitem Second Glossary
\printunsrtinnerglossary[type=other,leveloffset=1]{}{}
\end{printunsrtglossarywrap} 
\end{document}