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