2018-03-29 11:32:06 +00:00
|
|
|
|
\usepackage[utf8]{inputenc}
|
|
|
|
|
|
|
|
|
|
\usepackage{natbib}
|
2018-05-10 11:09:25 +00:00
|
|
|
|
\bibliographystyle{plain}
|
|
|
|
|
|
2018-05-15 15:11:01 +00:00
|
|
|
|
\usepackage{xcolor}
|
2018-04-25 06:21:45 +00:00
|
|
|
|
\usepackage[
|
2018-05-15 15:11:01 +00:00
|
|
|
|
%% hidelinks,
|
2018-04-25 06:21:45 +00:00
|
|
|
|
pdfusetitle,
|
|
|
|
|
pdfsubject={category theory},
|
|
|
|
|
pdfkeywords={type theory, homotopy theory, category theory, agda}]
|
|
|
|
|
{hyperref}
|
2018-05-15 15:11:01 +00:00
|
|
|
|
\definecolor{darkorange}{HTML}{ff8c00}
|
|
|
|
|
\hypersetup{allbordercolors={darkorange}}
|
2018-03-29 11:32:06 +00:00
|
|
|
|
\usepackage{graphicx}
|
|
|
|
|
|
|
|
|
|
\usepackage{parskip}
|
|
|
|
|
\usepackage{multicol}
|
2018-04-23 15:06:09 +00:00
|
|
|
|
\usepackage{amssymb,amsmath,amsthm,stmaryrd,mathrsfs,wasysym}
|
2018-03-29 11:32:06 +00:00
|
|
|
|
\usepackage[toc,page]{appendix}
|
|
|
|
|
\usepackage{xspace}
|
2018-05-10 12:10:11 +00:00
|
|
|
|
\usepackage[a4paper,top=3cm,bottom=3cm]{geometry}
|
2018-05-09 16:13:36 +00:00
|
|
|
|
\usepackage{makeidx}
|
|
|
|
|
\makeindex
|
2018-03-29 11:32:06 +00:00
|
|
|
|
% \setlength{\parskip}{10pt}
|
|
|
|
|
|
|
|
|
|
% \usepackage{tikz}
|
|
|
|
|
% \usetikzlibrary{arrows, decorations.markings}
|
|
|
|
|
|
|
|
|
|
% \usepackage{chngcntr}
|
|
|
|
|
% \counterwithout{figure}{section}
|
2018-05-01 16:55:28 +00:00
|
|
|
|
\numberwithin{equation}{section}
|
2018-03-29 11:32:06 +00:00
|
|
|
|
|
|
|
|
|
\usepackage{listings}
|
|
|
|
|
\usepackage{fancyvrb}
|
|
|
|
|
|
2018-04-23 15:06:09 +00:00
|
|
|
|
\usepackage{mathpazo}
|
|
|
|
|
\usepackage[scaled=0.95]{helvet}
|
|
|
|
|
\usepackage{courier}
|
|
|
|
|
\linespread{1.05} % Palatino looks better with this
|
|
|
|
|
|
2018-04-26 08:22:15 +00:00
|
|
|
|
\usepackage{lmodern}
|
|
|
|
|
|
2018-05-07 22:25:34 +00:00
|
|
|
|
\usepackage{enumerate}
|
2018-05-08 14:22:51 +00:00
|
|
|
|
\usepackage{verbatim}
|
2018-05-07 22:25:34 +00:00
|
|
|
|
|
2018-03-29 11:32:06 +00:00
|
|
|
|
\usepackage{fontspec}
|
2018-05-02 11:13:09 +00:00
|
|
|
|
\usepackage[light]{sourcecodepro}
|
2018-04-26 08:22:15 +00:00
|
|
|
|
%% \setmonofont{Latin Modern Mono}
|
|
|
|
|
%% \setmonofont[Mapping=tex-text]{FreeMono.otf}
|
2018-04-23 15:06:09 +00:00
|
|
|
|
%% \setmonofont{FreeMono.otf}
|
|
|
|
|
|
|
|
|
|
|
2018-05-08 00:00:23 +00:00
|
|
|
|
%% \pagestyle{fancyplain}
|
2018-04-23 15:06:09 +00:00
|
|
|
|
\setlength{\headheight}{15pt}
|
|
|
|
|
\renewcommand{\chaptermark}[1]{\markboth{\textsc{Chapter \thechapter. #1}}{}}
|
|
|
|
|
\renewcommand{\sectionmark}[1]{\markright{\textsc{\thesection\ #1}}}
|
2018-04-26 08:22:15 +00:00
|
|
|
|
|
|
|
|
|
% Allows for the use of unicode-letters:
|
|
|
|
|
\usepackage{unicode-math}
|
|
|
|
|
|
|
|
|
|
%% \RequirePackage{kvoptions}
|
2018-05-07 22:25:34 +00:00
|
|
|
|
|
|
|
|
|
\usepackage{pgffor}
|
2018-05-08 14:22:51 +00:00
|
|
|
|
\lstset
|
|
|
|
|
{basicstyle=\ttfamily
|
|
|
|
|
,columns=fullflexible
|
|
|
|
|
,breaklines=true
|
|
|
|
|
,inputencoding=utf8
|
|
|
|
|
,extendedchars=true
|
|
|
|
|
%% ,literate={á}{{\'a}}1 {ã}{{\~a}}1 {é}{{\'e}}1
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
\usepackage{newunicodechar}
|
|
|
|
|
|
|
|
|
|
%% \setmainfont{PT Serif}
|
|
|
|
|
\newfontfamily{\fallbackfont}{FreeMono.otf}[Scale=MatchLowercase]
|
|
|
|
|
%% \setmonofont[Mapping=tex-text]{FreeMono.otf}
|
|
|
|
|
\DeclareTextFontCommand{\textfallback}{\fallbackfont}
|
|
|
|
|
\newunicodechar{∨}{\textfallback{∨}}
|
|
|
|
|
\newunicodechar{∧}{\textfallback{∧}}
|
|
|
|
|
\newunicodechar{⊔}{\textfallback{⊔}}
|
|
|
|
|
\newunicodechar{≊}{\textfallback{≊}}
|
|
|
|
|
\newunicodechar{∈}{\textfallback{∈}}
|
|
|
|
|
\newunicodechar{ℂ}{\textfallback{ℂ}}
|
|
|
|
|
\newunicodechar{∘}{\textfallback{∘}}
|
|
|
|
|
\newunicodechar{⟨}{\textfallback{⟨}}
|
|
|
|
|
\newunicodechar{⟩}{\textfallback{⟩}}
|
|
|
|
|
\newunicodechar{∎}{\textfallback{∎}}
|
|
|
|
|
\newunicodechar{𝒜}{\textfallback{?}}
|
|
|
|
|
\newunicodechar{ℬ}{\textfallback{?}}
|
|
|
|
|
%% \newunicodechar{≊}{\textfallback{≊}}
|
2018-05-10 12:10:11 +00:00
|
|
|
|
\makeatletter
|
|
|
|
|
\newcommand*{\rom}[1]{\expandafter\@slowroman\romannumeral #1@}
|
|
|
|
|
\makeatother
|
|
|
|
|
\makeatletter
|
|
|
|
|
|
|
|
|
|
\newcommand\frontmatter{%
|
|
|
|
|
\cleardoublepage
|
|
|
|
|
%\@mainmatterfalse
|
|
|
|
|
\pagenumbering{roman}}
|
|
|
|
|
|
|
|
|
|
\newcommand\mainmatter{%
|
|
|
|
|
\cleardoublepage
|
|
|
|
|
% \@mainmattertrue
|
|
|
|
|
\pagenumbering{arabic}}
|
|
|
|
|
|
|
|
|
|
\newcommand\backmatter{%
|
|
|
|
|
\if@openright
|
|
|
|
|
\cleardoublepage
|
|
|
|
|
\else
|
|
|
|
|
\clearpage
|
|
|
|
|
\fi
|
|
|
|
|
% \@mainmatterfalse
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
\makeatother
|
2018-05-15 14:08:29 +00:00
|
|
|
|
\usepackage{xspace}
|