-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy patharticle-header.tex
64 lines (53 loc) · 1.75 KB
/
article-header.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
\makeatletter
\patchcmd{\@verbatim}
{\verbatim@font}
{\verbatim@font\scriptsize}
{}{}
\makeatother
\newunicodechar{ }{~}
\newtheorem{lemma}{Lemma}
\newtheorem{theorem}{Theorem}
\newtheorem{definition}{Definition}
\newtheorem{remark}{Remark}
\newtheorem{corollary}{Corollary}
\newtheorem{proposition}{Proposition}
\DeclareMathOperator{\Vol}{Vol}
\DeclareMathOperator{\GH}{GH}
\renewcommand{\vec}[1]{\ensuremath{\mathbf{#1}}\xspace}
\renewcommand{\norm}[1]{\left\lVert#1\right\rVert}
\providecommand{\mat}[1]{\ensuremath{\vec{#1}}\xspace}
\providecommand{\ring}[0]{\ensuremath{\mathcal{R}}\xspace}
%% \RequirePackage{silence}
%% \WarningsOff[microtype]
%% \WarningFilter{microtype}{Unknown slot}
\newcommand{\malb}[2][inline]{\todo[#1]{\textbf{malb:} #2}\xspace}
\lstdefinelanguage{Sage}[]{Python}{
morekeywords={True,False,sage,cdef,cpdef,ctypedef,self},
sensitive=true
}
\lstdefinelanguage{diff}{
morecomment=[f][\color{black}\textbf]{+\ },
morecomment=[f][\color{darkgray}]{-\ },
}
\lstset{showtabs=False,
showspaces=False,
showstringspaces=False,
commentstyle={\color{gray}},
keywordstyle={\color{black}\textbf},
stringstyle={\color{darkgray}},
frame=single,
basicstyle=\tt\scriptsize\relax,
inputencoding=utf8,
literate={…}{{\ldots}}1,
belowskip=0.0em,
}
\IfFontExistsTF{Cousine}{
\setmonofont[BoldFont={Cousine Bold},
ItalicFont={Cousine Italic},
BoldItalicFont={Cousine Bold Italic},
Scale=0.90]{Cousine}
}{}
\IfFontExistsTF{TeX Gyre Pagella}{\setmainfont{TeX Gyre Pagella}}{}
\linespread{1.04}
\IfFileExists{microtype.sty}{\RequirePackage{microtype}}{}
\IfFileExists{microtype.sty}{\PassOptionsToPackage{verbose=silent}{microtype}}{}