Debian Codegraph @

texmf-dist/doc/latex/refenums/test/demo-sec-param.tex

raw
1 \documentclass{article}
2
3 %required by referenceableenumelement
4 \usepackage{csquotes}
5 \usepackage{ifthen}
6 \usepackage{etoolbox}
7 \usepackage{hyperref}
8 \usepackage[capitalise,nameinlink]{cleveref}
9
10 %Always add a dot behind the definition
11 \newcommand{\thighlight}[1]{#1.}
12
13 \input{../referenceableenumelement}
14
15 \begin{document}
16
17 %Setup ``Steps'' not having a print form
18 \setupRefEnums[ ]{Step}{ONLYSHORT}
19
20 \section{Steps}
21 \label{sec:steps}
22
23 \defRefEnum[subsection]{Step}{Requirements Analysis}{rqa}
24 \label{sec:rqa}
25 The heading is defined using the macro.
26
27 %to show that the links are working: start a new page
28
29 \section{Discussion}
30
31 In \cref{sec:steps}, we started with \refEnumFull{Step}{rqa}.
32 \LaTeX{} put that step into \cref{sec:rqa}.
33
34 \end{document}