CoCalc Public Fileswww / mfd / talks / slide_macros.tex
Author: William A. Stein
Compute Environment: Ubuntu 18.04 (Deprecated)
1\usepackage{amsmath}
2\usepackage{amssymb}
3\usepackage{psfrag}
4\usepackage{graphicx}
5\usepackage{pstricks}
6
7
8\usepackage[all]{xy}
9\newrgbcolor{purple}{.5 .16 .6}
10\newrgbcolor{darkpurple}{.3 .05 .4}
11\newrgbcolor{darkred}{.5 0 0}
12\newrgbcolor{darkblue}{0 0 0.3}
13\newrgbcolor{darkgreen}{0 0.2 0}
14\newcommand{\comment}[1]{}
15
16\newcommand{\pic}[2]{\includegraphics[width=#2in]%
17{pics/#1.eps}}
18
19\newcommand{\captionpic}[2]{%
20\begin{tabular}{c}\includegraphics[height=2in]%
21{pics/#1.eps}\\{\small #2}\end{tabular}\vspace{-7ex}}
22
23
24\newcommand{\ha}[2]{{\begin{center}%
25\hfill{\purple\large\bf #1}\hfill#2\mbox{}\end{center}}}
26\newcommand{\hb}[1]{{\darkpurple \large \noindent\bf #1}}
27\newcommand{\ul}[1]{\underline{#1}}
28\newcommand{\con}{\equiv}
29\newcommand{\C}{\mathbf{C}}
30\renewcommand{\O}{\mathcal{O}}
31\newcommand{\cA}{\mathcal{A}}
32\newcommand{\cR}{\mathcal{R}}
33\newcommand{\cE}{\mathcal{E}}
34\newcommand{\cF}{\mathcal{F}}
35\newcommand{\et}{\mbox{\rm\tiny \'et}}
36\newcommand{\Het}{H_{\et}}
37\newcommand{\F}{\mathbf{F}}
38\newcommand{\R}{\mathbf{R}}
39
40\DeclareFontEncoding{OT2}{}{} % to enable usage of cyrillic fonts
41  \newcommand{\textcyr}[1]{%
42    {\fontencoding{OT2}\fontfamily{wncyr}\fontseries{m}\fontshape{n}%
43     \selectfont #1}}
44\newcommand{\Sha}{{\mbox{\textcyr{Sh}}}}
45
46
47\newcommand{\Shaan}{\Sha_{\mbox{\tiny \rm an}}}
48\newcommand{\Z}{\mathbf{Z}}
49\newcommand{\T}{\mathbf{T}}
50\newcommand{\Q}{\mathbf{Q}}
51\newcommand{\Qbar}{{\overline{\Q}}}
52\newcommand{\isom}{\cong}
53\newcommand{\onto}{\rightarrow\!\!\!\!\rightarrow}
54\newcommand{\cross}{\times}
55\newcommand{\tensor}{\otimes}
56\newcommand{\conjeq}{\stackrel{\mbox{\tiny \red conj}}{=}}
57\newcommand{\h}{\mathfrak{h}}
58\DeclareMathOperator{\divx}{div}
59\DeclareMathOperator{\Gal}{Gal}
60\DeclareMathOperator{\Frob}{Frob}
61\DeclareMathOperator{\rank}{rank}
62\DeclareMathOperator{\Pic}{Pic}
63\renewcommand{\div}{\divx}
64\DeclareMathOperator{\Jac}{Jac}
65\DeclareMathOperator{\GL}{GL}
66\DeclareMathOperator{\Aut}{Aut}
67\DeclareMathOperator{\Ker}{Ker}
68\DeclareMathOperator{\Coker}{Coker}
69\DeclareMathOperator{\Res}{Res}
70\DeclareMathOperator{\End}{End}
71\DeclareMathOperator{\Reg}{Reg}
72\DeclareMathOperator{\tor}{tor}
73\DeclareMathOperator{\ord}{ord}
74\DeclareMathOperator{\SL}{SL}
75\DeclareMathOperator{\Tr}{Tr}
76\DeclareMathOperator{\imag}{Im}
77\DeclareMathOperator{\new}{new}
78\renewcommand{\Im}{\imag}
79\newcommand{\ds}{\displaystyle}
80
81\newcommand{\mtwo}[4]{\left(
82        \begin{matrix}#1&#2\\#3&#4
83        \end{matrix}\right)}
84