From 8a7a886e1fe81b68448a2a826e129e7a8633d98c Mon Sep 17 00:00:00 2001 From: Erwan Normand Date: Thu, 26 Sep 2024 18:23:11 +0200 Subject: [PATCH] Fix font of \part --- config/template.tex | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/config/template.tex b/config/template.tex index 7d235f7..0abf3f5 100644 --- a/config/template.tex +++ b/config/template.tex @@ -23,7 +23,8 @@ % Use sans-serif font for sections \usepackage{titlesec} -\titleformat{\chapter}[display]{\normalfont\LARGE\sffamily\bfseries}{\chaptertitlename\ \thechapter}{20pt}{\Huge} +\titleformat{\part}[display]{\normalfont\Huge\sffamily\bfseries\centering}{\partname\ \thepart}{20pt}{} +\titleformat{\chapter}[display]{\normalfont\Huge\sffamily\bfseries}{\chaptertitlename\ \thechapter}{10pt}{} \titleformat{\section}{\normalfont\Large\sffamily\bfseries}{\thesection}{1em}{} \titleformat{\subsection}{\normalfont\large\sffamily\bfseries}{\thesubsection}{1em}{} \titleformat{\subsubsection}{\normalfont\normalsize\sffamily\bfseries}{\thesubsubsection}{1em}{}