pnas/preamble.tex
changeset 573 8378e03d3c7f
parent 572 e0f5ec582725
child 574 e5ab1b074d88
--- a/pnas/preamble.tex	Mon Oct 25 13:08:15 2010 -0700
+++ b/pnas/preamble.tex	Mon Oct 25 13:36:12 2010 -0700
@@ -48,6 +48,7 @@
 \newtheorem{property}{Property}
 \newtheorem{prop}{Proposition}
 \newtheorem{thm}[prop]{Theorem}
+\newtheorem{defn}[prop]{Definition}
 
 \newenvironment{rem}{\noindent\textsl{Remark.}}{}
 
@@ -75,6 +76,12 @@
 \newcommand{\googlebooks}[1]{(preview at \href{http://books.google.com/books?id=#1}{google books})}
 
 
+% figures
+
+\newcommand{\mathfig}[2]{\ensuremath{\hspace{-3pt}\begin{array}{c}%
+  \raisebox{-2.5pt}{\includegraphics[width=#1\textwidth]{diagrams/#2}}%
+\end{array}\hspace{-3pt}}}
+
 
 % packages