diff options
Diffstat (limited to 'Master/texmf-dist/doc/latex/enotez/enotez_split_example.tex')
-rw-r--r-- | Master/texmf-dist/doc/latex/enotez/enotez_split_example.tex | 23 |
1 files changed, 22 insertions, 1 deletions
diff --git a/Master/texmf-dist/doc/latex/enotez/enotez_split_example.tex b/Master/texmf-dist/doc/latex/enotez/enotez_split_example.tex index df130cb1dcd..13d1da6e65e 100644 --- a/Master/texmf-dist/doc/latex/enotez/enotez_split_example.tex +++ b/Master/texmf-dist/doc/latex/enotez/enotez_split_example.tex @@ -1,4 +1,7 @@ \documentclass{scrartcl} +% \documentclass{memoir} +% \documentclass{article} +% \usepackage{caption} \usepackage[T1]{fontenc} \usepackage{libertine} @@ -8,7 +11,10 @@ \DeclareInstance{enotez-list}{section}{paragraph}{heading=\section{#1}} \setenotez{split=section,list-style=section,reset} % customize the titles in between, e.g.: -% \setenotez{split-sectioning=textbf,split-title=\par\noindent<name> <ref>:} +\setenotez{ + split-sectioning=textbf, + split-title=\par\noindent<name> <ref>: +} \usepackage{fnpct} \AdaptNote\endnote\multendnote @@ -17,6 +23,21 @@ \usepackage[colorlinks]{hyperref} \begin{document} +\section{Test} +Text\endnote{\kant[1]}. Text\endnote{\kant[2]}. Text\endnote{This time +with a \textbf{nested}\multendnote{\kant[3];\kant[4]} endnote.}. +Text\multendnote{\kant[5];\kant[6]}. + +\begin{figure}[htp] + \centering + \includegraphics[width=.4\linewidth]{example-image-a} + \caption[caption]{Some text\endnote{An endnote with a nested endnote\endnote{\kant[7]} + inside a figure caption.}.} +\end{figure} + +\appendix +\printendnotes +\end{document} \tableofcontents |