-
Notifications
You must be signed in to change notification settings - Fork 0
/
commons.sty
104 lines (91 loc) · 3.61 KB
/
commons.sty
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
92
93
94
95
96
97
98
99
100
101
102
103
104
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{Commons}
%%%%%%%%%%%%%%%%%%%% ABBREVIATIONS %%%%%%%%%%%%%%%%%%%%
\newcommand{\pha}{{}_\bullet}
\newcommand{\phb}{{}_\blacktriangle}
\newcommand{\phc}{\blacktriangle}
\newcommand{\dotleq}{\mathrel{\raisebox{1.2ex}{$⋅$}\mkern-13.5mu \leq}}
\renewcommand{\projlim}{\varprojlim}
\renewcommand{\injlim}{\varinjlim}
\newcommand{\dottimes}{\stackrel[\cdot]{\times}}
%\newcommand{\xra}[1]{\xrightarrow{#1}}
\newcommand{\xra}[1]{\, \tikz[baseline] \draw (0pt,3.5pt) -- (7pt,3.5pt); {\raisebox{1.5pt}{\ensuremath{\scriptstyle #1}}} \tikz[baseline] \draw [->] (0pt,3.5pt) -- (7pt,3.5pt); \, }
\providecommand{\obar}[1]{\overline{#1}}
\renewcommand{\obar}[1]{\overline{#1}}
\newcommand{\ubar}[1]{\underline{#1}}
\newcommand{\set}[1]{\left\{#1\right\}}
\newcommand{\pa}[1]{\left(#1\right)}
\newcommand{\ang}[1]{\left<#1\right>}
\newcommand{\bra}[1]{\left[#1\right]}
\newcommand{\abs}[1]{\left|#1\right|}
\newcommand{\norm}[1]{\left\|#1\right\|}
\newcommand{\mat}[1]{\begin{matrix}#1\end{matrix}}
\newcommand{\pmat}[1]{\pa{\mat{#1}}}
\newcommand{\bmat}[1]{\bra{\mat{#1}}}
\newcommand{\sismat}[1]{\left\{\mat{#1}\right.}
\newcommand{\sm}[1]{\begin{smallmatrix}#1\end{smallmatrix}}
\newcommand{\psm}[1]{\pa{\sm{#1}}}
\newcommand{\bsm}[1]{\bra{\sm{#1}}}
\newcommand{\tci}[2]{\set{\,#1 \mid{} #2\,}}
\newcommand{\tcia}[2]{\ang{\,#1 \mid{} #2\,}}
\newcommand{\pfrac}[2]{\pa{\frac{#1}{#2}}}
\newcommand{\bfrac}[2]{\bra{\frac{#1}{#2}}}
\newcommand{\psfrac}[2]{\pa{\sfrac{#1}{#2}}}
\newcommand{\bsfrac}[2]{\bra{\sfrac{#1}{#2}}}
\newcommand{\der}[2]{\frac{\partial #1}{\partial #2}}
\newcommand{\pder}[2]{\pfrac{\partial #1}{\partial #2}}
\newcommand{\sder}[2]{\sfrac{\partial #1}{\partial #2}}
\newcommand{\psder}[2]{\psfrac{\partial #1}{\partial #2}}
\newcommand{\leg}[2]{\pfrac{#1}{#2}}
\newcommand{\estdim}[2]{\left[#1 : #2\right]}
\newcommand{\abel}[2]{\left[#1, #2\right]}
\newcommand{\brk}[2]{\left[#1,#2\right]}
\newcommand{\expect}[1]{\mathbb{E}\bra{#1}}
\newcommand{\prob}[1]{\mathbb{P}\pa{#1}}
%%%%%%%%%%%%%%%%%%%% OPERATORS %%%%%%%%%%%%%%%%%%%%
%\DeclareMathOperator{\Schemes}{\mathfrak{Sch}}
%\DeclareMathOperator{\AffineSchemes}{\mathfrak{AffSch}}
%\DeclareMathOperator{\Sets}{\mathfrak{Sets}}
%\DeclareMathOperator{\Groupoids}{\mathfrak{Groupoids}}
%\DeclareMathOperator{\TopologicalSpaces}{\mathfrak{Top}}
%\DeclareMathOperator{\Alb}{Alb}
%\DeclareMathOperator{\Aut}{Aut}
%\DeclareMathOperator{\B}{B}
%\DeclareMathOperator{\cod}{cod}
\DeclareMathOperator{\de}{d}
%\DeclareMathOperator{\diag}{diag}
%\DeclareMathOperator{\Div}{Div}
%\DeclareMathOperator{\Ext}{Ext}
%\DeclareMathOperator{\Fix}{Fix}
%\DeclareMathOperator{\gen}{g}
%\DeclareMathOperator{\GL}{GL}
%\DeclareMathOperator{\Hilb}{Hilb}
%\DeclareMathOperator{\Ho}{H}
%\DeclareMathOperator{\ho}{h}
%\DeclareMathOperator{\Hom}{Hom}
%\DeclareMathOperator{\id}{id}
\DeclareMathOperator{\Image}{Im}
%\DeclareMathOperator{\Isom}{Isom}
\DeclareMathOperator{\Mod}{Mod}
%\DeclareMathOperator{\Mor}{Mor}
%\DeclareMathOperator{\argen}{p_a}
%\DeclareMathOperator{\geomgen}{p_g}
%\DeclareMathOperator{\Pic}{Pic}
\DeclareMathOperator{\Proj}{Proj}
%\DeclareMathOperator{\irr}{q}
%\DeclareMathOperator{\res}{res}
%\DeclareMathOperator{\sgn}{sgn}
%\DeclareMathOperator{\Sing}{Sing}
%\DeclareMathOperator{\Spec}{Spec}
%\DeclareMathOperator{\Stab}{Stab}
%\DeclareMathOperator{\tr}{tr}
%\DeclareMathOperator{\Tors}{Tors}
%\DeclareMathOperator{\vp}{v.p.}
\DeclareMathOperator{\Var}{Var}
\DeclareMathOperator{\Cov}{Cov}
%%%%%%%%%%%%%%%%%%%% LETTERS %%%%%%%%%%%%%%%%%%%%
\newcommand{\N}{\mathbb{N}}
\newcommand{\Z}{\mathbb{Z}}
\newcommand{\R}{\mathbb{R}}
\newcommand{\Q}{\mathbb{Q}}
\newcommand{\C}{\mathbb{C}}