%
% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% %%%%% Model Transformation Tools %%%%%
% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
% mtt.sty -- LaTeX style file for MTT
% P.J.Gawthrop May 1997
% Copyright (c) P.J.Gawthrop, 1997.
% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% %% Version control history
% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% %% $Id$
% %% $Log$
% %% Revision 1.3 1997/12/06 16:22:10 peterg
% %% Added another argument - the label.
% %%
% %% 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
% %%
% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%Verbatim file input
\usepackage{verbatim}
\usepackage{moreverb}
%Long tables
%\usepackage{supertabular}
%AMS maths
\usepackage{amsmath}
%Fancy headings
\usepackage{fancyheadings}
%Fancy boxes
\usepackage{fancybox}
%Citations package
%\usepackage{chicago}
%Postscript figures
\usepackage{epsfig}
% Figure definition
\newcommand{\fig}[4]{
\begin{figure}[htbp]
\centerline{
\shadowbox{
\epsfig{file=#1.ps,width=#3\textwidth}
}
}
\caption{#4}
\label{#2}
\end{figure}
}
% Rotated figure definition
\newcommand{\rfig}[4]{
\begin{figure}[htbp]
\centerline{
\epsfig{file=#1.ps,width=#3\textheight,angle=90}
}
\caption{#4}
\label{#2}
\end{figure}
}
% Read in a verbatim file
\newcommand{\txt}[2]{
\subsubsection*{#1}
\verbatimtabinput{#2}
}
% Read in a LaTeX file
\newcommand{\Input}[1]{
\input{#1}
}
% Page refs as well.
\newcommand{\Ref}[1]{\ref{#1} (on page \pageref{#1})}