Sharedwww / cuny / macros.texOpen in CoCalc
Author: William A. Stein
1
% macros.tex
2
\usepackage{amsmath}
3
\usepackage{amsfonts}
4
\usepackage{amssymb}
5
\usepackage{amsthm}
6
7
8
\newcommand{\marginalfootnote}[1]{%
9
\footnote{#1}
10
\marginpar{\hfill {\sf\thefootnote}}%
11
}
12
\newcommand{\edit}[1]{\marginalfootnote{#1}}
13
14
15
\author{William~A. Stein}
16
17
18
\newcommand{\myhead}[3]{
19
\par\noindent
20
{Version #2}
21
\vspace{10ex}
22
\par\noindent
23
{\bf \LARGE #1}\\
24
\vspace{3ex}
25
\par\noindent
26
{\large W.\thinspace{}A. Stein}\\
27
{\small Department of Mathematics, Harvard University}\vspace{1ex}\\
28
#3
29
\vspace{2ex}\par
30
}
31
32
\newcommand{\myheadauth}[3]{
33
\par\noindent
34
{Version #2}
35
\vspace{10ex}
36
\par\noindent
37
{\bf \LARGE #1}\\
38
\vspace{3ex}
39
\par\noindent
40
#3
41
\vspace{5ex}\par
42
}
43
44
45
\newcommand{\gzero}{\Gamma_0(N)}
46
\newcommand{\esM}{\overline{\sM}}
47
\newcommand{\sM}{\boldsymbol{\mathcal{M}}}
48
\newcommand{\sS}{\boldsymbol{\mathcal{S}}}
49
\newcommand{\sB}{\boldsymbol{\mathcal{B}}}
50
\newcommand{\eE}{\mathbf{E}}
51
\newcommand{\Adual}{A^{\vee}}
52
\newcommand{\Bdual}{B^{\vee}}
53
54
\newcommand{\defn}[1]{{\em #1}}
55
\newcommand{\solution}[1]{\vspace{1em}%
56
\par\noindent{\bf Solution #1.} }
57
\newcommand{\todo}[1]{\noindent$\bullet$ {\small \textsf{#1}} $\bullet$\\}
58
\newcommand{\done}[1]{\noindent {\small \textsf{Done: #1}}\\}
59
\newcommand{\danger}[1]{\marginpar{\small \textsl{#1}}}
60
\renewcommand{\div}{\mbox{\rm div}}
61
\DeclareMathOperator{\chr}{char}
62
\DeclareMathOperator{\ind}{ind}
63
\DeclareMathOperator{\im}{im}
64
\DeclareMathOperator{\oo}{\infty}
65
\DeclareMathOperator{\abs}{abs}
66
\DeclareMathOperator{\lcm}{lcm}
67
\DeclareMathOperator{\cores}{cores}
68
\DeclareMathOperator{\coker}{coker}
69
\DeclareMathOperator{\image}{image}
70
\DeclareMathOperator{\prt}{part}
71
\DeclareMathOperator{\proj}{proj}
72
\DeclareMathOperator{\Br}{Br}
73
\DeclareMathOperator{\Ann}{Ann}
74
\DeclareMathOperator{\End}{End}
75
\DeclareMathOperator{\Eis}{Eis}
76
\newcommand{\unity}{\mathbf{1}}
77
\DeclareMathOperator{\Pic}{Pic}
78
\DeclareMathOperator{\Vol}{Vol}
79
\DeclareMathOperator{\Vis}{Vis}
80
\DeclareMathOperator{\Reg}{Reg}
81
%\DeclareMathOperator{\myRes}{Res}
82
%\newcommand{\Res}{\myRes}
83
\DeclareMathOperator{\Res}{Res}
84
\newcommand{\an}{{\rm an}}
85
\DeclareMathOperator{\rank}{rank}
86
\DeclareMathOperator{\Sel}{Sel}
87
\DeclareMathOperator{\Mat}{Mat}
88
\DeclareMathOperator{\BSD}{BSD}
89
\DeclareMathOperator{\id}{id}
90
\DeclareMathOperator{\dz}{dz}
91
%\DeclareMathOperator{\Re}{Re}
92
\renewcommand{\Re}{\mbox{\rm Re}}
93
%\DeclareMathOperator{\Im}{Im}
94
\DeclareMathOperator{\Selmer}{Selmer}
95
\newcommand{\pfSel}{\widehat{\Sel}}
96
\newcommand{\qe}{\stackrel{\mbox{\tiny ?}}{=}}
97
\newcommand{\isog}{\simeq}
98
\newcommand{\e}{\mathbf{e}}
99
\newcommand{\bN}{\mathbf{N}}
100
101
% ---- SHA ----
102
\DeclareFontEncoding{OT2}{}{} % to enable usage of cyrillic fonts
103
\newcommand{\textcyr}[1]{%
104
{\fontencoding{OT2}\fontfamily{wncyr}\fontseries{m}\fontshape{n}%
105
\selectfont #1}}
106
\newcommand{\Sha}{{\mbox{\textcyr{Sh}}}}
107
108
%\font\cyr=wncyr10 scaled \magstep 1
109
%\font\cyr=wncyr10
110
111
%\newcommand{\Sha}{{\cyr X}}
112
\newcommand{\Shaan}{\Sha_{\mbox{\tiny \rm an}}}
113
\newcommand{\TS}{Shafarevich-Tate group}
114
115
\newcommand{\Gam}{\Gamma}
116
\renewcommand{\Im}{\text{Im}}
117
\newcommand{\X}{\mathcal{X}}
118
\newcommand{\cH}{\mathcal{H}}
119
\newcommand{\cA}{\mathcal{A}}
120
\newcommand{\cF}{\mathcal{F}}
121
\newcommand{\cG}{\mathcal{G}}
122
\newcommand{\cJ}{\mathcal{J}}
123
\newcommand{\cL}{\mathcal{L}}
124
\newcommand{\cV}{\mathcal{V}}
125
\newcommand{\cO}{\mathcal{O}}
126
\newcommand{\cQ}{\mathcal{Q}}
127
\newcommand{\cX}{\mathcal{X}}
128
\newcommand{\ds}{\displaystyle}
129
\newcommand{\M}{\mathcal{M}}
130
\newcommand{\E}{\mathcal{E}}
131
\renewcommand{\L}{\mathcal{L}}
132
\newcommand{\J}{\mathcal{J}}
133
\DeclareMathOperator{\new}{new}
134
\DeclareMathOperator{\Morph}{Morph}
135
\DeclareMathOperator{\old}{old}
136
\DeclareMathOperator{\Sym}{Sym}
137
\DeclareMathOperator{\Symb}{Symb}
138
%\newcommand{\Sym}{\mathcal{S}{\rm ym}}
139
\newcommand{\dw}{\delta(w)}
140
\newcommand{\dwh}{\widehat{\delta(w)}}
141
\newcommand{\dlwh}{\widehat{\delta_\l(w)}}
142
\newcommand{\dash}{-\!\!\!\!-\!\!\!\!-\!\!\!\!-}
143
\DeclareMathOperator{\tor}{tor}
144
\newcommand{\Frobl}{\Frob_{\ell}}
145
\newcommand{\tE}{\tilde{E}}
146
\renewcommand{\l}{\ell}
147
\renewcommand{\t}{\tau}
148
\DeclareMathOperator{\cond}{cond}
149
\DeclareMathOperator{\Spec}{Spec}
150
\DeclareMathOperator{\Div}{Div}
151
\DeclareMathOperator{\Jac}{Jac}
152
\DeclareMathOperator{\res}{res}
153
\DeclareMathOperator{\Ker}{Ker}
154
\DeclareMathOperator{\Coker}{Coker}
155
\DeclareMathOperator{\sep}{sep}
156
\DeclareMathOperator{\sign}{sign}
157
\DeclareMathOperator{\unr}{unr}
158
\newcommand{\N}{\mathcal{N}}
159
\newcommand{\U}{\mathcal{U}}
160
\newcommand{\Kbar}{\overline{K}}
161
\newcommand{\Lbar}{\overline{L}}
162
\newcommand{\gammabar}{\overline{\gamma}}
163
\newcommand{\q}{\mathbf{q}}
164
\renewcommand{\star}{\times}
165
\newcommand{\gM}{\mathfrak{M}}
166
\newcommand{\gA}{\mathfrak{A}}
167
\newcommand{\gP}{\mathfrak{P}}
168
\newcommand{\bmu}{\boldsymbol{\mu}}
169
\newcommand{\union}{\cup}
170
\newcommand{\Tl}{T_{\ell}}
171
\newcommand{\into}{\rightarrow}
172
\newcommand{\onto}{\rightarrow\!\!\!\!\rightarrow}
173
\newcommand{\intersect}{\cap}
174
\newcommand{\meet}{\cap}
175
\newcommand{\cross}{\times}
176
\DeclareMathOperator{\md}{mod}
177
\DeclareMathOperator{\toric}{toric}
178
\DeclareMathOperator{\tors}{tors}
179
\DeclareMathOperator{\Frac}{Frac}
180
\DeclareMathOperator{\corank}{corank}
181
\newcommand{\rb}{\overline{\rho}}
182
\newcommand{\ra}{\rightarrow}
183
\newcommand{\xra}[1]{\xrightarrow{#1}}
184
\newcommand{\hra}{\hookrightarrow}
185
\newcommand{\la}{\leftarrow}
186
\newcommand{\lra}{\longrightarrow}
187
\newcommand{\riso}{\xrightarrow{\sim}}
188
\newcommand{\da}{\downarrow}
189
\newcommand{\ua}{\uparrow}
190
\newcommand{\con}{\equiv}
191
\newcommand{\Gm}{\mathbf{G}_m}
192
\newcommand{\pni}{\par\noindent}
193
\newcommand{\set}[1]{\{#1\}}
194
\newcommand{\iv}{^{-1}}
195
\newcommand{\alp}{\alpha}
196
\newcommand{\bq}{\mathbf{q}}
197
\newcommand{\cpp}{{\tt C++}}
198
\newcommand{\tensor}{\otimes}
199
\newcommand{\bg}{{\tt BruceGenus}}
200
\newcommand{\abcd}[4]{\left(
201
\begin{smallmatrix}#1&#2\\#3&#4\end{smallmatrix}\right)}
202
\newcommand{\mthree}[9]{\left(
203
\begin{matrix}#1&#2&#3\\#4&#5&#6\\#7&#8&#9
204
\end{matrix}\right)}
205
\newcommand{\mtwo}[4]{\left(
206
\begin{matrix}#1&#2\\#3&#4
207
\end{matrix}\right)}
208
\newcommand{\vtwo}[2]{\left(
209
\begin{matrix}#1\\#2
210
\end{matrix}\right)}
211
\newcommand{\smallmtwo}[4]{\left(
212
\begin{smallmatrix}#1&#2\\#3&#4
213
\end{smallmatrix}\right)}
214
\newcommand{\twopii}{2\pi{}i{}}
215
\newcommand{\eps}{\varepsilon}
216
\newcommand{\vphi}{\varphi}
217
\newcommand{\gp}{\mathfrak{p}}
218
\newcommand{\W}{\mathcal{W}}
219
\newcommand{\oz}{\overline{z}}
220
\newcommand{\Zpstar}{\Zp^{\star}}
221
\newcommand{\Zhat}{\widehat{\Z}}
222
\newcommand{\Zl}{\Z_{\ell}}
223
\newcommand{\comment}[1]{}
224
\newcommand{\Q}{\mathbf{Q}}
225
\newcommand{\GQ}{G_{\Q}}
226
\newcommand{\R}{\mathbf{R}}
227
\newcommand{\D}{{\mathbf D}}
228
\newcommand{\cC}{\mathcal{C}}
229
\newcommand{\cD}{\mathcal{D}}
230
\newcommand{\cP}{\mathcal{P}}
231
\newcommand{\cS}{\mathcal{S}}
232
\newcommand{\Sbar}{\overline{S}}
233
\newcommand{\K}{{\mathbf K}}
234
\newcommand{\C}{\mathbf{C}}
235
\newcommand{\Cp}{{\mathbf C}_p}
236
\newcommand{\Sets}{\mbox{\rm\bf Sets}}
237
\newcommand{\bcC}{\boldsymbol{\mathcal{C}}}
238
\renewcommand{\P}{\mathbf{P}}
239
\newcommand{\Qbar}{\overline{\Q}}
240
\newcommand{\kbar}{\overline{k}}
241
\newcommand{\dual}{\bot}
242
\newcommand{\T}{\mathbf{T}}
243
\newcommand{\calT}{\mathcal{T}}
244
\newcommand{\cT}{\mathcal{T}}
245
\newcommand{\cbT}{\mathbf{\mathcal{T}}}
246
\newcommand{\cU}{\mathcal{U}}
247
\newcommand{\Z}{\mathbf{Z}}
248
\newcommand{\F}{\mathbf{F}}
249
\newcommand{\Fl}{\F_{\ell}}
250
\newcommand{\Fell}{\Fl}
251
\newcommand{\Flbar}{\overline{\F}_{\ell}}
252
\newcommand{\Flnu}{\F_{\ell^{\nu}}}
253
\newcommand{\Fbar}{\overline{\F}}
254
\newcommand{\Fpbar}{\overline{\F}_p}
255
\newcommand{\fbar}{\overline{f}}
256
\newcommand{\Qp}{\Q_p}
257
\newcommand{\Ql}{\Q_{\ell}}
258
\newcommand{\Qell}{\Q_{\ell}}
259
\newcommand{\Qlbar}{\overline{\Q}_{\ell}}
260
\newcommand{\Qlnr}{\Q_{\ell}^{\text{nr}}}
261
\newcommand{\Qlur}{\Q_{\ell}^{\text{ur}}}
262
\newcommand{\Qltm}{\Q_{\ell}^{\text{tame}}}
263
\newcommand{\Qv}{\Q_v}
264
\newcommand{\Qpbar}{\Qbar_p}
265
\newcommand{\Zp}{\Z_p}
266
\newcommand{\Fp}{\F_p}
267
\newcommand{\Fq}{\F_q}
268
\newcommand{\Fqbar}{\overline{\F}_q}
269
\newcommand{\Ad}{Ad}
270
\newcommand{\adz}{\Ad^0}
271
\renewcommand{\O}{\mathcal{O}}
272
\newcommand{\A}{\mathcal{A}}
273
\newcommand{\Og}{O_{\gamma}}
274
\newcommand{\isom}{\cong}
275
\newcommand{\ncisom}{\approx} % noncanonical isomorphism
276
\DeclareMathOperator{\ab}{ab}
277
\DeclareMathOperator{\Aut}{Aut}
278
\DeclareMathOperator{\Frob}{Frob}
279
\DeclareMathOperator{\Fr}{Fr}
280
\DeclareMathOperator{\Ver}{Ver}
281
\DeclareMathOperator{\Norm}{Norm}
282
\DeclareMathOperator{\disc}{disc}
283
\DeclareMathOperator{\ord}{ord}
284
\DeclareMathOperator{\GL}{GL}
285
\DeclareMathOperator{\PSL}{PSL}
286
\DeclareMathOperator{\PGL}{PGL}
287
\DeclareMathOperator{\Gal}{Gal}
288
\DeclareMathOperator{\SL}{SL}
289
\DeclareMathOperator{\SO}{SO}
290
\newcommand{\galq}{\Gal(\Qbar/\Q)}
291
\newcommand{\rhobar}{\overline{\rho}}
292
\newcommand{\cM}{\mathcal{M}}
293
\newcommand{\cB}{\mathcal{B}}
294
\newcommand{\cE}{\mathcal{E}}
295
\newcommand{\cR}{\mathcal{R}}
296
\newcommand{\et}{\text{\rm\'et}}
297
298
\newcommand{\sltwoz}{\SL_2(\Z)}
299
\newcommand{\sltwo}{\SL_2}
300
\newcommand{\gltwoz}{\GL_2(\Z)}
301
\newcommand{\mtwoz}{M_2(\Z)}
302
\newcommand{\gltwoq}{\GL_2(\Q)}
303
\newcommand{\gltwo}{\GL_2}
304
\newcommand{\gln}{\GL_n}
305
\newcommand{\psltwoz}{\PSL_2(\Z)}
306
\newcommand{\psltwo}{\PSL_2}
307
\newcommand{\h}{\mathfrak{h}}
308
\renewcommand{\a}{\mathfrak{a}}
309
\newcommand{\p}{\mathfrak{p}}
310
\newcommand{\m}{\mathfrak{m}}
311
\newcommand{\trho}{\tilde{\rho}}
312
\newcommand{\rhol}{\rho_{\ell}}
313
\newcommand{\rhoss}{\rho^{\text{ss}}}
314
\DeclareMathOperator{\tr}{tr}
315
\DeclareMathOperator{\order}{order}
316
\DeclareMathOperator{\ur}{ur}
317
\DeclareMathOperator{\Tr}{Tr}
318
\DeclareMathOperator{\Hom}{Hom}
319
\DeclareMathOperator{\Mor}{Mor}
320
\DeclareMathOperator{\HH}{H}
321
\renewcommand{\H}{\HH}
322
\DeclareMathOperator{\Ext}{Ext}
323
\DeclareMathOperator{\Tor}{Tor}
324
\newcommand{\smallzero}{\left(\begin{smallmatrix}0&0\\0&0
325
\end{smallmatrix}\right)}
326
\newcommand{\smallone}{\left(\begin{smallmatrix}1&0\\0&1
327
\end{smallmatrix}\right)}
328
329
\newcommand{\pari}{{\sc Pari}}
330
\newcommand{\magma}{{\sc Magma}}
331
\newcommand{\hecke}{{\sc Hecke}}
332
\newcommand{\lidia}{{\sc LiDIA}}
333
334
%%%% Theoremstyles
335
\theoremstyle{plain}
336
\newtheorem{theorem}{Theorem}[section]
337
\newtheorem{proposition}[theorem]{Proposition}
338
\newtheorem{corollary}[theorem]{Corollary}
339
\newtheorem{claim}[theorem]{Claim}
340
\newtheorem{lemma}[theorem]{Lemma}
341
\newtheorem{conjecture}[theorem]{Conjecture}
342
343
\theoremstyle{definition}
344
\newtheorem{definition}[theorem]{Definition}
345
\newtheorem{algorithm}[theorem]{Algorithm}
346
\newtheorem{question}[theorem]{Question}
347
\newtheorem{problem}[theorem]{Problem}
348
349
\theoremstyle{remark}
350
\newtheorem{goal}[theorem]{Goal}
351
\newtheorem{remark}[theorem]{Remark}
352
\newtheorem{remarks}[theorem]{Remarks}
353
\newtheorem{example}[theorem]{Example}
354
\newtheorem{exercise}[theorem]{Exercise}
355
356
\numberwithin{equation}{section}
357
\numberwithin{figure}{section}
358
\numberwithin{table}{section}
359
360
361
% bulleted list environment
362
\newenvironment{bulletlist}
363
{
364
\begin{list}
365
{$\bullet$}
366
{
367
\setlength{\itemsep}{.5ex}
368
\setlength{\parsep}{0ex}
369
\setlength{\parskip}{0ex}
370
\setlength{\topsep}{.5ex}
371
}
372
}
373
{
374
\end{list}
375
}
376
%end newenvironment
377
378
% bulleted list environment
379
\newenvironment{dashlist}
380
{
381
\begin{list}
382
{---}
383
{
384
\setlength{\itemsep}{.5ex}
385
\setlength{\parsep}{0ex}
386
\setlength{\parskip}{0ex}
387
\setlength{\topsep}{.5ex}
388
}
389
}
390
{
391
\end{list}
392
}
393
%end newenvironment
394
395
% numbered list environment
396
\newcounter{listnum}
397
\newenvironment{numlist}
398
{
399
\begin{list}
400
{{\em \thelistnum.}}{
401
\usecounter{listnum}
402
\setlength{\itemsep}{.5ex}
403
\setlength{\parsep}{0ex}
404
\setlength{\parskip}{0ex}
405
\setlength{\topsep}{.5ex}
406
}
407
}
408
{
409
\end{list}
410
}
411
%end newenvironment
412
413
\newcommand{\hd}[1]{\vspace{1ex}\noindent{\bf #1} }
414
\newcommand{\nf}[1]{\underline{#1}}
415
\newcommand{\cbar}{\overline{c}}
416
417
\DeclareMathOperator{\rad}{rad}
418