blob: 346496ec2fad26a0ac6a28724c043ac714eec0ae (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
% arara: pdflatex
% arara: makeglossaries
% arara: pdflatex
\documentclass{article}
\usepackage[colorlinks]{hyperref}
\usepackage{glossaries-extra}
\makeglossaries
\newglossaryentry{sample}{name={sample},description={an example}}
\renewcommand{\thesection}{S.\arabic{section}}
\renewcommand{\theHsection}{\thepart.\thesection}
\begin{document}
\part{Sample Part}
\section{Sample Section}
\part{Another Part}
\section{Another Section}
\gls[counter=section]{sample}.
\printglossaries
\end{document}
|