
%COMMANDS
\newcommand{\be}{\begin{enumerate}}
\newcommand{\ee}{\end{enumerate}}

\newcommand{\bi}{\begin{itemize}}
\newcommand{\ei}{\end{itemize}}

\newcommand{\s}{$\backslash\backslash$}

\newcommand{\R}{\mathbb R}
\newcommand{\C}{\mathbb C}
\newcommand{\Nat}{\mathbb N}
\newcommand{\Q}{\mathbb Q}
\newcommand{\Z}{\mathbb Z}

\newcommand{\vecc}{\mathbf c}
\newcommand{\vecx}{\mathbf x}
\newcommand{\vecs}{\mathbf s}
\newcommand{\vece}{\mathbf e}
\newcommand{\veca}{\mathbf a}
\newcommand{\vecd}{\mathbf d}
\newcommand{\vecr}{\mathbf r}
\newcommand{\vecp}{\mathbf p}


\newcommand{\vecxs}{{\mathbf {x}}_s}
\newcommand{\vecxsh}{{\mathbf {x}}_{s,h}}
\newcommand{\vecxsp}{{\mathbf {x}}_{s,p}}
\newcommand{\vecb}{\mathbf b}
\newcommand{\vecg}{\mathbf g}
\newcommand{\vech}{\mathbf h}
\newcommand{\vecu}{\mathbf u}
\newcommand{\vecv}{\mathbf v}
\newcommand{\vecw}{\mathbf w}
\newcommand{\vecn}{\mathbf n}
\newcommand{\vecy}{\mathbf y}
\newcommand{\vecz}{\mathbf z}
\newcommand{\vecR}{\mathbf R}
\newcommand{\onevec}{\ensuremath{\mathbf{1}}}
\newcommand{\zerovec}{\ensuremath{\mathbf{0}}}
\newcommand{\deltavec}{\boldsymbol{\delta}}
\newcommand{\muvec}{\boldsymbol{\mu}}
\newcommand{\lambdavec}{\boldsymbol{\lambda}}
\newcommand{\n}{\parallel}
\newcommand{\vecpsi}{\boldsymbol{\psi}}
%\newcommand{\jacobian}{\boldsymbol{\nabla^2}}
%\newcommand{\jacobian}{\boldsymbol{\nabla}}
%\newcommand{\Jacobian}{\boldsymbol{\nabla}}
\newcommand{\jacobian}{\mathbf{J}}
\newcommand{\Jacobian}{\mathbf{J}}
\newcommand{\bs}{\blacksquare}


\newcommand{\F}{\mathbf F}
\newcommand{\T}{\mathbf T}
\newcommand{\N}{\mathbf N}
\newcommand{\B}{\mathbf B}

\newcommand{\tor}{\boldsymbol{\tau}}

\newcommand{\la}{\langle}
\newcommand{\ra}{\rangle}

% vbar for Maple matrix notation;
\newcommand{\vb}{\mbox{ $|$ }}

%Phantom space
\newcommand{\x}{\phantom{xx}}
\newcommand{\ph}{\phantom{xxx}}

\newcommand{\bv}{\mbox{BV}}
\newcommand{\BV}{\mbox{BV }}
\newcommand{\NBV}{\mbox{NBV }}

\newcommand{\LPC}{\emph{FuelPro Petroleum Company}}
\newcommand{\LP}{\emph{FuelPro }}

\newcommand{\CMC}{\emph{ConPro Manufacturing Company}}
\newcommand{\CM}{\emph{ConPro }}

\newcommand{\newpar}{\vspace{.15in}\noindent}
\newcommand{\noi}{\noindent}

\newcommand{\ds}{\displaystyle}

\newcommand{\clearemptydoublepage}{\newpage{\pagestyle{empty}\cleardoublepage}}

%MARGIN LABEL
\newcommand{\marginlabel}[1]{\mbox{}\marginpar{\raggedleft\hspace{0pt}#1}}


%MAPLE INPUT FONT
\newcommand{\mf}[1]{{\ttfamily{\upshape{#1}}}}

%MAPLE ARGUMENT FONT
\newcommand{\ma}[1]{{\ttfamily{\slshape{#1}}}}


%MAPLE OUTPUT FONT
%\newcommand{\mf}[1]{ {\cmr{#1}}}
\newcommand{\mo}[1]{{\rmfamily{\upshape {\begin{equation*} #1  \end{equation*}}}}}

%MAPLE OUTPUT FONT FOR MULTILINE
\newcommand{\MultiLineMapleOutput}[1]{{\rmfamily{\upshape {\begin{multline*} #1  \end{multline*}}}}}

%MAPLE LIST (NOTE: IF TEXT BEGINS RESULTS IN OVERFULL HBOX, ENCLOSE ENTIRE LIST IN A SMALLER FONT,
% E.G. {\small{list}}.

\newenvironment{maplelist}{\renewcommand{\labelitemi}{$>$}\begin{itemize}

\addtolength{\itemsep}{-0.5\baselineskip}
                   }{\end{itemize}}

%\MAPLE BREAK FOR CREATING SPACE IN MAPLE PROCEDURES
\newcommand{\mapnpar}{\vspace{.075in}\noindent} 