blob: 4e541ce75ad3cff1d344ac7b91a4ce5e695a7e73 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
% This file is embedded in glossaries-extra-manual.pdf
% Example 70 The long-only-short-only abbreviation style
% arara: pdflatex
% arara: pdfcrop
\documentclass[11pt]{article}
\pagestyle{empty}
\usepackage[T1]{fontenc}
\usepackage[colorlinks]{hyperref}
\usepackage{glossaries-extra}
\setabbreviationstyle{long-only-short-only}
\newabbreviation{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}
|