From: Petter Reinholdtsen Date: Sun, 25 Oct 2020 13:34:01 +0000 (+0100) Subject: Tell LaTeX to not right alight chapter titles. X-Git-Tag: nb-printed-2020-11-13~72 X-Git-Url: https://pere.pagekite.me/gitweb/text-madewithcc.git/commitdiff_plain/defa3be63e37470e21ae21d952d493eff5325d0b?ds=inline;hp=64ffb5e5a5a917d17fcc7edd9e1b5341eae2189a Tell LaTeX to not right alight chapter titles. --- diff --git a/extra/pdf.xsl b/extra/pdf.xsl index 7115fac..16d90a3 100644 --- a/extra/pdf.xsl +++ b/extra/pdf.xsl @@ -36,6 +36,20 @@ % Note, only one latex.begindocument can be active. \sloppy +\usepackage{titlesec} + +\titleformat{\chapter}[display] + {\raggedright\Huge} + {} + {0pt} + {\thechapter.\ } + +\titleformat{name=\chapter,numberless}[display] + {\raggedright\Huge} + {} + {0pt} + {} + \begin{document}