% LTeX: enabled=false
\documentclass[a5paper,11pt,pagesize]{scrbook}

\KOMAoptions{
    numbers=noenddot,
    chapterprefix
}
\setlength{\footskip}{2.5em}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[english]{babel}

\usepackage{scrlayer-scrpage}

\usepackage[hidelinks]{hyperref}
\hypersetup{pdfpagelayout=TwoColumnRight,pdfstartview={XYZ null null 1.00}}


\usepackage[a5paper,bottom=2.2cm,hmarginratio=2:3,textwidth=10.5cm]{geometry}

\usepackage{graphicx}

\usepackage{setspace}

\raggedbottom

\usepackage{microtype}

\usepackage{anyfontsize}

\usepackage[osf]{ETbb}
\let\oldstylenums\textosf
% load after ETbb for arcane dependecy reasons
\usepackage{biolinum}

\usepackage{calligra} % Copperplate
\usepackage{yfonts} % Wanted gothic
\usepackage{sqrcaps}

\usepackage{aurical}

\addtokomafont{chapter}{\scshape}
\renewcommand*{\chapterheadmidvskip}{\par\nobreak\vspace{0em}}
\newcommand{\clearpart}[1]{\cleardoubleevenpage\part{#1}}

\renewcommand\chapterpagestyle{plain}
\renewcommand\partpagestyle{empty}
\setkomafont{pagehead}{\footnotesize\sffamily\itshape}
\ihead[]{}
\ohead[]{}
\cehead[]{DB -- Lost Mine of Phandelver}
\cohead[]{\leftmark}
\ofoot[]{}
\cfoot[\thepage]{\thepage}

\title{DBCommunity -- Lost Mine of Phandelver}
\author{\texttt{HeNine}}
\date{}



\usepackage{color}
\newcommand{\tochange}[1]{\textcolor{red}{#1}}



\begin{document}
\fontdimen2\font=1.25\fontdimen2\font

\pagestyle{scrheadings}


\frontmatter

\maketitle

\tableofcontents

\mainmatter

\include{part_1_goblin_arrows}
\include{part_2_phandalin}
\include{part_3_the_spiders_web}
% \include{part_4_wave_echo_cave}

\end{document}
