From 9718b034679b82c75ce34c51515ed9bfaa74a5a6 Mon Sep 17 00:00:00 2001 From: ben Date: Wed, 2 Sep 2015 22:41:14 +0200 Subject: [PATCH] Grouping endnotes with a global counter. --- data/pdf.xsl | 27 +++++++++++++++++++++------ myclass.cls | 16 ++++++++++++++++ 2 files changed, 37 insertions(+), 6 deletions(-) diff --git a/data/pdf.xsl b/data/pdf.xsl index 6df6e2b..a924459 100644 --- a/data/pdf.xsl +++ b/data/pdf.xsl @@ -57,8 +57,10 @@ - - + + + - - \footnotesize - - + + \footnotesize + + + + + + + + + + + + + + + diff --git a/myclass.cls b/myclass.cls index 7b2cd40..912b55b 100644 --- a/myclass.cls +++ b/myclass.cls @@ -108,6 +108,22 @@ \titleformat{\subsection} {\filcenter\large\bfseries}{\thesubsection}{1em}{} +%% New header, behaving like a section but formatted differently +\titleclass{\enoteheader}{straight}[\chapter] +\newcounter{enoteheader} +\renewcommand{\theenoteheader}{\Alph{enoteheader}} + +\titleformat{\enoteheader} +{\normalfont\large}{}{0pt}{} +\titlespacing*{\enoteheader}{0pt}{2.5ex plus 1ex minus .2ex}{1.3ex plus .2ex} + +\dottedcontents{enoteheader} % +[0em] % was (3.8) +{\addvspace{0pt}} % +{2.3em} % tab +{0.75em} % space between dots +[\addvspace{0pt}] + %% New header, behaving like a chapter but formatted differently \titleclass{\lotheader}{top}[\part] \newcounter{lotheader} -- 2.47.2