Style
This commit is contained in:
@@ -21,7 +21,7 @@
|
||||
\usepackage[english]{babel} % Typographical rules
|
||||
\usepackage{microtype} % Micro-typography improvements (slightly more compact, better to read)
|
||||
|
||||
% Use sans-serif font for sections
|
||||
% Fonts: Use sans-serif for sections
|
||||
\usepackage{titlesec}
|
||||
\titleformat{\part}[display]{\normalfont\Huge\sffamily\bfseries\centering}{\partname\ \thepart}{20pt}{}
|
||||
\titleformat{\chapter}[display]{\normalfont\Huge\sffamily\bfseries}{\chaptertitlename\ \thechapter}{10pt}{}
|
||||
@@ -30,9 +30,7 @@
|
||||
\titleformat{\subsubsection}{\normalfont\normalsize\sffamily\bfseries}{\thesubsubsection}{1em}{}
|
||||
\titleformat{\paragraph}[runin]{\normalfont\normalsize\sffamily\bfseries}{\theparagraph}{1em}{}
|
||||
|
||||
\setcounter{secnumdepth}{3} % Number subsubsections
|
||||
|
||||
% Parts and chapters
|
||||
% Parts, chapters and sections
|
||||
\NewCommandCopy{\oldchapter}{\chapter}
|
||||
\RenewDocumentCommand{\chapter}{s o m}{% #1 = star (no number), #2 = short title, #3 = title
|
||||
\IfBooleanTF{#1}{%
|
||||
@@ -57,6 +55,8 @@
|
||||
\includefrom{#1}{#2}% Include with relative paths \input in the chapter
|
||||
}
|
||||
|
||||
\setcounter{secnumdepth}{3} % Number subsubsections
|
||||
|
||||
% Headers
|
||||
\usepackage{emptypage} % Remove headers and footers on empty pages
|
||||
\usepackage{etoolbox} % Patching commands
|
||||
|
||||
Reference in New Issue
Block a user