preamble.tex
changeset 157 d45e55d25dff
parent 154 8d7c569af8a7
child 166 75f5c197a0d4
equal deleted inserted replaced
156:9eae41b8f7d7 157:d45e55d25dff
    34 \newcommand{\pathtodiagrams}{\pathtotrunk diagrams/pdf/}
    34 \newcommand{\pathtodiagrams}{\pathtotrunk diagrams/pdf/}
    35 \else
    35 \else
    36 \newcommand{\pathtodiagrams}{\pathtotrunk diagrams/eps/}
    36 \newcommand{\pathtodiagrams}{\pathtotrunk diagrams/eps/}
    37 \fi
    37 \fi
    38 
    38 
    39 \newcommand{\mathfig}[2]{{\hspace{-3pt}\begin{array}{c}%
    39 \newcommand{\mathfig}[2]{\ensuremath{\hspace{-3pt}\begin{array}{c}%
    40   \raisebox{-2.5pt}{\includegraphics[width=#1\textwidth]{\pathtodiagrams #2}}%
    40   \raisebox{-2.5pt}{\includegraphics[width=#1\textwidth]{\pathtodiagrams #2}}%
    41 \end{array}\hspace{-3pt}}}
    41 \end{array}\hspace{-3pt}}}
    42 \newcommand{\reflectmathfig}[2]{{\hspace{-3pt}\begin{array}{c}%
    42 \newcommand{\reflectmathfig}[2]{{\hspace{-3pt}\begin{array}{c}%
    43   \raisebox{-2.5pt}{\reflectbox{\includegraphics[width=#1\textwidth]{\pathtodiagrams #2}}}%
    43   \raisebox{-2.5pt}{\reflectbox{\includegraphics[width=#1\textwidth]{\pathtodiagrams #2}}}%
    44 \end{array}\hspace{-3pt}}}
    44 \end{array}\hspace{-3pt}}}