author | scott@6e1638ff-ae45-0410-89bd-df963105f760 |
Fri, 04 Jul 2008 05:22:12 +0000 | |
changeset 31 | e155c518ce31 |
parent 28 | f844cffa5c03 |
child 32 | 538f38ddf395 |
permissions | -rw-r--r-- |
8 | 1 |
%auto-ignore |
2 |
%this ensures the arxiv doesn't try to start TeXing here. |
|
3 |
||
4 |
\usepackage{amsmath,amssymb,amsfonts} |
|
5 |
\usepackage{ifpdf} |
|
6 |
||
7 |
%\ifpdf |
|
8 |
%\usepackage[pdftex,all,color]{xy} |
|
9 |
%\else |
|
10 |
\usepackage[all,color]{xy} |
|
11 |
%\fi |
|
12 |
||
13 |
\SelectTips{cm}{} |
|
14 |
% This may speed up compilation of complex documents with many xymatrices. |
|
15 |
%\CompileMatrices |
|
16 |
||
17 |
% ---------------------------------------------------------------- |
|
18 |
\vfuzz2pt % Don't report over-full v-boxes if over-edge is small |
|
19 |
\hfuzz2pt % Don't report over-full h-boxes if over-edge is small |
|
20 |
% ---------------------------------------------------------------- |
|
21 |
||
21 | 22 |
\def\RCS$#1: #2 ${\expandafter\def\csname RCS#1\endcsname{#2}} |
22
ada83e7228eb
rearranging; stating all the "properties" up front
scott@6e1638ff-ae45-0410-89bd-df963105f760
parents:
21
diff
changeset
|
23 |
\RCS$Revision$ |
ada83e7228eb
rearranging; stating all the "properties" up front
scott@6e1638ff-ae45-0410-89bd-df963105f760
parents:
21
diff
changeset
|
24 |
\RCS$Date$ |
21 | 25 |
\newcommand{\versioninfo}{Version \RCSRevision; Last commit \RCSDate} |
26 |
||
8 | 27 |
% diagrams ------------------------------------------------------- |
28 |
% figures --------------------------------------------------------- |
|
29 |
%%% borrowed from Dror's cobordisms paper, use this to include eps or pdf graphics. |
|
30 |
\ifpdf |
|
31 |
\newcommand{\pathtodiagrams}{\pathtotrunk diagrams/pdf/} |
|
32 |
\else |
|
33 |
\newcommand{\pathtodiagrams}{\pathtotrunk diagrams/eps/} |
|
34 |
\fi |
|
35 |
||
36 |
\newcommand{\mathfig}[2]{{\hspace{-3pt}\begin{array}{c}% |
|
37 |
\raisebox{-2.5pt}{\includegraphics[width=#1\textwidth]{\pathtodiagrams #2}}% |
|
38 |
\end{array}\hspace{-3pt}}} |
|
39 |
\newcommand{\reflectmathfig}[2]{{\hspace{-3pt}\begin{array}{c}% |
|
40 |
\raisebox{-2.5pt}{\reflectbox{\includegraphics[width=#1\textwidth]{\pathtodiagrams #2}}}% |
|
41 |
\end{array}\hspace{-3pt}}} |
|
42 |
\newcommand{\rotatemathfig}[3]{{\hspace{-3pt}\begin{array}{c}% |
|
43 |
\raisebox{-2.5pt}{\rotatebox{#2}{\includegraphics[height=#1\textwidth]{\pathtodiagrams #3}}}% |
|
44 |
\end{array}\hspace{-3pt}}} |
|
45 |
\newcommand{\placefig}[2]{\includegraphics[width=#1\linewidth]{\pathtodiagrams #2}} |
|
46 |
||
47 |
\ifpdf |
|
48 |
\usepackage[pdftex,plainpages=false,hypertexnames=false,pdfpagelabels]{hyperref} |
|
49 |
\else |
|
50 |
\usepackage[dvips,plainpages=false,hypertexnames=false]{hyperref} |
|
51 |
\fi |
|
52 |
\newcommand{\arxiv}[1]{\href{http://arxiv.org/abs/#1}{\tt arXiv:\nolinkurl{#1}}} |
|
53 |
\newcommand{\doi}[1]{\href{http://dx.doi.org/#1}{{\tt DOI:#1}}} |
|
54 |
\newcommand{\mathscinet}[1]{\href{http://www.ams.org/mathscinet-getitem?mr=#1}{\tt #1}} |
|
55 |
||
56 |
||
57 |
% THEOREMS ------------------------------------------------------- |
|
58 |
\theoremstyle{plain} |
|
59 |
\newtheorem*{fact}{Fact} |
|
60 |
\newtheorem{prop}{Proposition}[section] |
|
61 |
\newtheorem{conj}[prop]{Conjecture} |
|
62 |
\newtheorem{thm}[prop]{Theorem} |
|
63 |
\newtheorem{lem}[prop]{Lemma} |
|
64 |
\newtheorem{lemma}[prop]{Lemma} |
|
65 |
\newtheorem{cor}[prop]{Corollary} |
|
66 |
\newtheorem*{cor*}{Corollary} |
|
67 |
\newtheorem*{exc}{Exercise} |
|
68 |
%\theoremstyle{definition} |
|
69 |
\newtheorem{defn}[prop]{Definition} % numbered definition |
|
70 |
\newtheorem*{defn*}{Definition} % unnumbered definition |
|
71 |
\newtheorem{question}{Question} |
|
22
ada83e7228eb
rearranging; stating all the "properties" up front
scott@6e1638ff-ae45-0410-89bd-df963105f760
parents:
21
diff
changeset
|
72 |
\newtheorem{property}{Property} |
8 | 73 |
\newenvironment{rem}{\noindent\textsl{Remark.}}{} % perhaps looks better than rem above? |
74 |
\numberwithin{equation}{section} |
|
75 |
%\numberwithin{figure}{section} |
|
76 |
||
77 |
% Marginal notes in draft mode ----------------------------------- |
|
78 |
\newcommand{\scott}[1]{\stepcounter{comment}{{\color{blue} $\star^{(\arabic{comment})}$}}\marginpar{\color{blue} $\star^{(\arabic{comment})}$ \usefont{T1}{scott}{m}{n} #1 --S}} % draft mode |
|
24 | 79 |
\newcommand{\kevin}[1]{\stepcounter{comment}{\color{red} $\star^{(\arabic{comment})}$}\marginpar{\color{red} $\star^{(\arabic{comment})}$ #1 --K}} % draft mode |
8 | 80 |
\newcommand{\comment}[1]{\stepcounter{comment}$\star^{(\arabic{comment})}$\marginpar{\tiny $\star^{(\arabic{comment})}$ #1}} % draft mode |
81 |
\newcounter{comment} |
|
82 |
\newcommand{\noop}[1]{} |
|
83 |
\newcommand{\todo}[1]{\textbf{TODO: #1}} |
|
84 |
||
85 |
% \mathrlap -- a horizontal \smash-------------------------------- |
|
86 |
% For comparison, the existing overlap macros: |
|
87 |
% \def\llap#1{\hbox to 0pt{\hss#1}} |
|
88 |
% \def\rlap#1{\hbox to 0pt{#1\hss}} |
|
89 |
\def\clap#1{\hbox to 0pt{\hss#1\hss}} |
|
90 |
\def\mathllap{\mathpalette\mathllapinternal} |
|
91 |
\def\mathrlap{\mathpalette\mathrlapinternal} |
|
92 |
\def\mathclap{\mathpalette\mathclapinternal} |
|
93 |
\def\mathllapinternal#1#2{% |
|
94 |
\llap{$\mathsurround=0pt#1{#2}$}} |
|
95 |
\def\mathrlapinternal#1#2{% |
|
96 |
\rlap{$\mathsurround=0pt#1{#2}$}} |
|
97 |
\def\mathclapinternal#1#2{% |
|
98 |
\clap{$\mathsurround=0pt#1{#2}$}} |
|
99 |
||
100 |
% MATH ----------------------------------------------------------- |
|
101 |
\newcommand{\Natural}{\mathbb N} |
|
102 |
\newcommand{\Integer}{\mathbb Z} |
|
103 |
\newcommand{\Rational}{\mathbb Q} |
|
104 |
\newcommand{\Real}{\mathbb R} |
|
105 |
\newcommand{\Complex}{\mathbb C} |
|
106 |
\newcommand{\Field}{\mathbb F} |
|
107 |
||
108 |
\newcommand{\Id}{\boldsymbol{1}} |
|
109 |
\renewcommand{\imath}{\mathfrak{i}} |
|
110 |
\renewcommand{\jmath}{\mathfrak{j}} |
|
111 |
||
112 |
\newcommand{\qRing}{\Integer[q,q^{-1}]} |
|
113 |
\newcommand{\qMod}{\qRing-\operatorname{Mod}} |
|
114 |
\newcommand{\ZMod}{\Integer-\operatorname{Mod}} |
|
115 |
||
15
7340ab80db25
rearranging the Hochschild section. Splitting things up into lemmas, and explaining why those lemmas are what we need.
scott@6e1638ff-ae45-0410-89bd-df963105f760
parents:
13
diff
changeset
|
116 |
\newcommand{\into}{\hookrightarrow} |
7340ab80db25
rearranging the Hochschild section. Splitting things up into lemmas, and explaining why those lemmas are what we need.
scott@6e1638ff-ae45-0410-89bd-df963105f760
parents:
13
diff
changeset
|
117 |
\newcommand{\onto}{\twoheadrightarrow} |
7340ab80db25
rearranging the Hochschild section. Splitting things up into lemmas, and explaining why those lemmas are what we need.
scott@6e1638ff-ae45-0410-89bd-df963105f760
parents:
13
diff
changeset
|
118 |
\newcommand{\iso}{\cong} |
7340ab80db25
rearranging the Hochschild section. Splitting things up into lemmas, and explaining why those lemmas are what we need.
scott@6e1638ff-ae45-0410-89bd-df963105f760
parents:
13
diff
changeset
|
119 |
\newcommand{\actsOn}{\circlearrowright} |
23
7b0a43bdd3c4
writing definitions of topological a_\infty categories, modules, etc.
scott@6e1638ff-ae45-0410-89bd-df963105f760
parents:
22
diff
changeset
|
120 |
\newcommand{\isoto}{\xrightarrow{\iso}} |
28 | 121 |
\newcommand{\quismto}{\xrightarrow[\text{q.i.}]{\iso}} |
8 | 122 |
|
123 |
\newcommand{\htpy}{\simeq} |
|
124 |
||
125 |
\newcommand{\restrict}[2]{#1{}_{\mid #2}{}} |
|
126 |
\newcommand{\set}[1]{\left\{#1\right\}} |
|
127 |
\newcommand{\setc}[2]{\left\{#1 \;\left| \; #2 \right. \right\}} |
|
128 |
\newcommand{\relations}[2]{\left<#1 \;\left| \; #2 \right. \right>} |
|
129 |
\newcommand{\cone}[3]{C\left(#1 \xrightarrow{#2} #3\right)} |
|
130 |
\newcommand{\pairing}[2]{\left\langle#1 ,#2 \right\rangle} |
|
131 |
||
13 | 132 |
\newcommand{\floor}[1]{\left\lfloor#1\right\rfloor} |
133 |
\newcommand{\norm}[1]{\left|\left|#1\right|\right|} |
|
134 |
||
8 | 135 |
\newcommand{\card}[1]{\sharp{#1}} |
136 |
||
137 |
\newcommand{\bdy}{\partial} |
|
138 |
\newcommand{\compose}{\circ} |
|
139 |
\newcommand{\eset}{\emptyset} |
|
140 |
||
141 |
\newcommand{\Cat}{\mathcal{C}} |
|
142 |
||
143 |
\newcommand{\psmallmatrix}[1]{\left(\begin{smallmatrix} #1 \end{smallmatrix}\right)} |
|
144 |
||
145 |
\newcommand{\qiq}[2]{[#1]_{#2}} |
|
146 |
\newcommand{\qi}[1]{\qiq{#1}{q}} |
|
147 |
\newcommand{\qdim}{\operatorname{dim_q}} |
|
148 |
||
149 |
\newcommand{\directSum}{\oplus} |
|
150 |
\newcommand{\DirectSum}{\bigoplus} |
|
151 |
\newcommand{\tensor}{\otimes} |
|
152 |
\newcommand{\Tensor}{\bigotimes} |
|
153 |
||
154 |
\newcommand{\db}[1]{\left(\left(#1\right)\right)} |
|
155 |
||
156 |
\newcommand{\Mat}[1]{\mathbf{Mat}\left(#1\right)} |
|
157 |
\newcommand{\Inv}[1]{\operatorname{Inv}\left(#1\right)} |
|
158 |
\newcommand{\Hom}[3]{\operatorname{Hom}_{#1}\left(#2,#3\right)} |
|
159 |
\newcommand{\End}[1]{\operatorname{End}\left(#1\right)} |
|
160 |
||
22
ada83e7228eb
rearranging; stating all the "properties" up front
scott@6e1638ff-ae45-0410-89bd-df963105f760
parents:
21
diff
changeset
|
161 |
\newcommand{\CD}[1]{C_*(\Diff(#1))} |
8 | 162 |
|
163 |
\newcommand{\directSumStack}[2]{{\begin{matrix}#1 \\ \DirectSum \\#2\end{matrix}}} |
|
164 |
\newcommand{\directSumStackThree}[3]{{\begin{matrix}#1 \\ \DirectSum \\#2 \\ \DirectSum \\#3\end{matrix}}} |
|
165 |
||
166 |
\newcommand{\grading}[1]{{\color{blue}\{#1\}}} |
|
167 |
\newcommand{\shift}[1]{\left[#1\right]} |
|
168 |
||
169 |
\newenvironment{narrow}[2]{% |
|
170 |
\vspace{-0.4cm}% horrible hack, by scott % this only seems to be appropriate in beamer mode... |
|
171 |
\begin{list}{}{% |
|
172 |
\setlength{\topsep}{0pt}% |
|
173 |
\setlength{\leftmargin}{#1}% |
|
174 |
\setlength{\rightmargin}{#2}% |
|
175 |
\setlength{\listparindent}{\parindent}% |
|
176 |
\setlength{\itemindent}{\parindent}% |
|
177 |
\setlength{\parsep}{\parskip}}% |
|
178 |
\item[]}{\end{list}} |
|
179 |
% ---------------------------------------------------------------- |