\documentclass[a4paper,11pt,titlepage,numbers=noenddot,ngerman]{scrbook} %%%% Document Setup \usepackage[top=2cm,lmargin=1in,rmargin=1in,bottom=3cm,hmarginratio=1:1]{geometry} \usepackage{scrlayer-scrpage} \usepackage[ngerman]{babel} \babeltags{german=ngerman} \usepackage{anyfontsize} \usepackage{mathtools} \usepackage[warnings-off={mathtools-colon,mathtools-overbracket}]{unicode-math} % \setmathfont[math-style=ISO,version=normal]{Latin Modern Math} % \setmathfont[version=bold,math-style=ISO,FakeBold = 3]{Latin Modern Math} % \setmathfont[range={\mathcal,\mathbfcal},StylisticSet=1]{XITS Math} % \setmathfont[range=\mathscr]{XITS Math} \usepackage{amsmath} \usepackage{stmaryrd} % \usepackage{mathrsfs} \usepackage{booktabs} \usepackage[scale=.85]{noto-mono} % TODO find better unicode mono font \usepackage[final]{hyperref} \usepackage{scrhack} \automark{chapter} \renewcommand{\sectionmark}[1]{\markright{\thesection\ #1}} \renewcommand{\subsectionmark}[1]{\markright{\thesubsection\ #1}} \pagestyle{scrheadings} \newcounter{resumeenum} % for resuming enumerated lists, https://tex.stackexchange.com/a/1702 \usepackage{catprog} \usepackage{multicol} \usepackage[moderate, title=tight, bibliography=tight, margins=tight]{savetrees} %%%% %%%% Metadata \newcommand{\DocTitle}{Zusammenfassung} \newcommand{\UniCourse}{(Mengentheoretische) Topologie} \newcommand{\UniProf}{Dr.\ Kang Li} \author{Leon Vatthauer} %%%% %%%% Title \title{ \vspace{2in} \textmd{\textbf{\UniCourse\\\DocTitle}}\\ \vspace{0.1in}\large{Gehalten von \textit{\UniProf\ }} \vspace{3in} } %%%% %%%% Spacing % \setlength{\parindent}{0pt} % \setlength{\parskip}{6pt} % \setlength{\marginparsep}{0cm} %%%% %%%% Math packages \usepackage{amsthm} \usepackage{thmtools} \usepackage{tikz} \usetikzlibrary{cd, babel, quotes} \usepackage{quiver} \declaretheorem[name=Definition,style=definition,numberwithin=section]{definition} \declaretheorem[name=Beispiel,style=definition,sibling=definition]{example} \declaretheorem[style=definition,numbered=no]{exercise} \declaretheorem[name=Bemerkung,style=definition,sibling=definition]{remark} \declaretheorem[name=Annahme,style=definition,sibling=definition]{assumption} \declaretheorem[name=Beobachtung,style=definition,sibling=definition]{observation} \declaretheorem[name=Satz,sibling=definition]{theorem} \declaretheorem[sibling=definition]{corollary} \declaretheorem[name=FaktFact,sibling=definition]{fact} \declaretheorem[sibling=definition]{lemma} \declaretheorem[sibling=lemma]{proposition} %%%% %%%% href \makeatletter \hypersetup{ pdfauthor={\@author}, pdftitle={\UniCourse}, % kill those ugly red rectangles around links hidelinks, } \makeatother %%%% %%%% Bibliography \usepackage[style=ieee, sorting=ynt, language=ngerman]{biblatex} % advanced citations, british to make dates DD-MM-YYYY \usepackage{csquotes} % biblatex recommended to load this \addbibresource{bib.bib} %%%% %%%% Custom definitions: Commands and environments %%% Case distinction environment % Defines the `mycase` environment, copied from https://tex.stackexchange.com/questions/251053/how-to-use-case-1-case-2-in-a-proof-ieee-confs \newcounter{cases} \newcounter{subcases}[cases] \newenvironment{mycase} { \setcounter{cases}{0} \setcounter{subcases}{0} \newcommand{\case} { \par\indent\stepcounter{cases}\textbf{Fall \thecases.} } \newcommand{\subcase} { \par\indent\stepcounter{subcases}\textit{Fall (\thesubcases):} } } { \par } \renewcommand*\thecases{\arabic{cases}} \renewcommand*\thesubcases{\roman{subcases}} %%% %%% Custom label command \makeatletter \newcommand{\customlabel}[2]{% \protected@write \@auxout {}{\string \newlabel {#1}{{#2}{\thepage}{#2}{#1}{}} }% chktex 1 \hypertarget{#1}{#2}% } \makeatother %%% %%% Unicode substitutions \def\circlearrowleft{↺} %%% %%%% \begin{document} \selectlanguage{ngerman} %% Titlepage \maketitle \thispagestyle{empty} \null\newpage \setcounter{page}{1} %% %% TOC \tableofcontents %% %% Contents \include{sections/01_topräume} \include{sections/02_zusammenhang} \include{sections/03_konstruktion} \include{sections/04_kompaktheit} %% \appendix \emergencystretch=1em % \printbibliography[heading=bibintoc]{} \end{document}