From: ben Date: Sat, 8 Aug 2015 12:19:18 +0000 (+0200) Subject: Format more pretty endnotes. X-Git-Tag: edition-2015-10-10~336^2~1 X-Git-Url: https://pere.pagekite.me/gitweb/text-free-culture-lessig.git/commitdiff_plain/341b8518dff4e68e4d8f033681313cb95102da00?ds=sidebyside Format more pretty endnotes. --- diff --git a/data/dblatex-endnotes.xsl b/data/dblatex-endnotes.xsl index e212b4d..c0ee541 100644 --- a/data/dblatex-endnotes.xsl +++ b/data/dblatex-endnotes.xsl @@ -12,17 +12,17 @@ in front of it. \usepackage{endnotes} \let\footnote=\endnote -\def\enoteheading{\mbox{}\par\vskip-\baselineskip } +\def\enoteheading{\mbox{}\par\vskip-0.2\baselineskip } + +% More pretty looking note +\def\enoteformat{\rightskip=0pt \leftskip=21pt \parindent=-13pt +\leavevmode\llap{\makeenmark}\hspace*{11pt}} % Trick to avoid many words sticking out of the right margin of the text. % Need to add it here with the end notes, as only one % latex.begindocument can be active. \sloppy -% Hack to get correct chapter numbering with dblatex, as chapter -% labels are ignored. -\setcounter{chapter}{-1} - \begin{document}