| 1 |
% This file is embedded in glossaries-extra-manual.pdf |
| 2 |
% Example 143 Inner glossaries using printunsrtglossarywrap |
| 3 |
% Label: "ex:unsrtwrap" |
| 4 |
% arara: pdflatex |
| 5 |
% arara: pdfcrop |
| 6 |
\documentclass[12pt]{article} |
| 7 |
\pagestyle{empty} |
| 8 |
\usepackage{glossaries-extra} |
| 9 |
\newglossaryentry{ant}{name={ant},description={}} |
| 10 |
\newglossaryentry{bee}{name={bee},description={}} |
| 11 |
\newignoredglossary*{other} |
| 12 |
\newglossaryentry{duck}{type={other},name={duck},description={}} |
| 13 |
\newglossaryentry{goose}{type={other},name={goose},description={}} |
| 14 |
\begin{document} |
| 15 |
\begin{printunsrtglossarywrap}[style=index] |
| 16 |
\glstreeitem First Glossary |
| 17 |
\printunsrtinnerglossary[leveloffset=1]{}{} |
| 18 |
\glstreeitem Second Glossary |
| 19 |
\printunsrtinnerglossary[type=other,leveloffset=1]{}{} |
| 20 |
\end{printunsrtglossarywrap} |
| 21 |
\end{document} |