diff options
Diffstat (limited to 'build/preamble.tex')
-rw-r--r-- | build/preamble.tex | 253 |
1 files changed, 253 insertions, 0 deletions
diff --git a/build/preamble.tex b/build/preamble.tex new file mode 100644 index 0000000..b996382 --- /dev/null +++ b/build/preamble.tex | |||
@@ -0,0 +1,253 @@ | |||
1 | \documentclass[14pt,preview,border=1pt,class=extarticle]{standalone} | ||
2 | |||
3 | \usepackage{amssymb} | ||
4 | \usepackage{amsmath} | ||
5 | \usepackage{etoolbox} | ||
6 | |||
7 | \usepackage{tikz} | ||
8 | \usetikzlibrary{arrows,decorations.markings,chains,calc,matrix} | ||
9 | \usepackage{tikz-cd} | ||
10 | \tikzset{>=cm to} | ||
11 | |||
12 | \usepackage{mathtools} | ||
13 | |||
14 | \undef\Re | ||
15 | \undef\Im | ||
16 | |||
17 | \DeclareMathOperator{\colim}{\textnormal{colim}} | ||
18 | \DeclareMathOperator{\Spec}{\textnormal{Spec}} | ||
19 | \DeclareMathOperator{\im}{\textnormal{im}} | ||
20 | \DeclareMathOperator{\Sing}{\textnormal{Sing}} | ||
21 | \DeclareMathOperator{\Map}{\textnormal{Map}} | ||
22 | \DeclareMathOperator{\InnHom}{\textnormal{\textbf{Hom}}} | ||
23 | \DeclareMathOperator{\Hom}{\textnormal{Hom}} | ||
24 | \undef\hom | ||
25 | \DeclareMathOperator{\hom}{\textnormal{hom}} | ||
26 | \DeclareMathOperator{\nerve}{\textnormal{N}} | ||
27 | \DeclareMathOperator{\simpnerve}{\textnormal{sN}} | ||
28 | \DeclareMathOperator{\core}{\textnormal{Core}} | ||
29 | \DeclareMathOperator{\id}{\textnormal{id}} | ||
30 | \undef\lim | ||
31 | \DeclareMathOperator{\lim}{\textnormal{lim}} | ||
32 | \DeclareMathOperator{\Op}{\textnormal{op}} | ||
33 | \DeclareMathOperator{\yon}{\textnormal{y}} | ||
34 | \DeclareMathOperator{\HomL}{\textnormal{\textbf{Hom}}^{\textnormal{L}}} | ||
35 | \DeclareMathOperator{\sk}{\textnormal{sk}} | ||
36 | \DeclareMathOperator{\cosk}{\textnormal{cosk}} | ||
37 | \DeclareMathOperator{\thom}{\textnormal{Th}} | ||
38 | \DeclareMathOperator{\Bl}{\textnormal{Bl}} | ||
39 | \DeclareMathOperator{\Stab}{\textnormal{Stab}} | ||
40 | |||
41 | \newcommand*{\alg}[1]{\ensuremath{\overline{#1}}\xspace} | ||
42 | \newcommand*{\sep}[1]{\ensuremath{#1^{\textnormal{sep}}}\xspace} | ||
43 | \newcommand*{\ab}[1]{\ensuremath{#1^{\textnormal{ab}}}\xspace} | ||
44 | \newcommand*{\units}[1]{\ensuremath{#1^\times}\xspace} | ||
45 | \newcommand*{\lapl}{\Delta} | ||
46 | \newcommand*{\grad}{\nabla} | ||
47 | \newcommand*{\op}[1]{\ensuremath{#1^{\textnormal{op}}}\xspace} | ||
48 | \newcommand*{\codiag}[1]{\ensuremath{\nabla\mkern-3mu_{#1}}\xspace} | ||
49 | \newcommand*{\diag}[1]{\ensuremath{\Delta_{#1}}\xspace} | ||
50 | |||
51 | \newcommand*{\cech}{\v{C}ech\xspace} | ||
52 | \newcommand*{\mc}{\operatorname{\textnormal{\v{C}}}} | ||
53 | |||
54 | \newcommand*{\normal}{\lhd} | ||
55 | \newcommand*{\isom}{\cong} | ||
56 | \newcommand*{\homot}{\sim} | ||
57 | \newcommand*{\cequiv}{\simeq} | ||
58 | |||
59 | \makeatletter | ||
60 | \let\@oldsubset=\subset | ||
61 | \def\@subsethelper#1#2{\mathrel{\raisebox{.5pt}{$#1\@oldsubset$}}\xspace} | ||
62 | \DeclareRobustCommand*{\subset}{\mathpalette\@subsethelper\relax} | ||
63 | |||
64 | \let\@oldotimes=\otimes | ||
65 | \def\@otimeshelper#1#2{\mathrel{\raisebox{.5pt}{$#1\@oldotimes$}}\xspace} | ||
66 | \DeclareRobustCommand*{\otimes}{\mathpalette\@otimeshelper\relax} | ||
67 | \makeatother | ||
68 | |||
69 | \tikzset{/tikz/commutative diagrams/arrows={thin}} | ||
70 | |||
71 | \makeatletter | ||
72 | \newbox\@xrat | ||
73 | \renewcommand*{\xrightarrow}[2][-cm to]{% | ||
74 | \setbox\@xrat=\hbox{\ensuremath{\scriptstyle #2}} | ||
75 | \pgfmathsetlengthmacro{\@xratlen}{max(1.6em,\wd\@xrat+.6em)} | ||
76 | \pgfmathsetlengthmacro{\@xratinnersep}{.5ex-\dp\@xrat} | ||
77 | \mathrel{\tikz [#1,baseline=-.6ex] | ||
78 | \draw (0,0) -- node[auto,inner sep=\@xratinnersep] {\box\@xrat} (\@xratlen,0) ;}} | ||
79 | \renewcommand*{\xleftarrow}[2][cm to-]{% | ||
80 | \setbox\@xrat=\hbox{\ensuremath{\scriptstyle #2}} | ||
81 | \pgfmathsetlengthmacro{\@xratlen}{max(1.6em,\wd\@xrat+.6em)} | ||
82 | \pgfmathsetlengthmacro{\@xratinnersep}{.5ex-\dp\@xrat} | ||
83 | \mathrel{\tikz [#1,baseline=-.6ex] | ||
84 | \draw (0,0) -- node[auto,inner sep=\@xratinnersep] {\box\@xrat} (\@xratlen,0) ;}} | ||
85 | \newcommand*{\xrightarrowb}[2][-cm to]{% | ||
86 | \setbox\@xrat=\hbox{\ensuremath{\scriptstyle #2}} | ||
87 | \pgfmathsetlengthmacro{\@xratlen}{max(1.6em,\wd\@xrat+.6em)} | ||
88 | \pgfmathsetlengthmacro{\@xratinnersep}{.5ex} | ||
89 | \mathrel{\tikz [#1,baseline=-.6ex] | ||
90 | \draw (0,0) -- node[auto,inner sep=\@xratinnersep] {\box\@xrat} (\@xratlen,0) ;}} | ||
91 | \newcommand*{\xleftarrowb}[2][cm to-]{% | ||
92 | \setbox\@xrat=\hbox{\ensuremath{\scriptstyle #2}} | ||
93 | \pgfmathsetlengthmacro{\@xratlen}{max(1.6em,\wd\@xrat+.6em)} | ||
94 | \pgfmathsetlengthmacro{\@xratinnersep}{.5ex} | ||
95 | \mathrel{\tikz [#1,baseline=-.6ex] | ||
96 | \draw (0,0) -- node[auto,inner sep=\@xratinnersep] {\box\@xrat} (\@xratlen,0) ;}} | ||
97 | |||
98 | \pgfarrowsdeclare{my right hook}{my right hook} | ||
99 | { | ||
100 | \arrowsize=0.2pt | ||
101 | \advance\arrowsize by .5\pgflinewidth | ||
102 | \pgfarrowsleftextend{-.5\pgflinewidth} | ||
103 | \pgfarrowsrightextend{3.5\arrowsize+.5\pgflinewidth} | ||
104 | } | ||
105 | { | ||
106 | \arrowsize=0.2pt | ||
107 | \advance\arrowsize by .5\pgflinewidth | ||
108 | \pgfsetdash{}{0pt} % do not dash | ||
109 | \pgfsetroundjoin % fix join | ||
110 | \pgfsetroundcap % fix cap | ||
111 | \pgfpathmoveto{\pgfpoint{0\arrowsize}{-7\arrowsize}} | ||
112 | \pgfpatharc{-90}{90}{3.5\arrowsize} | ||
113 | \pgfusepathqstroke | ||
114 | } | ||
115 | |||
116 | \tikzset{% | ||
117 | iso/.style={above,sloped,inner sep=0}, | ||
118 | iso'/.style={below,sloped,inner sep=0}, | ||
119 | to/.style={-cm to}, | ||
120 | onto/.style={-cm double to}, | ||
121 | into/.style={my right hook-cm to}, | ||
122 | mapsto/.style={|-cm to}, | ||
123 | clim/.style={decoration={markings, | ||
124 | mark=at position#1 with {\draw[-] (0,-3\pgflinewidth) -- (0,3\pgflinewidth);}}, | ||
125 | postaction=decorate}, | ||
126 | clim/.default=0.5, | ||
127 | opim/.style={decoration={markings, | ||
128 | mark=at position#1 with {\draw[-] circle(3\pgflinewidth);}}, | ||
129 | postaction=decorate}, | ||
130 | opim/.default=0.5 | ||
131 | } | ||
132 | |||
133 | \newcommand*\@tikzto[2]{\mathrel{\begin{tikzpicture}[baseline]% | ||
134 | \draw[to,line width={#2\pgflinewidth},scale=#1](0,.55ex) -- (1.6em,.55ex);% | ||
135 | \end{tikzpicture}}} | ||
136 | |||
137 | \newcommand*\@tikzcto[2]{\mathrel{\begin{tikzpicture}[baseline]% | ||
138 | \draw[to,line width={#2\pgflinewidth},scale=#1](0,.55ex) -- (0.8em,.55ex);% | ||
139 | \end{tikzpicture}}} | ||
140 | |||
141 | \newcommand*\@tikzonto[2]{\mathrel{\begin{tikzpicture}[baseline]% | ||
142 | \draw[onto,line width={#2\pgflinewidth},scale=#1](0,.55ex) -- (1.6em,.55ex);% | ||
143 | \end{tikzpicture}}} | ||
144 | |||
145 | \newcommand*\@tikzinto[2]{\mathrel{\begin{tikzpicture}[baseline]% | ||
146 | \draw[into,line width={#2\pgflinewidth},scale=#1](0,.55ex) -- (1.6em,.55ex);% | ||
147 | \end{tikzpicture}}} | ||
148 | |||
149 | \newcommand*\@tikzclim[2]{\mathrel{\begin{tikzpicture}[baseline]% | ||
150 | \draw[into,clim,line width={#2\pgflinewidth},scale=#1](0,.55ex) -- (1.6em,.55ex);% | ||
151 | \end{tikzpicture}}} | ||
152 | |||
153 | \newcommand*\@tikzopim[2]{\mathrel{\begin{tikzpicture}[baseline]% | ||
154 | \draw[into,opim,line width={#2\pgflinewidth},scale=#1](0,.55ex) -- (1.6em,.55ex);% | ||
155 | \end{tikzpicture}}} | ||
156 | |||
157 | \newcommand*\@tikzmapsto[2]{\mathrel{\begin{tikzpicture}[baseline]% | ||
158 | \draw[mapsto,line width={#2\pgflinewidth},scale=#1](0,.55ex) -- (1.6em,.55ex);% | ||
159 | \end{tikzpicture}}} | ||
160 | |||
161 | \newcommand*\@tikziso[4]{\mathrel{\begin{tikzpicture}[baseline]% | ||
162 | \draw[to,line width={#2\pgflinewidth},scale=#1](0,.55ex) -- node[iso,pos=0.47,inner sep=#4]{$#3\sim$} (1.6em,.55ex);% | ||
163 | \end{tikzpicture}}} | ||
164 | |||
165 | \newcommand*\tikzto{\mathchoice{\@tikzto{1.0}{1}}{\@tikzto{1.0}{1}}{\@tikzcto{0.8}{0.9}}{\@tikzcto{0.6}{0.75}}} | ||
166 | \newcommand*\tikzcto{\mathchoice{\@tikzcto{1.0}{1}}{\@tikzcto{1.0}{1}}{\@tikzcto{0.8}{0.9}}{\@tikzcto{0.6}{0.75}}} | ||
167 | \newcommand*\tikzonto{\mathchoice{\@tikzonto{1.0}{1}}{\@tikzonto{1.0}{1}}{\@tikzonto{0.8}{0.9}}{\@tikzonto{0.6}{0.75}}} | ||
168 | \newcommand*\tikzinto{\mathchoice{\@tikzinto{1.0}{1}}{\@tikzinto{1.0}{1}}{\@tikzinto{0.8}{0.9}}{\@tikzinto{0.6}{0.75}}} | ||
169 | \newcommand*\tikzclim{\mathchoice{\@tikzclim{1.0}{1}}{\@tikzclim{1.0}{1}}{\@tikzclim{0.8}{0.9}}{\@tikzclim{0.6}{0.75}}} | ||
170 | \newcommand*\tikzopim{\mathchoice{\@tikzopim{1.0}{1}}{\@tikzopim{1.0}{1}}{\@tikzopim{0.8}{0.9}}{\@tikzopim{0.6}{0.75}}} | ||
171 | \newcommand*\tikzmapsto{\mathchoice{\@tikzmapsto{1.0}{1}}{\@tikzmapsto{1.0}{1}}{\@tikzmapsto{0.8}{0.9}}{\@tikzmapsto{0.6}{0.75}}} | ||
172 | \newcommand*\tikziso{\mathchoice{\@tikziso{1.0}{1}{\displaystyle}{0pt}}% | ||
173 | {\@tikziso{1.0}{1}{\textstyle}{0pt}}% | ||
174 | {\@tikziso{0.8}{0.9}{\scriptstyle}{0pt}}% | ||
175 | {\@tikziso{0.67}{0.8}{\scriptscriptstyle}{0.15ex}}} | ||
176 | \makeatother | ||
177 | |||
178 | \renewcommand*{\to}[1][]{\ifthenelse{\isempty{#1}}{\tikzto}{\xrightarrowb{#1}}} | ||
179 | \newcommand*{\cto}{\ensuremath{\tikzcto}} | ||
180 | \newcommand*{\into}[1][]{\ifthenelse{\isempty{#1}}{\tikzinto}{\xrightarrowb[into]{#1}}} | ||
181 | \newcommand*{\onto}[1][]{\ifthenelse{\isempty{#1}}{\tikzonto}{\xrightarrowb[onto]{#1}}} | ||
182 | \newcommand*{\clim}{\tikzclim} | ||
183 | \newcommand*{\opim}{\tikzopim} | ||
184 | |||
185 | \newcommand*{\iso}{\tikziso} | ||
186 | |||
187 | \renewcommand*{\mapsto}{\tikzmapsto} | ||
188 | |||
189 | \newcommand*{\ca}[1]{\ensuremath{\mathscr{#1}}\xspace} | ||
190 | \renewcommand*{\cal}[1]{\ensuremath{\mathcal{#1}}\xspace} | ||
191 | \newcommand*{\f}[1]{\ensuremath{\mathfrak{#1}}\xspace} | ||
192 | |||
193 | \newcommand{\cl}[2][0]{{}\mkern#1mu\overline{\mkern-#1mu#2}} | ||
194 | \newcommand*{\Int}[1]{\ensuremath{#1^\circ}\xspace} | ||
195 | |||
196 | \newcommand*{\infcat}[1][1]{\((\infty,#1)\)–category\xspace} | ||
197 | \newcommand*{\linfcat}{\(\infty\)–category\xspace} | ||
198 | \newcommand*{\infcats}[1][1]{\((\infty,#1)\)–categories\xspace} | ||
199 | \newcommand*{\linfcats}{\(\infty\)–categories\xspace} | ||
200 | \newcommand*{\Cat}{\textnormal{\textsf{Cat}}} | ||
201 | \newcommand*{\spc}{\textnormal{\textbf{Spc}}} | ||
202 | \newcommand*{\ICat}{\textnormal{\textbf{Cat}}} | ||
203 | \newcommand*{\infpshv}{\operatorname{\textnormal{\textbf{PShv}}}} | ||
204 | \newcommand*{\infshv}{\operatorname{\textnormal{\textbf{Sh}}}} | ||
205 | \newcommand*{\hypshv}{\operatorname{\widehat{\textnormal{\textbf{Sh}}}}} | ||
206 | \newcommand*{\hyp}[1][]{\operatorname{\ca H}^{#1}\mkern-2mu} | ||
207 | \newcommand*{\phyp}[1][]{\operatorname{\ca H}^{#1}_{\bullet}\mkern-2mu} | ||
208 | \newcommand*{\sh}{\operatorname{\ca{SH}}} | ||
209 | \newcommand*{\shv}{\operatorname{\textnormal{\textsf{Shv}}}} | ||
210 | \newcommand*{\pshv}{\operatorname{\textnormal{\textsf{PShv}}}} | ||
211 | \newcommand*{\Aff}{\operatorname{\textnormal{\textsf{Aff}}}} | ||
212 | \newcommand*{\Ring}{\operatorname{\textnormal{\textsf{Ring}}}} | ||
213 | \newcommand*{\Alg}{\operatorname{\textnormal{\textsf{Alg}}}} | ||
214 | \newcommand*{\Disc}{\operatorname{\textnormal{\textsf{Disc}}}} | ||
215 | \newcommand*{\mfd}{\operatorname{\textnormal{\textsf{Mfd}}}} | ||
216 | \newcommand*{\sm}[1][k]{\mathop{\textnormal{\textsf{Sm}}/k}} | ||
217 | \newcommand*{\Simp}{\mathbf{\Delta}} | ||
218 | \newcommand*{\sset}{\operatorname{\textnormal{\textsf{sSet}}}} | ||
219 | \newcommand*{\ssetQ}{\operatorname{\textnormal{\textsf{sSet}}_{\textnormal{\textsf{Q}}}}} | ||
220 | \newcommand*{\ssetJ}{\operatorname{\textnormal{\textsf{sSet}}_{\textnormal{\textsf{J}}}}} | ||
221 | \newcommand*{\Top}{\operatorname{\textnormal{\textsf{Top}}}} | ||
222 | \newcommand*{\qcat}{\operatorname{\textnormal{\textsf{qCat}}_{2}}} | ||
223 | \newcommand*{\Fin}{\operatorname{\textnormal{\textsf{Fin}}_{*}}} | ||
224 | \newcommand*{\tang}[1]{\textnormal{T}\mkern-2mu_{#1}} | ||
225 | \newcommand*{\dual}[1]{\textnormal{D}#1} | ||
226 | |||
227 | \def\<#1>{\left\langle #1 \right\rangle} | ||
228 | |||
229 | \newcommand{\dd}[1][]{% | ||
230 | \mathrm{d}% | ||
231 | \if\relax\detokenize{#1}\relax% | ||
232 | \else% | ||
233 | ^{#1}\mkern-1.5mu% | ||
234 | \fi% | ||
235 | } | ||
236 | |||
237 | \newcommand{\Diff}[1][]{% | ||
238 | \mathrm{D}% | ||
239 | \if\relax\detokenize{#1}\relax% | ||
240 | \else% | ||
241 | ^{#1}\m | ||
242 | kern-1.5mu% | ||
243 | \fi% | ||
244 | } | ||
245 | |||
246 | \newcommand{\ddd}[1][]{% | ||
247 | \mathop{}\!\dd[#1]% | ||
248 | } | ||
249 | |||
250 | \undef\AA | ||
251 | \undef\SS | ||
252 | \renewcommand*{\do}[1]{\expandafter\def\csname#1#1\endcsname{\ensuremath{\mathbb{#1}}\xspace}} | ||
253 | \docsvlist{A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V,W,X,Y,Z} | ||