Home
Ents
Sport
Committee
Links

Links And Information

LaTeX Commands

Some useful LaTeX commands.

%calculus
\newcommand{\ddd}[2]{\frac{{\rm d}^{2} #1}{{\rm d} #2 ^{2}}}
\newcommand{\dd}[2]{\frac{{\rm d} #1}{{\rm d} #2}}
\newcommand{\ddn}[3]{\frac{{\rm d}^{#1} #2}{{\rm d} #3 ^{#1}}}
\newcommand{\pdd}[2]{\frac{\partial #1}{\partial #2}}
\newcommand{\pddd}[2]{\frac{\partial^{2} #1}{\partial #2 ^{2}}}
\newcommand{\pdddm}[3]{\frac{\partial^{2} #1}{\partial #2 \partial #3}}
\newcommand{\pddn}[3]{\frac{\partial^{#1} #2}{\partial #3 ^{#1}}}
\newcommand{\wrt}[1]{\; {\rm d} #1}
\newcommand{\de}{differential equation}
\newcommand{\Diff}{\operatorname{{\mathbf D}}}
\newcommand{\grad}{\operatorname{{\mathrm grad}}}
\newcommand{\diverg}{\operatorname{{\mathrm div}}}
\newcommand{\curl}{\operatorname{{\mathrm curl}}}
\newcommand{\sgn}{\operatorname{{\mathrm sgn}}}
\newcommand{\Ltran}[1]{\mathcal{L} \left( #1 \right) }
\newcommand{\Ftran}[1]{\mathcal{F} \left( #1 \right) }
\newcommand{\Ftrani}[1]{\mathcal{F}^{-1} \left( #1 \right) }

\newcommand{\cosec}{\operatorname{cosec}}

%management
\newcommand{\cc}{computational complexity}
\newcommand{\search}{\operatorname{{\mathrm Search}}}
\newcommand{\comp}{\operatorname{{\mathrm Comp}}}


%Groups
\newcommand{\rotn}{\operatorname{{\mathrm rot}}}
\newcommand{\refl}{\operatorname{{\mathrm ref}}}
\newcommand{\orbit}{\operatorname{{\mathrm orb}}}
\newcommand{\stab}{\operatorname{{\mathrm stab}}}
\newcommand{\tran}[2]{\begin{pmatrix} #1 & #2 \end{pmatrix}}
\newcommand{\dcup}{\operatorname{\dot{\cup}}}
\newcommand{\Dcup}{\operatornamewithlimits{\dot{\bigcup}}}
\newcommand{\fix}{\operatorname{\mathrm{fix}}}
\newcommand{\Ccl}[2]{\mathrm{Cl}_{#1} \left( #2 \right)}
\newcommand{\cntrl}[2]{\mathrm{C}_{#1} \left( #2 \right)}
\newcommand{\cntr}[1]{\mathrm{Z} \left( #1 \right)}

\newcommand{\rel}[3]{#1 \, #2 \, #3}
\newcommand{\Image}{\operatorname{\mathrm{Im}}}
\newcommand{\id}{\operatorname{\mathrm{Id}}}
\newcommand{\GL}[2]{\mathrm{GL}\left(#1,#2\right)}
\newcommand{\Span}[1]{\mathrm{Span}\left\{#1\right\}}


%other algebra
\newcommand{\GF}[1]{\mathrm{GF}\left(#1 \right)}
\newcommand{\inner}[2]{\left\langle #1 , #2 \right\rangle}
\newcommand{\iinner}[2]{\left\langle \! \left\langle #1, #2 \right\rangle \! \right\rangle}

\newcommand{\res}[3]{\operatorname{Res}^{#1}_{#2}\left(#3\right)}
\newcommand{\ind}[3]{\operatorname{Ind}_{#1}^{#2}\left(#3\right)}

\newcommand{\bigplus}{\operatornamewithlimits{\text{\Large{+}}}}

% Analysis
\newcommand{\norm}[1]{\Arrowvert #1 \Arrowvert}


%stats
\newcommand{\Fdist}[2]{{\mathcal F}_{#1,#2}}
\newcommand{\Ndist}[2]{{\mathcal N} \left( #1,#2 \right) }
\newcommand{\Xdist}[1]{\chi^{2}_{#1} }
\newcommand{\iid}{independently and identically distributed}
\newcommand{\var}{\operatorname{{\mathrm var}}}
\newcommand{\MSE}[1]{\operatorname{{\mathrm MSE}} \left( #1 \right)}
\newcommand{\cov}[2]{\operatorname{\mathrm{cov}} \left( #1 , #2 \right) }
\newcommand{\mean}{\operatornamewithlimits{{\mathbb E}}}
\renewcommand{\hat}{\Hat}
\newcommand{\trace}{\operatorname{{\mathrm tr}}}
\newcommand{\hvtr}[1]{\hat{\boldsymbol{\mathrm{#1}}}}
\newcommand{\Prob}[1]{\mathrm{Pr} \left\{ #1 \right\} }
\newcommand{\MA}[1]{\mathrm{MA} \left( #1 \right) }
\newcommand{\AR}[1]{\mathrm{AR} \left( #1 \right) }
\newcommand{\ARMA}[2]{\mathrm{ARMA} \left( #1, #2 \right)}
\newcommand{\ARIMA}[3]{\mathrm{ARMA} \left( #1, #2, #3 \right)}
\newcommand{\glim}[1]{\texttt{\$#1\$}}
\newcommand{\sterr}[1]{\operatorname{sterr}\left(#1\right)}

\renewcommand{\limsup}{\operatornamewithlimits{\overline{lim}}}
\renewcommand{\liminf}{\operatornamewithlimits{\underline{lim}}}

%vectors + complex
\newcommand{\Arg}{\operatorname{{\mathrm Arg}}}
\newcommand{\Res}[2]{\mathrm{Res} \left( #1 , #2 \right) }
%\DeclareMathAlphabet{\m}{OT1}{cmss}{m}{sl} % for matrices
\newcommand{\vtr}[1]{\boldsymbol{\mathrm{#1}}}
   % \DeclareMathAlphabet doesn't do symbols bold so can't be used for 
   % \vtr
\newcommand{\Log}{\operatorname{{\mathrm Log}}}
\newcommand{\Ln}{\operatorname{{\mathrm Ln}}}
\newcommand{\dotp}{\cdot}
\newcommand{\Int}{\operatorname{{\mathrm Int}}}
\newcommand{\Ext}{\operatorname{{\mathrm Ext}}}
\newcommand{\Real}{\operatorname{{\mathrm Re}}}
\newcommand{\Imag}{\operatorname{{\mathrm Im}}}
\newcommand{\vwrt}[1]{\dotp {\rm d} \vtr{#1}}
\newcommand{\dist}[2]{d \left( #1 , #2 \right)}

%General
\newcommand{\blah}[2]{\left( #1_{1}, #1_{2},\dots,#1_{#2} \right)}
\newcommand{\bla}[2]{ #1_{1}, #1_{2},\dots,#1_{#2}}
\newcommand{\blaha}[2]{ #1_{1}+ #1_{2}+\dots+#1_{#2}}
\newcommand{\tagchar}{$\ast$}
\newcommand{\divs}{ \! \mid \! }
\newcommand{\ndivs}{ \! \nmid \! }
\newcommand{\bdry}{\operatorname{{\mathrm Bdry}}}
\newcommand{\ham}[2]{\mathrm{Ham} \left( #1 , #2 \right)}
\newcommand{\change}{\operatornamewithlimits{\bigtriangleup}}