From afc151913f3e5269fcd80419ff9b0fe06b219e61 Mon Sep 17 00:00:00 2001 From: RunasSudo Date: Mon, 22 Feb 2021 19:02:48 +1100 Subject: [PATCH] Use \raggedright for headings in PDF to avoid awkward spacing --- preamble.tex.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/preamble.tex.txt b/preamble.tex.txt index 5efe8eb..3582346 100644 --- a/preamble.tex.txt +++ b/preamble.tex.txt @@ -49,6 +49,9 @@ \geometry{paperwidth=\dimexpr\trimwidth-\gutteradd\relax,paperheight=\trimheight,margin=\stdmargin,bottom=\dimexpr\stdmargin+\bottomadd\relax} % Deduct 4mm from width to account for gutter \fi +% Heading style +\titleformat{\section}{\Large\raggedright\py@HeaderFamily}{\py@TitleColor\thesection}{0.5em}{\py@TitleColor}{\py@NormalColor} % Add \raggedright + % Footnote style \usepackage[hang,bottom]{footmisc} \setlength{\footnotemargin}{0.4cm}