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