%VERSION 1.0 Fri Oct 15 09:33:47 CDT 1999

%THIS IS FILE usmpream.tex WHICH ALLOWS YOU TO DEFINE COMMONLY USED 
% COMMANDS AS MACROS WHICH CAN BE INVOKED FROM YOUR FILE.
% FOR EXAMPLE, USING  \bw IN AN EQUATION ENVIRONMENT, YOU WOULD NOT HAVE
% TO USE  {\bf w} REPEATELY. THE COMMAND \bf  MAKES THE BOLD w  IN THIS EXAMPLE,
% AND HAS TO BE INCLOSED IN BRACES TO KEEP IT LOCAL TO THE ONE CHARACTER w



%THIS MAKES LOGICAL STATES POSSIBLE
\newcommand{\LAnd}{\wedge}
\newcommand{\Or}{\vee}
\newcommand{\Not}{\sim}
\newcommand{\Int}{\cap}
\newcommand{\Union}{\cup}

%DEFINES THE COMBINATORIAL OF mCn. THE COMMAND \ncm IS FOR EQUATIONS
% AND \ncms IS FOR TEXT MATH.
\newcommand{\ncm}[2]{
\left( \kern -.50em
\begin{array}{c}
#1 \\
#2
\end{array}
\kern -.50em \right)
}
\newcommand{\ncms}[2]{
\left(  \kern -.38em
\begin{array}{c}
#1 \\[-5pt]
#2
\end{array}
 \kern -.38em \right)
}



%THIS MAKES THE AMSLATEX BLACKBOARD FONTS AVAILABLE
\DeclareSymbolFont{AMSb}{U}{msb}{m}{n}% or use amsfonts package
\DeclareMathSymbol{\C}{\mathalpha}{AMSb}{"43}
\DeclareMathSymbol{\R}{\mathalpha}{AMSb}{"52}



% THESE COMMANDS ARE USEFUL IN THE ABSCENSE OF BLACKBOARD FONTS.

\def\Re{{\rm Re}}
\def\field{{{\sf l} \kern -.10em {\sf F} }}
\def\fields{{{\sf l} \kern -.10em {\sf F} }}
\def\natural{{{\sf l} \kern -.10em {\sf N} }}
\def\naturals{{{\sf l} \kern -.10em {\sf N} }}
\def\rational{{{\sf l} \kern - 0.40em {\sf Q} }}
\def\rationals{{{\sf l} \kern - 0.40em {\sf Q} }}
\def\integer{{{\sf Z } \kern - 0.4em {\sf Z}   }}
\def\integers{{{\sf Z } \kern - 0.4em {\sf Z}   }}
\def\complex{{{\sf l} \kern -.418em {\sf C} }}
\def\reals{{{\sf l} \kern -.10em {\sf R} }}
\def\real{{{\sf l} \kern -.10em {\sf R} }}

\def\realrm{{{\rm l} \kern -.15em {\rm R} }}
\def\fieldrm{{{\rm l} \kern -.15em {\rm F} }}
\def\naturalrm{{{\rm l} \kern -.16em {\rm N} }}



% THESE WILL IMPROVE THE PLACEMENT OF FIGURES ON THE PAGE.
% THESE HAVE BEEN CHANGED TO THESE VALUES IN THE STYLE FILE, HOWEVER YOU MAY
% WANT TO MODIFY IT FURTHER IF FLOATING FIGURES ARE A PROBLEM.

\renewcommand\floatpagefraction{.99}
\renewcommand\topfraction{.99}
\renewcommand\bottomfraction{.99}
\renewcommand\textfraction{.01}

% THIS WILL MAKE THE \hlines COMMAND PRODUCE THICKER LINES
% IN THE TABLE.

\setlength{\doublerulesep}{\arrayrulewidth}


% THIS DEFINES A COUNTER FOR THE LIST ENVIRONMENT.

\newcounter{bean}


% THESE DEFINE THE FRACTION 1/2 FOR USE IN FULL PAGE EQUATIONS, INLINE, 
%  AND IN SUBSCRIPTS.

\newcommand{\ffd}{{\displaystyle \frac{1}{2}}}
\newcommand{\ff}{\mbox{$\frac{1}{2}$}}
\newcommand{\ffw}{{\scriptscriptstyle \frac{1}{2}}}

% THIS WILL PUT A BOX AT THE END OF THE PROOF.
% THIS CHARACTER APPEARS TO BE DROPPED FROM LaTeX2E.
% IT REQUIRES A RENEWCOMMAND SINCE newcommand CAUSES AN ERROR.

\renewcommand{\Box}{
  {\vbox{\hrule height0.6pt\hbox{%
   \vrule height1.3ex width0.6pt\hskip0.8ex
   \vrule width0.6pt}\hrule height0.6pt
  }}
}

% THIS WILL PUT A BLACK BOX AT THE END OF THE PROOF OR THEOREM.

\newcommand{\bx}{\hfill  $\Box$}
\newcommand{\ex}{\hfill $\Diamond$}

%THESE COMMANDS ARE USED FOR PRESENTATION SLIDES TO BEGIN AND END A NEW PAGE
\newcommand{\new}{\newpage \vspace*{-30pt} }
\newcommand{\old}{\vfill \vspace*{12pt} \hrule }
\newcommand{\next}{\vfill \vspace*{12pt} \hrule   \newpage \vspace*{-30pt}}
\newcommand{\nexts}[1]{\vfill \vspace*{12pt} \hrule   \newpage \vspace*{-18pt} 
                        {\centering \section*{#1}} \bigskip  }
\newcommand{\heading}[1]{\vspace*{12pt}  {\centering \section*{#1}} \bigskip}




% THESE DEFINE SHORT NAMES FOR displaystyle AND textstyle FORCING TEX
%  PRODUCE THE STYLE DESIRED.

\newcommand{\ts}{\textstyle}
\newcommand{\dst}{\displaystyle}

% THIS ALLOWS FOR SOME SHORT SPACE TO BE INSERTED, TYPICALLY AFTER AN EQUATION.
% THE USE OF nos AND no IS TO ALLOW EXTRA SPACE TO BE USED IN THE TEXT
% WITHOUT HAVING INDENTATION OCCUR.

\newcommand{\vs}{\vspace*{7pt}}
\newcommand{\vspcl}{\vspace*{7pt} \noindent}
\newcommand{\vl}{\vspace*{12pt}}
\newcommand{\vsn}{\vspace*{-7pt}}
\newcommand{\vln}{\vspace*{-12pt}}
\newcommand{\nos}{\vspace{12pt} \noindent}
\newcommand{\no}{\noindent}
\newcommand{\hs}{\hspace*}


% THIS ALLOWS THE LINE NUMBER TO BE REMOVED IN THE eqnarray FORMAT.
\newcommand{\nel}{\nonumber         \\}

% THESE DEFINE COMMONLY USED COMMANDS IN THIS DOCUMENT.
% THERE ARE TWO FORMATS newcommand OR def:

\newcommand{\bw}{{\bf w}}
\newcommand{\bW}{{\bf W}}



\def\ba{{\bf a}}
\def\bb{{\bf b}}

% THE COMMAND \p IS DEFINED IN THE STYLE FILE TO REMOVE SOME SPACE AFTER
% A PERIOD. TYPICALLY THIS IS OCCURS IN TEXT AS:
%
%                   Sec. \ref{sec:labelsection}
%
% IT IS BETTER TO WRITE THIS AS:
%
%                   Sec.\p\ref{sec:labelsection}
%
% THIS PREVENTS WIDE SPACING AS IF THE PERIOD AFTER Sec ENDS A SENTENCE.



%DEFINE COUNTERS FOR USE IN OUTLINES

% LISTS USING I, II, III, IV...
\newcounter{beanRoman}
\newcommand{\BRoman}[2]{
\begin{list}
{{#1}\Roman{beanRoman}{#2}}{\usecounter{beanRoman}
%\setlength{\parsep}{2pt}
\setlength{\rightmargin}{0cm} \setlength{\leftmargin}{0.8cm}}
                       }
\newcommand{\ERoman}{\end{list}}


% LISTS USING A. B. C. D...
\newcounter{beanAlpha}
\newcommand{\BAlpha}[2]{
\begin{list}
{{#1}\Alph{beanAlpha}{#2}}{\usecounter{beanAlpha}
%\setlength{\parsep}{2pt}
\setlength{\rightmargin}{0cm} \setlength{\leftmargin}{0.8cm}}
                       }
\newcommand{\EAlpha}{\end{list}}


% LISTS USING a. b. c. d...
\newcounter{beanalpha}
\newcommand{\Balpha}[2]{
\begin{list}
{{#1}\alph{beanalpha}{#2}}{\usecounter{beanalpha}
%\setlength{\parsep}{2pt}
\setlength{\rightmargin}{0cm} \setlength{\leftmargin}{0.8cm}}
                       }
\newcommand{\Ealpha}{\end{list}}



% LISTS USING i. ii. iii...
\newcounter{beanroman}
\newcommand{\Broman}[2]{
\begin{list}
{{#1}\roman{beanroman}{#2}}{\usecounter{beanroman}
%\setlength{\parsep}{2pt}
\setlength{\rightmargin}{0cm} \setlength{\leftmargin}{0.8cm}}
                        }
\newcommand{\Eroman}{\end{list}}


% LISTS USING 1. 2. 3...
\newcounter{beanarabic}
\newcommand{\Barabic}[2]{
\begin{list}
{{#1}\arabic{beanarabic}{#2}}{\usecounter{beanarabic}
%\setlength{\parsep}{2pt}
\setlength{\rightmargin}{0cm} \setlength{\leftmargin}{0.8cm}}

                        }
\newcommand{\Earabic}{\end{list}}



% LISTS USING Symbols
\newcounter{beansymbol}
\newcommand{\Bsymbol}[1]{
\begin{list}
{{#1}} {\usecounter{beansymbol}
\setlength{\parsep}{3pt}
\setlength{\rightmargin}{0cm} \setlength{\leftmargin}{0.8cm}}

                        }
\newcommand{\Esymbol}{\end{list}}



% LISTS USING itemize
\newcommand{\BItem}{
\begin{itemize} }
\newcommand{\EItem}{\end{itemize}}


\newcommand{\bigspace}{\vspace*{2cm}}
\newcommand{\aeq}{\vspace*{5pt} \noindent}


% PUTS A BAR OF EMPTY WIDTH OF HEIGHT h IN THE BOX
%\newcommand{\vbar}[1]{ \rule[{#1}]{0cm}{-{#1}}  }


\newcommand{\Addtoc}[1]{
\addtocontents{toc}{ \addvspace{15pt}}
\addtocontents{toc}{\hspace*{-17pt}{\bf #1}
           \dtfil \hspace{10pt} \roman{page}}
\addtocontents{toc}{ \addvspace{10pt}}
}


%STANDARD SETUP FOR USM CV STYLE
\newcommand{\Beginblock}{
\vspace*{-12pt}
\hspace*{-1.8cm}
\begin{tabular}{p{2.5cm} p{15.5cm}}
\hspace*{1.5cm} & \hspace*{11cm} \\}

\newcommand{\Endblock}{\end{tabular} \bigskip}









