%
%  Program system names:  (TMS, TCS)
%

\newcommand{\tcs}{{\small\rm TCS}}
\newcommand{\tcss}{\tcs\ }
\newcommand{\Tcs}{{T\small\rm CS}}
\newcommand{\Tcss}{\Tcs\ }
\newcommand{\tms}{{\small\rm TMS}}
\newcommand{\tmss}{\tms\ }
\newcommand{\tmm}{{\small\rm TMM}}
\newcommand{\tmms}{\tmm\ }
\newcommand{\vm}{{\small\rm VM}}
\newcommand{\vms}{\vm\ }
\newcommand{\Vm}{{V\small\rm M}}
\newcommand{\Vms}{\Vm\ }

%
%  Other useful macros
%

\newcommand{\ptime}{\mbox{\rm time}}
\newcommand{\btime}{\mbox{\rm time}_{\rm b}}
\newcommand{\etime}{\mbox{\rm time}_{\rm e}}
\newcommand{\vvalue}{\mbox{\rm value}}

%%
%% \signatureline{<label>}{<signature-information>}
%% e.g.:  \signatureline{Supervisor}{Prof. Noit All\\Dept. of Alchemy}
%%

\newcommand{\signatureline}[2]{\noindent\hbox to
       \columnwidth{#1: \hrulefill}\noindent{\raggedleft #2}}

%% A centered legend for use in figures and tables.
%%
\newlength{\legendwidth}
\newcommand{\legend}[1]{\begin{center}\setlength{\legendwidth}{\textwidth}
\addtolength{\legendwidth}{-1in}\parbox{\legendwidth}{#1}\\ \end{center}}

% STATEMENT ENVIRONMENT

\newenvironment{statement}{\begin{equation}\begin{minipage}[b]{5.25in}\tt}{\end{minipage}\end{equation}}

%
%  PROGRAM ENVIRONMENT.
%

\input /u/medg/pub/tarlatex/program.tex
\input psadobe.tex

%
% Change Bibliography to appear in the contents section and be numbered.
%

\def\thebibliography#1{\section{References}\list
 {[\arabic{enumi}]}{\settowidth\labelwidth{[#1]}\leftmargin\labelwidth
 \advance\leftmargin\labelsep
 \usecounter{enumi}}
 \def\newblock{\hskip .11em plus .33em minus -.07em}
 \sloppy
 \sfcode`\.=1000\relax}
\let\endthebibliography=\endlist
