diff options
Diffstat (limited to 'Master/texmf-dist/doc/latex/refenums/test/demo-sec-param.tex')
-rw-r--r-- | Master/texmf-dist/doc/latex/refenums/test/demo-sec-param.tex | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/refenums/test/demo-sec-param.tex b/Master/texmf-dist/doc/latex/refenums/test/demo-sec-param.tex new file mode 100644 index 00000000000..ebb3b3d1150 --- /dev/null +++ b/Master/texmf-dist/doc/latex/refenums/test/demo-sec-param.tex @@ -0,0 +1,34 @@ +\documentclass{article} + +%required by referenceableenumelement +\usepackage{csquotes} +\usepackage{ifthen} +\usepackage{etoolbox} +\usepackage{hyperref} +\usepackage[capitalise,nameinlink]{cleveref} + +%Always add a dot behind the definition +\newcommand{\thighlight}[1]{#1.} + +\input{../referenceableenumelement} + +\begin{document} + +%Setup ``Steps'' not having a print form +\setupRefEnums[ ]{Step}{ONLYSHORT} + +\section{Steps} +\label{sec:steps} + +\defRefEnum[subsection]{Step}{Requirements Analysis}{rqa} +\label{sec:rqa} +The heading is defined using the macro. + +%to show that the links are working: start a new page + +\section{Discussion} + +In \cref{sec:steps}, we started with \refEnumFull{Step}{rqa}. +\LaTeX{} put that step into \cref{sec:rqa}. + +\end{document}
\ No newline at end of file |