From: petterreinholdtsen Date: Sun, 9 Aug 2015 06:35:44 +0000 (+0200) Subject: Merge pull request #9 from marsgui/master X-Git-Tag: edition-2015-10-10~336 X-Git-Url: https://pere.pagekite.me/gitweb/text-free-culture-lessig.git/commitdiff_plain/c1f416f7c78ca74a2f6643a78786050a7d76ad8a?ds=sidebyside;hp=--cc Merge pull request #9 from marsgui/master Make TOC more compact + endnotes more pretty. --- c1f416f7c78ca74a2f6643a78786050a7d76ad8a diff --cc data/dblatex-endnotes.xsl index 119022f,c0ee541..5253af9 --- a/data/dblatex-endnotes.xsl +++ b/data/dblatex-endnotes.xsl @@@ -12,17 -12,12 +12,21 @@@ 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}} +% Increase footnote/endnote size to be more than 6 pts, to avoid +% complaint from Lulu about the font being too small to be printed +% clearly. Needed at least for pocket size books. +% Probably wise to use the same size as the colophon page (see myclass.cls) + +% Use one of these (adjust numbers, x, x*1.2), 6>= 6 +\def\enotesize{\normalsize} +%\def\enotesize{\fontsize{10}{12}\selectfont} + % 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. diff --cc myclass.cls index 95e2604,ff0943a..546c27e --- a/myclass.cls +++ b/myclass.cls @@@ -96,10 -91,9 +96,9 @@@ {0.75em} % space between dots [\addvspace{0pt}] - %% Redefines the headings to remove the chapter label \titleformat{\chapter}[block] -{\filcenter\huge}{\filcenter}{20pt}{\Huge} +{\filcenter\Large}{\filcenter}{20pt}{\Large} \titleformat{\section} {\filcenter\Large\bfseries}{\thesection}{1em}{}