-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
prepreamble.tex
executable file
·91 lines (88 loc) · 2.76 KB
/
prepreamble.tex
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
\IfFileExists{stacks-project.cls}{\documentclass{stacks-project}}{\documentclass{amsart}}
%\usepackage{amsthm}
\newenvironment{UniversalProperty}{%
\begin{itemize}%
\item[\text{({\footnotesize\textsc{\textbf{UP}}})}]%
}%
{%
\end{itemize}%
}
% For dealing with references we use the comment environment
\usepackage[margin=4.5cm]{geometry}
\usepackage{verbatim}
\newenvironment{reference}{\comment}{\endcomment}
%\newenvironment{reference}{}{}
\newenvironment{slogan}{\comment}{\endcomment}
\newenvironment{history}{\comment}{\endcomment}
% We use multicol for the list of chapters between chapters
\usepackage{multicol}
\input{preamble/xcolor.tex}
% This is generally recommended for better output
\usepackage[english]{babel}
\usepackage[protrusion=true,expansion,tracking=true,babel]{microtype}
% For cross-file-references
\input{preamble/zref.tex}
\input{preamble/lengths.tex}
\input{preamble/webpreamble-refs.tex}
% Package for hypertext links:
\usepackage{hyperref}
\hypersetup{%
colorlinks,%
citecolor=TitlingRed,%
filecolor=TitlingRed,%
linkcolor=TitlingRed,%
urlcolor=TitlingRed%
}%
%%%% COMMANDS %%%%
\usepackage{amssymb}
\usepackage{minitoc}
\setcounter{minitocdepth}{2}
\newcommand{\Minitoc}{{\hypersetup{hidelinks}\minitoc}}
%%%% MATH DEFINITIONS %%%%
\usepackage{centernot}
\newcommand{\nin}{\centernot{\in}}
%
\let\originalleft\left
\let\originalright\right
\renewcommand{\left}{\mathopen{}\mathclose\bgroup\originalleft}
\renewcommand{\right}{\aftergroup\egroup\originalright}
%%%%%%
\newenvironment{webcompile}{\[}{\]}
\usepackage{mathtools}
\newcommand{\mcp}[1]{\mathclap{#1}}
\newcommand{\mrp}[1]{\mathrlap{#1}}
\newcommand{\mlp}[1]{\mathllap{#1}}
\input{preamble/todo.tex}
\usepackage{amsthm}
\usepackage[capitalise,nameinlink,noabbrev]{cleveref}
\crefname{definition}{Definition}{Definitions}
\Crefname{definition}{Definition}{Definitions}
\usepackage{xspace}
\input{preamble/amsthm.tex}
\input{preamble/tikzcd.tex}
\input{preamble/fonts.tex}
\input{preamble/cm.tex}
\input{preamble/commands.tex}
\input{preamble/biber.tex}
\input{preamble/splitindex.tex}
\setlength{\parindent}{0pt}
\input{preamble/footnotes.tex}
\input{preamble/fancyheader.tex}
\raggedbottom
\usepackage{bigfoot}
\DeclareNewFootnote{default}
\newcommand{\ChapterRef}[2]{#2}
\input{preamble/nonweb.tex}
\newcommand{\say}[1]{``#1''}
\definecolor{darkGreen}{rgb}{0.2,0.5,0.2}
\definecolor{darkRed}{rgb}{0.65,0.05,0.05}%
\setlength\premulticols{10\baselineskip}
\newcommand{\UP}{({\footnotesize\textsc{\textbf{UP}}})}
\setcounter{secnumdepth}{3}
\setcounter{tocdepth}{3}
\makeatletter
\renewcommand\thesubsubsection{\thesubsection.\ifnum\value{subsubsection}=0 \relax 1\else \arabic{subsubsection}\fi}
\makeatother
\newcommand{\ptag}[1]{\tag{#1}}
\newcommand{\norg}{}
\author{The Clowder Project Authors}