author | Scott Morrison <scott@tqft.net> |
Sat, 15 May 2010 10:46:37 -0500 | |
changeset 267 | f4e13802a181 |
parent 258 | fd5d1647f4f3 |
child 298 | 25e551fed344 |
permissions | -rw-r--r-- |
73 | 1 |
%!TEX root = ../blob1.tex |
71 | 2 |
|
3 |
%%%%% excerpts from KW's include file of standard macros |
|
197 | 4 |
%%% (with various new ones added) |
71 | 5 |
|
6 |
\def\z{\mathbb{Z}} |
|
7 |
\def\r{\mathbb{R}} |
|
8 |
\def\c{\mathbb{C}} |
|
9 |
\def\t{\mathbb{T}} |
|
86 | 10 |
\def\ebb{\mathbb{E}} |
71 | 11 |
|
258
fd5d1647f4f3
starting write up module morphism def
Kevin Walker <kevin@canyon23.net>
parents:
222
diff
changeset
|
12 |
\def\k{{\bf k}} |
fd5d1647f4f3
starting write up module morphism def
Kevin Walker <kevin@canyon23.net>
parents:
222
diff
changeset
|
13 |
|
71 | 14 |
\def\du{\sqcup} |
15 |
\def\bd{\partial} |
|
16 |
\def\sub{\subset} |
|
83 | 17 |
\def\subeq{\subseteq} |
71 | 18 |
\def\sup{\supset} |
19 |
%\def\setmin{\smallsetminus} |
|
20 |
\def\setmin{\setminus} |
|
21 |
\def\ep{\epsilon} |
|
22 |
\def\sgl{_\mathrm{gl}} |
|
23 |
\def\op{^\mathrm{op}} |
|
24 |
\def\deq{\stackrel{\mathrm{def}}{=}} |
|
25 |
\def\pd#1#2{\frac{\partial #1}{\partial #2}} |
|
216 | 26 |
%\def\lf{\overline{\cC}} |
27 |
\def\lf{\cC} |
|
74 | 28 |
\def\ot{\otimes} |
212 | 29 |
\def\vphi{\varphi} |
107 | 30 |
\def\inv{^{-1}} |
71 | 31 |
|
192 | 32 |
\def\spl{_\pitchfork} |
33 |
||
94 | 34 |
%\def\nn#1{{{\it \small [#1]}}} |
35 |
\def\nn#1{{{\color[rgb]{.2,.5,.6} \small [#1]}}} |
|
71 | 36 |
\long\def\noop#1{} |
37 |
||
38 |
% equations |
|
39 |
\newcommand{\eq}[1]{\begin{displaymath}#1\end{displaymath}} |
|
40 |
\newcommand{\eqar}[1]{\begin{eqnarray*}#1\end{eqnarray*}} |
|
41 |
\newcommand{\eqspl}[1]{\begin{displaymath}\begin{split}#1\end{split}\end{displaymath}} |
|
42 |
||
43 |
% tricky way to iterate macros over a list |
|
44 |
\def\semicolon{;} |
|
45 |
\def\applytolist#1{ |
|
46 |
\expandafter\def\csname multi#1\endcsname##1{ |
|
47 |
\def\multiack{##1}\ifx\multiack\semicolon |
|
48 |
\def\next{\relax} |
|
49 |
\else |
|
50 |
\csname #1\endcsname{##1} |
|
51 |
\def\next{\csname multi#1\endcsname} |
|
52 |
\fi |
|
53 |
\next} |
|
54 |
\csname multi#1\endcsname} |
|
55 |
||
56 |
% \def\cA{{\cal A}} for A..Z |
|
57 |
\def\calc#1{\expandafter\def\csname c#1\endcsname{{\mathcal #1}}} |
|
58 |
\applytolist{calc}QWERTYUIOPLKJHGFDSAZXCVBNM; |
|
59 |
||
60 |
% \DeclareMathOperator{\pr}{pr} etc. |
|
61 |
\def\declaremathop#1{\expandafter\DeclareMathOperator\csname #1\endcsname{#1}} |
|
222
217b6a870532
committing changes from loon lake - mostly small blobs
scott@6e1638ff-ae45-0410-89bd-df963105f760
parents:
216
diff
changeset
|
62 |
\applytolist{declaremathop}{pr}{im}{gl}{ev}{coinv}{tr}{rot}{Eq}{obj}{mor}{ob}{Rep}{Tet}{cat}{Maps}{Diff}{Homeo}{sign}{supp}{Nbd}{res}{rad}; |
71 | 63 |
|
216 | 64 |
\DeclareMathOperator{\kone}{cone} |
71 | 65 |
|
66 |
%%%%%% end excerpt |
|
67 |
||
68 |