summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/glossaries-extra/glossaries-extra-manual-examples/glossaries-extra-manual-example101.tex
blob: b95fb5061cf37c7a35b5d194086e008f56e48af6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
% This file is embedded in glossaries-extra-manual.pdf
% Example 101 Category post-link hook
% arara: pdflatex
% arara: pdfcrop
\documentclass[12pt]{article}
\pagestyle{empty}
\usepackage{glossaries-extra}
\glsdefpostlink{general}{*}
\newglossaryentry{sample}{name={sample},symbol={X},description={an example}} 
\begin{document}
\Gls{sample}, \glstext{sample}, \glsdesc{sample} and \glssymbol{sample}. 
\end{document}