blob: 6c2bcf0bbfafbe9cdbd3fa7552c5e7fb7407d075 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
% This file is embedded in glossaries-extra-manual.pdf
% Example 115 Local unset
% Label: "ex:glslocalunset"
% arara: pdflatex
% arara: pdfcrop
\documentclass[12pt]{article}
\pagestyle{empty}
\usepackage{glossaries-extra}
\newabbreviation{html}{HTML}{hypertext markup language}
\begin{document}
{% local scope
\gls[local]{html}.
Used? \ifglsused{html}{Yes}{No}.
}% end scope
Used? \ifglsused{html}{Yes}{No}.
\gls[postunset=none]{html}. Used? \ifglsused{html}{Yes}{No}.
\end{document}
|