summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/glossaries-extra/glossaries-extra-manual-examples/glossaries-extra-manual-example079.tex
blob: 979779f41dea4a16a9a9610a4b15871ba62fdadd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
% This file is embedded in glossaries-extra-manual.pdf
% Example 79 The short-sc-footnote-desc abbreviation style
% arara: pdflatex
% arara: pdfcrop
\documentclass[20pt]{extarticle}
\pagestyle{empty}
\usepackage[T1]{fontenc}
\usepackage[colorlinks]{hyperref}
\usepackage{glossaries-extra}
\setabbreviationstyle{short-sc-footnote-desc}
\newabbreviation[description={sample description}]
{ex}{shrt fm}{long form} 
\begin{document}
First: \gls{ex}[-insert]. Next: \gls{ex}[-insert].
Full: \glsxtrfull{ex}[-insert]. First plural: \glspl[prereset]{ex}[-insert].
\printunsrtglossaries 
\end{document}