summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/enotez/enotez_split_example.tex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2013-01-02 22:57:27 +0000
committerKarl Berry <karl@freefriends.org>2013-01-02 22:57:27 +0000
commita9750df19ac98599ff8ce11306ef74a459710251 (patch)
tree5f1aa0fdffabcf696bd017af76714fdf789700eb /Master/texmf-dist/doc/latex/enotez/enotez_split_example.tex
parent38aff79d1a1f807457e1e2e152f55f8c41189a76 (diff)
enotez (2jan13)
git-svn-id: svn://tug.org/texlive/trunk@28702 c570f23f-e606-0410-a88d-b1316a301751
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.tex23
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