preamble.tex
changeset 375 faac9ca8f092
parent 336 7a5a73ec8961
child 378 e5867a64cae5
equal deleted inserted replaced
374:abcbb32288b2 375:faac9ca8f092
    25 \hfuzz2pt % Don't report over-full h-boxes if over-edge is small
    25 \hfuzz2pt % Don't report over-full h-boxes if over-edge is small
    26 % ----------------------------------------------------------------
    26 % ----------------------------------------------------------------
    27 
    27 
    28 % diagrams -------------------------------------------------------
    28 % diagrams -------------------------------------------------------
    29 % figures ---------------------------------------------------------
    29 % figures ---------------------------------------------------------
    30 %%% borrowed from Dror's cobordisms paper, use this to include eps or pdf graphics.
    30 \newcommand{\pathtodiagrams}{\pathtotrunk diagrams/}
    31 \ifpdf
       
    32 \newcommand{\pathtodiagrams}{\pathtotrunk diagrams/pdf/}
       
    33 \else
       
    34 \newcommand{\pathtodiagrams}{\pathtotrunk diagrams/eps/}
       
    35 \fi
       
    36 
    31 
    37 \newcommand{\mathfig}[2]{\ensuremath{\hspace{-3pt}\begin{array}{c}%
    32 \newcommand{\mathfig}[2]{\ensuremath{\hspace{-3pt}\begin{array}{c}%
    38   \raisebox{-2.5pt}{\includegraphics[width=#1\textwidth]{\pathtodiagrams #2}}%
    33   \raisebox{-2.5pt}{\includegraphics[width=#1\textwidth]{\pathtodiagrams #2}}%
    39 \end{array}\hspace{-3pt}}}
    34 \end{array}\hspace{-3pt}}}
    40 \newcommand{\reflectmathfig}[2]{{\hspace{-3pt}\begin{array}{c}%
    35 \newcommand{\reflectmathfig}[2]{{\hspace{-3pt}\begin{array}{c}%