summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/enotez/enotez_split_example.tex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2016-11-08 22:36:54 +0000
committerKarl Berry <karl@freefriends.org>2016-11-08 22:36:54 +0000
commit49125329a8504ac420facfe20462b68bf2859e46 (patch)
treecd7e01bc2bdfac571bbfa2170127ae0d88c7dbf9 /Master/texmf-dist/doc/latex/enotez/enotez_split_example.tex
parentf4fb1b6553fac548fb0aa84db12e2ea648780b2a (diff)
enotez (8nov16)
git-svn-id: svn://tug.org/texlive/trunk@42469 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, 12 insertions, 11 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 7332f007b9a..12740ede289 100644
--- a/Master/texmf-dist/doc/latex/enotez/enotez_split_example.tex
+++ b/Master/texmf-dist/doc/latex/enotez/enotez_split_example.tex
@@ -1,8 +1,8 @@
-\documentclass{scrartcl}
+\documentclass{article}
+% \documentclass{scrartcl}
% \documentclass{memoir}
-% \documentclass{article}
\usepackage[english]{babel}
-\usepackage{caption}
+% \usepackage{caption}
\usepackage[T1]{fontenc}
\usepackage{libertine}
@@ -14,21 +14,18 @@
split=section,
list-style=section,
reset,
+ backref
% customize the titles in between, e.g.:
% split-sectioning=addsec,
% split-title=\par\noindent<name> <ref>:
}
\usepackage{fnpct}
-% \AdaptNote\endnote\multendnote
\usepackage{mwe}
\usepackage[colorlinks]{hyperref}
\begin{document}
-\makeatletter
-% \texttt{\meaning\@@makecaption}
-\makeatother
\tableofcontents
@@ -38,10 +35,14 @@ 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.}.}
+ \centering
+ \includegraphics[width=.4\linewidth]{example-image-a}
+ % \addtocounter{endnote}{-1} % <<< need this in memoir class and with
+ % `caption' package when using an endnote
+ % inside a caption
+ \caption[caption]{Some text\endnotemark.}
+ \endnotetext{An endnote with a nested endnote\endnote{\kant[7]} inside a
+ figure caption.}
\end{figure}
\appendix