blob: 5f091bdd740df74c0c14c2a3650377b94aaa4d36 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
% This file is embedded in glossaries-extra-manual.pdf
% Example 116 Buffering first use unsets with \mbox
% Label: "ex:bufferingmbox"
% arara: pdflatex
% arara: pdfcrop
\documentclass[12pt]{article}
\pagestyle{empty}
\usepackage[T1]{fontenc}
\usepackage{soul}
\usepackage{glossaries-extra}
\newabbreviation{html}{HTML}{hypertext markup language}
\begin{document}
\GlsXtrStartUnsetBuffering
\ul{Some text about \mbox{\gls{html}}.
Next use: \mbox{\gls{html}}.}
\GlsXtrStopUnsetBuffering
Next use: \gls{html}.
\end{document}
|