blob: 2d0dfa6b4a16096f5da4dff223d94215598a713e (
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 34 The long-short-sm abbreviation style
% Label: "ex:abbrvstylelong-short-sm"
% arara: pdflatex
% arara: pdfcrop
\documentclass[11pt]{article}
\pagestyle{empty}
\usepackage{relsize}\usepackage[T1]{fontenc}
\usepackage[colorlinks]{hyperref}
\usepackage{glossaries-extra}
\setabbreviationstyle{long-short-sm}
\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}
|