Index: mttroot/mtt/bin/trans/mtt.sty ================================================================== --- mttroot/mtt/bin/trans/mtt.sty +++ mttroot/mtt/bin/trans/mtt.sty @@ -10,10 +10,13 @@ % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % %% Version control history % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % %% $Id$ % %% $Log$ +% %% Revision 1.2 1997/12/06 15:51:06 peterg +% %% Cahged order of fig args to put file first. +% %% % %% Revision 1.1 1997/05/19 16:48:10 peterg % %% Initial revision % %% % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @@ -39,30 +42,30 @@ %Postscript figures \usepackage{epsfig} % Figure definition - \newcommand{\fig}[3]{ + \newcommand{\fig}[4]{ \begin{figure}[htbp] \centerline{ \shadowbox{ - \epsfig{file=#1.ps,width=#2\textwidth} + \epsfig{file=#1.ps,width=#3\textwidth} } } - \caption{#3} - \label{#1} + \caption{#4} + \label{#2} \end{figure} } % Rotated figure definition - \newcommand{\rfig}[3]{ + \newcommand{\rfig}[4]{ \begin{figure}[htbp] \centerline{ - \epsfig{file=#1.ps,width=#2\textheight,angle=90} + \epsfig{file=#1.ps,width=#3\textheight,angle=90} } - \caption{#3} - \label{#1} + \caption{#4} + \label{#2} \end{figure} } % Read in a verbatim file \newcommand{\txt}[2]{