Use \raggedright for headings in PDF to avoid awkward spacing
This commit is contained in:
parent
f3ea38e9db
commit
afc151913f
@ -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
|
\geometry{paperwidth=\dimexpr\trimwidth-\gutteradd\relax,paperheight=\trimheight,margin=\stdmargin,bottom=\dimexpr\stdmargin+\bottomadd\relax} % Deduct 4mm from width to account for gutter
|
||||||
\fi
|
\fi
|
||||||
|
|
||||||
|
% Heading style
|
||||||
|
\titleformat{\section}{\Large\raggedright\py@HeaderFamily}{\py@TitleColor\thesection}{0.5em}{\py@TitleColor}{\py@NormalColor} % Add \raggedright
|
||||||
|
|
||||||
% Footnote style
|
% Footnote style
|
||||||
\usepackage[hang,bottom]{footmisc}
|
\usepackage[hang,bottom]{footmisc}
|
||||||
\setlength{\footnotemargin}{0.4cm}
|
\setlength{\footnotemargin}{0.4cm}
|
||||||
|
Loading…
Reference in New Issue
Block a user