| 1 |
% This file is public domain. See the "Examples" chapter |
| 2 |
% in the bib2gls user manual for a more detailed description |
| 3 |
% of this file. |
| 4 |
|
| 5 |
\documentclass[12pt,a4paper]{article} |
| 6 |
|
| 7 |
\usepackage[T1]{fontenc} |
| 8 |
\usepackage[colorlinks]{hyperref} |
| 9 |
|
| 10 |
\usepackage[record,% use bib2gls |
| 11 |
nostyles,% don't load default styles |
| 12 |
postdot,% add a full stop after the description |
| 13 |
% load glossary-tree.sty and patch styles: |
| 14 |
stylemods={tree}, |
| 15 |
style=treegroup]{glossaries-extra} |
| 16 |
|
| 17 |
\GlsXtrLoadResources[ |
| 18 |
src={terms,animals,minerals,vegetables},% data these .bib files |
| 19 |
field-aliases={identifier=parent} |
| 20 |
] |
| 21 |
|
| 22 |
\begin{document} |
| 23 |
Some sample terms: \gls{duck}, \gls{sealion}, \gls{armadillo}, |
| 24 |
\gls{seal}, \gls{aardvark}, \gls{amethyst}, \gls{aquamarine}, |
| 25 |
\gls{diamond}, \gls{dolomite}, \gls{chalcedony}, \gls{citrine}, |
| 26 |
\gls{quetzalcoatlite}, \gls{cabbage}, \gls{cauliflower}, |
| 27 |
\gls{artichoke}, \gls{courgette}. |
| 28 |
|
| 29 |
\GlsXtrSetDefaultNumberFormat{glsignore}% ignore records in the glossary |
| 30 |
\printunsrtglossary |
| 31 |
\end{document} |