Debian Codegraph @

texmf-dist/doc/latex/glossaries-extra/samples/sample-footnote.tex

raw
1 % arara: pdflatex
2 % arara: makeglossaries
3 % arara: pdflatex
4 \documentclass{report}
5
6 \usepackage[colorlinks]{hyperref}
7 \usepackage{glossaries-extra}
8
9 \makeglossaries
10
11 %\setabbreviationstyle{footnote}% similar to glossaries.sty acronym style of the same name
12 \setabbreviationstyle{postfootnote}% put the footnote after following punctuation if present
13
14 \newabbreviation{html}{HTML}{hypertext markup language}
15 \newabbreviation{xml}{XML}{extensible markup language}
16
17 \begin{document}
18 \chapter{Sample}
19
20 First use: \gls{xml} and \gls{html}.
21
22 \chapter{Another Sample}
23
24 Next use: \gls{xml} and \gls{html}.
25
26 Short form: \glsxtrshort{xml}\@. Long form: \glsxtrlong{html}.
27 Full form: \glsxtrfull{xml}.
28
29 \printglossaries
30 \end{document}