summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/enotez/enotez_split_example.tex
diff options
context:
space:
mode:
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.tex25
1 files changed, 17 insertions, 8 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 13d1da6e65e..f84f22b8c60 100644
--- a/Master/texmf-dist/doc/latex/enotez/enotez_split_example.tex
+++ b/Master/texmf-dist/doc/latex/enotez/enotez_split_example.tex
@@ -1,7 +1,8 @@
-\documentclass{scrartcl}
-% \documentclass{memoir}
+% \documentclass{scrartcl}
+\documentclass{memoir}
% \documentclass{article}
-% \usepackage{caption}
+\usepackage[english]{babel}
+\usepackage{caption}
\usepackage[T1]{fontenc}
\usepackage{libertine}
@@ -9,20 +10,28 @@
\usepackage{kantlipsum}
\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>:
+ split=section,
+ list-style=section,
+ reset,
+% customize the titles in between, e.g.:
+% split-sectioning=addsec,
+% split-title=\par\noindent<name> <ref>:
}
\usepackage{fnpct}
-\AdaptNote\endnote\multendnote
+% \AdaptNote\endnote\multendnote
\usepackage{mwe}
\usepackage[colorlinks]{hyperref}
\begin{document}
+\makeatletter
+% \texttt{\meaning\@@makecaption}
+\makeatother
+
+\tableofcontents
+
\section{Test}
Text\endnote{\kant[1]}. Text\endnote{\kant[2]}. Text\endnote{This time
with a \textbf{nested}\multendnote{\kant[3];\kant[4]} endnote.}.