Sharedwww / app / macros.texOpen in CoCalc
Author: William A. Stein
1
\usepackage{amsmath}%
2
\usepackage{amsfonts}%
3
\usepackage{amssymb}%
4
\usepackage{amsthm}%
5
6
\hoffset=-.04\textwidth%
7
\textwidth=1.08\textwidth%
8
\voffset=-0.03\textheight
9
\textheight=1.06\textheight
10
11
\newcommand{\C}{\mathbf{C}}%
12
\newcommand{\F}{\mathbf{F}}%
13
\newcommand{\Q}{\mathbf{Q}}%
14
\newcommand{\Qbar}{\overline{\Q}}%
15
\newcommand{\Z}{\mathbf{Z}}%
16
\newcommand{\R}{\mathbf{R}}%
17
\newcommand{\T}{\mathbf{T}}%
18
\renewcommand{\H}{\mathrm{H}}%
19
20
\newcommand{\eps}{\varepsilon}%
21
\newcommand{\con}{\equiv}%
22
\newcommand{\isom}{\cong}%
23
24
% ---- SHA ----
25
\DeclareFontEncoding{OT2}{}{} % to enable usage of cyrillic fonts
26
\newcommand{\textcyr}[1]{%
27
{\fontencoding{OT2}\fontfamily{wncyr}\fontseries{m}\fontshape{n}%
28
\selectfont #1}}%
29
\newcommand{\Sha}{{\mbox{\textcyr{Sh}}}}%
30
\newcommand{\tor}{\mbox{\scriptsize\rm tor}}
31
32
\newcommand{\myname}{William A.\ Stein}
33
\newcommand{\phone}{{\sf (617) 308-0144}}
34
\newcommand{\email}{{\sf was@math.harvard.edu}}
35
\newcommand{\www}{{\sf http://modular.fas.harvard.edu}}
36
\newcommand{\address}{345 Harvard Street, \#4D\\
37
Cambridge, MA 02138}
38
\usepackage{fancyhdr,ifthen}
39
\pagestyle{fancy}
40
\cfoot{\thepage} % no footers (in pagestyle fancy)
41
% running left heading
42
\lhead{\bfseries\LARGE\em \noindent{}\hspace{-.2em}\myname{}
43
\hfill \thisdocument\vspace{-.2ex}\\}
44
% running right heading
45
%\newcommand{\spc}{1.31em}
46
\newcommand{\spc}{1em}
47
48
%\rhead{\em {\small{\phone{}}} \hfill $\cdot$\hfill
49
% \email{} \hfill $\cdot$\hfill \www{}}
50
51
\rhead{\em {\small{\phone{}}} \hfill \email{} \hfill \www{}}
52
53
\setlength{\headheight}{7ex}
54
\newcommand{\mainhead}[1]{\begin{center}{\Large \bf #1}\end{center}}
55
\newcommand{\head}[1]{\vspace{2ex}\par\noindent{\large \bf #1}\par\noindent}
56
\newcommand{\subhead}[1]{\vspace{2ex}\par\noindent{\sl #1}\vspace{1ex}\par\noindent{}}
57
\newcommand{\ptitle}{\sl}
58
59
\newcommand{\hra}{\hookrightarrow}
60
61
62
%%%% Theoremstyles
63
\theoremstyle{plain}
64
\newtheorem{theorem}{Theorem}
65
\newtheorem{proposition}[theorem]{Proposition}
66
\newtheorem{corollary}[theorem]{Corollary}
67
\newtheorem{claim}[theorem]{Claim}
68
\newtheorem{lemma}[theorem]{Lemma}
69
\newtheorem{conjecture}[theorem]{Conjecture}
70
71
\theoremstyle{definition}
72
\newtheorem{definition}[theorem]{Definition}
73
\newtheorem{algorithm}[theorem]{Algorithm}
74
\newtheorem{question}[theorem]{Question}
75
\newtheorem{problem}[theorem]{Problem}
76
77
\theoremstyle{remark}
78
\newtheorem{goal}[theorem]{Goal}
79
\newtheorem{remark}[theorem]{Remark}
80
\newtheorem{remarks}[theorem]{Remarks}
81
\newtheorem{example}[theorem]{Example}
82
\newtheorem{exercise}[theorem]{Exercise}
83
84
\DeclareMathOperator{\End}{End}%
85
\DeclareMathOperator{\Tr}{Tr}%
86
\DeclareMathOperator{\Res}{Res}%
87
\DeclareMathOperator{\Gal}{Gal}%
88
\DeclareMathOperator{\Aut}{Aut}%
89
\DeclareMathOperator{\Vis}{Vis}%
90
\DeclareMathOperator{\Ker}{Ker}%
91
\DeclareMathOperator{\Coker}{Coker}%
92
\DeclareMathOperator{\ord}{ord}%
93
\DeclareMathOperator{\GL}{GL}%
94
\DeclareMathOperator{\SL}{SL}%
95
\DeclareMathOperator{\im}{Im}%
96
97
\newcommand{\abcd}[4]{\left(
98
\begin{smallmatrix}#1&#2\\#3&#4\end{smallmatrix}\right)}
99
%%% Local Variables:
100
%%% mode: latex
101
%%% TeX-master: t
102
%%% End:
103