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