From: ben Date: Wed, 2 Sep 2015 20:41:14 +0000 (+0200) Subject: Grouping endnotes with a global counter. X-Git-Tag: edition-2015-10-10~209^2 X-Git-Url: https://pere.pagekite.me/gitweb/text-free-culture-lessig.git/commitdiff_plain/9718b034679b82c75ce34c51515ed9bfaa74a5a6?ds=sidebyside Grouping endnotes with a global counter. --- 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}