summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/glossaries-extra/glossaries-extra-manual-examples/glossaries-extra-manual-example013.tex
blob: 4bc973467e62af5bc5f592324acefeb4199ad15e (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 13 The nolong-short-sc abbreviation style
% arara: pdflatex
% arara: pdfcrop
\documentclass[11pt]{article}
\pagestyle{empty}
\usepackage[T1]{fontenc}
\usepackage[colorlinks]{hyperref}
\usepackage{glossaries-extra}
\setabbreviationstyle{nolong-short-sc}
\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}