Debian Codegraph @

texmf-dist/doc/support/bib2gls/examples/sample-textsymbols2.tex

raw
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[a4paper]{article}
6
7 \usepackage[T1]{fontenc}
8
9 \usepackage{etoolbox}
10 \usepackage{marvosym}
11
12 % package conflict, need to undefine conflicting commands
13 \undef\Sun
14 \undef\Lightning
15
16 \usepackage[weather]{ifsym}
17
18 \usepackage[record,% using bib2gls
19 nostyles,% don't load default styles
20 postdot,% append a dot after descriptions
21 stylemods={tree,topic},% load glossary-tree.sty and glossary-topic.sty
22 style=topic]{glossaries-extra}
23
24 \GlsXtrLoadResources[
25 src={topics,miscsymbols},
26 % make @icon behave like @symbol:
27 entry-type-aliases={icon=symbol},
28 field-aliases={
29 identifier=parent,
30 icon=name,
31 icondescription=description
32 },
33 symbol-sort-fallback={description},
34 set-widest,
35 selection=all
36 ]
37
38 \begin{document}
39 \printunsrtglossaries
40 \end{document}
41