summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/glossaries-extra/samples/sample-mixed-abbrv-styles.tex
blob: 421a5af0badd078bebef25487d8a28f2066101f8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
% arara: pdflatex
% arara: makeglossaries
% arara: pdflatex
\documentclass{article}

\usepackage{glossaries-extra}

\makeglossaries

\setabbreviationstyle[inline]{long-short}
\setabbreviationstyle[footer]{footnote}

\newabbreviation[category=inline]{html}{HTML}{hypertext markup language}

\newabbreviation[category=footer]{shtml}{SHTML}{server-parsed HTML}

\begin{document}

First use: \gls{shtml} and \gls{html}.

Next use: \gls{shtml} and \gls{html}.

\printglossaries

\end{document}