diff --git a/notes/sections/0.md b/notes/sections/0.md index 034c0e4..f48ce88 100644 --- a/notes/sections/0.md +++ b/notes/sections/0.md @@ -10,6 +10,8 @@ lang: en-GB numbersections: true fontsize: 12pt documentclass: article +classoption: + - twoside geometry: - width=150mm - top=20mm @@ -30,15 +32,20 @@ header-includes: | \floatplacement{figure}{H} + %% colors + \definecolor{cyclamen}{RGB}{146,24,43} + \definecolor{brick}{RGB}{160,54,35} + + %% customer macros % "with" in formulas \DeclareMathOperator{\with}{% - \hspace{30pt} \text{with} \hspace{30pt} + \hspace{30pt} \text{with} \hspace{30pt} } % "thus" in formulas \DeclareMathOperator{\thus}{% - \hspace{30pt} \Longrightarrow \hspace{30pt} + \hspace{30pt} \Longrightarrow \hspace{30pt} } % "et" in formulas @@ -58,8 +65,9 @@ header-includes: | % average value with angle brakets \newcommand{\avg}[1]{\langle#1\rangle} + % book cover - \makeatletter + \makeatletter \renewcommand\maketitle{ \begin{titlepage} \begin{center} @@ -91,6 +99,18 @@ header-includes: | \captionsetup{font={footnotesize,it}} \captionsetup{width=11cm} \usepackage{stmaryrd} + + % configure head/footers + \usepackage{fancyhdr} + \pagestyle{fancy} + \renewcommand{\sectionmark}[1]{\markboth{#1}{}} % no section number + \renewcommand{\headrule}{\hbox to\headwidth{% + \color{brick}\leaders\hrule height 0.8pt\hfill}} + \renewcommand{\footrule}{\hbox to\headwidth{% + \color{gray}\leaders\hrule height 0.8pt\hfill}} + \fancyfoot{} + \fancyfoot[LO,RE]{\vspace{2mm}Giulia Marcer, Michele Guerini Rocco} + \fancyfoot[RO,LE]{\vspace{2mm}\thepage} ``` bibliography: docs/bibliography.bib