summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/glossaries-extra/glossaries-extra-manual-examples/glossaries-extra-manual-example007.tex
blob: 65e8e64ebdc7a1bf0805dc28441e789d2f224f1d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
% This file is embedded in glossaries-extra-manual.pdf
% Example 7 Category without an associated abbreviation style
% Label: "ex:fallbackabbrstyle"
% arara: pdflatex
% arara: pdfcrop
\documentclass[20pt]{extarticle}
\pagestyle{empty}
\usepackage[T1]{fontenc}
\usepackage{glossaries-extra}
\setabbreviationstyle{long-short-sc}
\newabbreviation{html}{html}{hypertext markup language}
\setabbreviationstyle[acronym]{footnote}
\newacronym{radar}{radar}{radio detection and ranging}
\newacronym[category=latin]{ibid}{ibid}{ibidem} 
\begin{document}
\gls{html}, \gls{radar} and \gls{ibid}.
\printunsrtglossaries 
\end{document}