| 1 |
% This file is embedded in glossaries-extra-manual.pdf |
| 2 |
% Example 103 Category post-link hook with punctuation lookahead |
| 3 |
% Label: "ex:catpostlinkpunc" |
| 4 |
% arara: pdflatex |
| 5 |
% arara: pdfcrop |
| 6 |
\documentclass[12pt]{article} |
| 7 |
\pagestyle{empty} |
| 8 |
\usepackage{glossaries-extra} |
| 9 |
\glsdefpostlink{general}{\glsxtrdopostpunc{*}} |
| 10 |
\newglossaryentry{sample}{name={sample},symbol={X},description={an example}} |
| 11 |
\begin{document} |
| 12 |
\Gls{sample}, \glstext{sample}, (\glsdesc{sample}) and \glssymbol{sample}. |
| 13 |
\end{document} |