]> pere.pagekite.me Git - text-free-culture-lessig.git/blobdiff - myclass.cls
Grouping endnotes with a global counter.
[text-free-culture-lessig.git] / myclass.cls
index 7b2cd40d940ecd80f6c1faad9643506c23218734..912b55b8a86c2a70bbe1638b203bedb8374e8e78 100644 (file)
 \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}