summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/glossaries/glossaries-user-examples/glossaries-user-example023.tex
blob: 86ff05f32b4bf7c58068770deb71f9fc35c1ed53 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
% This file is embedded in glossaries-user.pdf
% Example 23 Defining and Using an Acronym
% Label: "ex:newacronym"
% arara: pdflatex
% arara: pdfcrop
\documentclass[12pt]{article}
\pagestyle{empty}
\usepackage{glossaries}
\setacronymstyle{long-short}
\newacronym{idn}{IDN}{identification number} 
\begin{document}
First use: \gls{idn}. Next use: \gls{idn}. 

\glsreset{idn}% reset first use
 The \gls{idn}['s] prefix is a capital letter.
Next use: the \gls{idn}['s] prefix is a capital letter. 
\end{document}