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