preamble.tex
changeset 157 d45e55d25dff
parent 154 8d7c569af8a7
child 166 75f5c197a0d4
--- a/preamble.tex	Sat Oct 31 19:49:59 2009 +0000
+++ b/preamble.tex	Sun Nov 01 01:56:59 2009 +0000
@@ -36,7 +36,7 @@
 \newcommand{\pathtodiagrams}{\pathtotrunk diagrams/eps/}
 \fi
 
-\newcommand{\mathfig}[2]{{\hspace{-3pt}\begin{array}{c}%
+\newcommand{\mathfig}[2]{\ensuremath{\hspace{-3pt}\begin{array}{c}%
   \raisebox{-2.5pt}{\includegraphics[width=#1\textwidth]{\pathtodiagrams #2}}%
 \end{array}\hspace{-3pt}}}
 \newcommand{\reflectmathfig}[2]{{\hspace{-3pt}\begin{array}{c}%