2024-12-11 22:14:25 +01:00
|
|
|
% main.tex
|
|
|
|
|
|
|
|
% Set the document language to English
|
|
|
|
\usepackage[english]{babel}
|
2025-03-27 09:59:17 +01:00
|
|
|
% \usepackage[utf8]{inputenc}
|
|
|
|
% \DeclareUnicodeCharacter{21D2}{$\Rightarrow$}
|
2024-12-11 22:14:25 +01:00
|
|
|
|
|
|
|
% Adjust page geometry
|
|
|
|
\usepackage[
|
|
|
|
a4paper, inner=1.5cm, outer=1.5cm, top=2cm, bottom=2cm,
|
|
|
|
% bindingoffset=0.5cm
|
|
|
|
]{geometry}
|
|
|
|
|
|
|
|
% Configure headers and footers using scrlayer-scrpage
|
|
|
|
\usepackage[automark,headsepline,footsepline]{scrlayer-scrpage}
|
|
|
|
\clearpairofpagestyles
|
|
|
|
\ohead{\headmark}
|
|
|
|
\ofoot{\pagemark}
|
|
|
|
\pagestyle{scrheadings}
|
|
|
|
|
|
|
|
|
|
|
|
% Include additional settings from external files
|
|
|
|
% \input{inline_code.tex}
|
|
|
|
% \input{bullet_styling.tex}
|
2024-12-12 09:19:18 +01:00
|
|
|
\input{utils/docs/chapter_breaks.tex}
|
|
|
|
\input{utils/docs/blockquote.tex}
|
|
|
|
\input{utils/docs/hyperref_setup.tex}
|
2024-12-11 22:14:25 +01:00
|
|
|
|
|
|
|
% Font settings using fontspec
|
2025-03-27 09:59:17 +01:00
|
|
|
\usepackage{fontspec}
|
2024-12-11 22:14:25 +01:00
|
|
|
% \setmainfont{DejaVu Serif} % Set your main font
|
|
|
|
% \setmonofont{SauceCodePro Nerd Font} % Set your monospace (code) font
|