# HG changeset patch # User kevin@6e1638ff-ae45-0410-89bd-df963105f760 # Date 1244218477 0 # Node ID 6006f6b8f24fae11061cad5434178fa36bbbfefc # Parent 5ab0e6f0d89ef1a24b115e5648406feb05ca15e8 ... diff -r 5ab0e6f0d89e -r 6006f6b8f24f blob1.tex --- a/blob1.tex Fri Jun 05 16:10:37 2009 +0000 +++ b/blob1.tex Fri Jun 05 16:14:37 2009 +0000 @@ -3,62 +3,7 @@ \newcommand{\pathtotrunk}{./} \input{text/article_preamble.tex} \input{text/top_matter.tex} - - -%%%%% excerpts from KW's include file of standard macros - -\def\z{\mathbb{Z}} -\def\r{\mathbb{R}} -\def\c{\mathbb{C}} -\def\t{\mathbb{T}} - -\def\du{\sqcup} -\def\bd{\partial} -\def\sub{\subset} -\def\sup{\supset} -%\def\setmin{\smallsetminus} -\def\setmin{\setminus} -\def\ep{\epsilon} -\def\sgl{_\mathrm{gl}} -\def\op{^\mathrm{op}} -\def\deq{\stackrel{\mathrm{def}}{=}} -\def\pd#1#2{\frac{\partial #1}{\partial #2}} -\def\lf{\overline{\cC}} - -\def\nn#1{{{\it \small [#1]}}} -\long\def\noop#1{} - -% equations -\newcommand{\eq}[1]{\begin{displaymath}#1\end{displaymath}} -\newcommand{\eqar}[1]{\begin{eqnarray*}#1\end{eqnarray*}} -\newcommand{\eqspl}[1]{\begin{displaymath}\begin{split}#1\end{split}\end{displaymath}} - -% tricky way to iterate macros over a list -\def\semicolon{;} -\def\applytolist#1{ - \expandafter\def\csname multi#1\endcsname##1{ - \def\multiack{##1}\ifx\multiack\semicolon - \def\next{\relax} - \else - \csname #1\endcsname{##1} - \def\next{\csname multi#1\endcsname} - \fi - \next} - \csname multi#1\endcsname} - -% \def\cA{{\cal A}} for A..Z -\def\calc#1{\expandafter\def\csname c#1\endcsname{{\mathcal #1}}} -\applytolist{calc}QWERTYUIOPLKJHGFDSAZXCVBNM; - -% \DeclareMathOperator{\pr}{pr} etc. -\def\declaremathop#1{\expandafter\DeclareMathOperator\csname #1\endcsname{#1}} -\applytolist{declaremathop}{pr}{im}{gl}{ev}{coinv}{tr}{rot}{Eq}{obj}{mor}{ob}{Rep}{Tet}{cat}{Maps}{Diff}{sign}{supp}; - - - -%%%%%% end excerpt - - +\input{text/kw_macros.tex} diff -r 5ab0e6f0d89e -r 6006f6b8f24f text/kw_macros.tex --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/text/kw_macros.tex Fri Jun 05 16:14:37 2009 +0000 @@ -0,0 +1,55 @@ + +%%%%% excerpts from KW's include file of standard macros + +\def\z{\mathbb{Z}} +\def\r{\mathbb{R}} +\def\c{\mathbb{C}} +\def\t{\mathbb{T}} + +\def\du{\sqcup} +\def\bd{\partial} +\def\sub{\subset} +\def\sup{\supset} +%\def\setmin{\smallsetminus} +\def\setmin{\setminus} +\def\ep{\epsilon} +\def\sgl{_\mathrm{gl}} +\def\op{^\mathrm{op}} +\def\deq{\stackrel{\mathrm{def}}{=}} +\def\pd#1#2{\frac{\partial #1}{\partial #2}} +\def\lf{\overline{\cC}} + +\def\nn#1{{{\it \small [#1]}}} +\long\def\noop#1{} + +% equations +\newcommand{\eq}[1]{\begin{displaymath}#1\end{displaymath}} +\newcommand{\eqar}[1]{\begin{eqnarray*}#1\end{eqnarray*}} +\newcommand{\eqspl}[1]{\begin{displaymath}\begin{split}#1\end{split}\end{displaymath}} + +% tricky way to iterate macros over a list +\def\semicolon{;} +\def\applytolist#1{ + \expandafter\def\csname multi#1\endcsname##1{ + \def\multiack{##1}\ifx\multiack\semicolon + \def\next{\relax} + \else + \csname #1\endcsname{##1} + \def\next{\csname multi#1\endcsname} + \fi + \next} + \csname multi#1\endcsname} + +% \def\cA{{\cal A}} for A..Z +\def\calc#1{\expandafter\def\csname c#1\endcsname{{\mathcal #1}}} +\applytolist{calc}QWERTYUIOPLKJHGFDSAZXCVBNM; + +% \DeclareMathOperator{\pr}{pr} etc. +\def\declaremathop#1{\expandafter\DeclareMathOperator\csname #1\endcsname{#1}} +\applytolist{declaremathop}{pr}{im}{gl}{ev}{coinv}{tr}{rot}{Eq}{obj}{mor}{ob}{Rep}{Tet}{cat}{Maps}{Diff}{sign}{supp}; + + + +%%%%%% end excerpt + +