summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/glossaries-extra/glossaries-extra-manual-examples/glossaries-extra-manual-example142.tex
blob: 77ba66112ed57af734bfb0f8360965f7b4a8b342 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
% This file is embedded in glossaries-extra-manual.pdf
% Example 142 Inner glossaries using printunsrtglossarywrap
% Label: "ex:unsrtwrap"
% 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}