%my command list %written by Naveen V Nair : If anyone wants to use this, please feel free :-) ... %some general stuff %1. vector fonts \newcommand{\vb}[1]{\mathbf{#1}} %2. my way of numbering theorems proofs and the like \newtheorem{theorem}{Theorem}[section] \newtheorem{lemma}[theorem]{Lemma} \newtheorem{proposition}[theorem]{Proposition} \newtheorem{corollary}[theorem]{Corollary} \newtheorem{definition}{Definition} \newtheorem{proof}[theorem]{Proof} \newtheorem{result}{Result} %\newenvironment{proof}[1][Proof]{\begin{trivlist} %\item[\hskip \labelsep {\bfseries #1}]}{\end{trivlist}} %\newenvironment{definition}[1][Definition]{\begin{trivlist} %\item[\hskip \labelsep {\bfseries #1}]}{\end{trivlist}} %\newenvironment{example}[1][Example]{\begin{trivlist} %\item[\hskip \labelsep {\bfseries #1}]}{\end{trivlist}} %\newenvironment{remark}[1][Remark]{\begin{trivlist} %\item[\hskip \labelsep {\bfseries #1}]}{\end{trivlist}} %3. curl,div,etc who is going to write them each time....WHY are they not included in latex already???? \newcommand{\del}{\nabla} \newcommand{\curl}{\nabla \times} \renewcommand{\div}{\nabla \cdot} \newcommand{\delsq}{\nabla^2} \newcommand{\cross}{\times} %sometimes i want to write lap instead of delsq \newcommand{\lap}{\nabla^2} %4. shortening some commands \newcommand{\tends}{\rightarrow} \newcommand{\abs}[1]{\left | #1 \right| } \newcommand{\norm}[2]{\left\Vert #2 \right\Vert_{#1}} %5.for generating eqrefs ..might conflict % \newcommand{\eqref}[1]{(\ref{#1})} %6. Good heavens i don't want to mathbb each time for complex spaces and real spaces and the like... \newcommand{\rl}{\mathbb{R}} \newcommand{\rln}[1]{\mathbb{R}^#1} \newcommand{\cp}{\mathbb{C}} \newcommand{\cpn}[1]{\mathbb{C}^#1} \newcommand{\intgr}{\mathbb{Z}} \newcommand{\intgrn}[1]{\mathbb{Z}^#1} %7. for some reason the concept of ``support'' of a function, ``erfc'' etc is alien to Latex .. here is the fix. %\newcommand{\supp}[1]{\mathbf{supp}\mbox{ }{\{#1\}}} \newcommand{\erfc}[1]{\mathbf{erfc}\left(#1\right)} \providecommand{\tnorm}[1]{\Vert #1 \Vert} \newcommand{\spn}[2]{span_#1 \left\{#2\right\}} % ok lets try and make a max and min setup \providecommand{\mmax}[2]{\mathop{max}_{#1}\left\{#2\right\}} \providecommand{\mmin}[2]{\mathop{min}_{#1}\left\{#2\right\}} \providecommand{\msup}[2]{\mathop{sup}_{#1}\left\{#2\right\}} \providecommand{\minf}[2]{\mathop{inf}_{#1}\left\{#2\right\}} %8 and finally some of my own quirks :-) \newcommand{\T}{\Tau} \newcommand{\alfa}{\alpha} \newcommand{\eps}{\varepsilon} %wonder why no one ever did this ???? \newcommand{\ga}{\alfa} \newcommand{\gb}{\beta} %\newcommand{\gg}{\gamma} \newcommand{\gd}{\dela} %\newcommand{\ge}{\epsilon} \newcommand{\gk}{\kappa} \newcommand{\gr}{\rho} \newcommand{\gw}{\omega} \newcommand{\gt}{\tau} \newcommand{\gz}{\zeta} \newcommand{\gx}{\chi} \newcommand{\gs}{\sigma} \newcommand{\gn}{\nu} \newcommand{\gp}{\pi} \newcommand{\gc}{\psi} \newcommand{\gf}{\phi} \newcommand{\gq}{\theta} \newcommand{\gl}{\lamda} %and now caps \newcommand{\gA}{\Alfa} \newcommand{\gB}{\Beta} \newcommand{\gG}{\Gamma} \newcommand{\gD}{\Dela} \newcommand{\gE}{\Epsilon} \newcommand{\gK}{\Kappa} \newcommand{\gR}{\Rho} \newcommand{\gW}{\Omega} \newcommand{\gT}{\Tau} \newcommand{\gZ}{\Zeta} \newcommand{\gX}{\Chi} \newcommand{\gS}{\Sigma} \newcommand{\gN}{\Nu} \newcommand{\gP}{\Pi} \newcommand{\gC}{\Psi} \newcommand{\gF}{\Phi} \newcommand{\gQ}{\Theta} \newcommand{\gL}{\Lamda} %creating some of my own symbols : first for such that an inverted E \newcommand{\such}{ \mbox{ } \cdot \! \supset \!\!\!\!\!\!\! -\!\!\!- \! \cdot \mbox{ }} %integral with a bar \newcommand{\barint}{\int \!\!\!\!\!\! -} %ofcourse Rn and Cn \newcommand{\rn}[2]{\mathbb#1^#2} \providecommand{\qed}{\nobreak \ifvmode \relax \else \ifdim\lastskip<1.5em \hskip-\lastskip \hskip1.5em plus0em minus0.5em \fi \nobreak \vrule height0.75em width0.5em depth0.25em\fi} % and i keep adding stuff \newcommand{\dt}{{\Delta t}} \renewcommand{\baselinestretch}{1.0} \newcommand{\curr}{\bf J} \newcommand{\hfl}{ H^{1/2}_{div}} %bold face characters \newcommand{\ba}{{\bf a}} \newcommand{\bb}{{\bf b}} \newcommand{\bc}{{\bf c}} \newcommand{\bd}{{\bf d}} \newcommand{\be}{{\bf e}} \newcommand{\bg}{{\bf g}} \newcommand{\bh}{{\bf h}} \newcommand{\bi}{{\bf i}} \newcommand{\bj}{{\bf j}} \newcommand{\bk}{{\bf k}} \newcommand{\bl}{{\bf l}} \newcommand{\bm}{{\bf m}} \newcommand{\bn}{{\bf n}} \newcommand{\bo}{{\bf o}} \newcommand{\bp}{{\bf p}} \newcommand{\bq}{{\bf q}} \newcommand{\br}{{\bf r}} \newcommand{\bs}{{\bf s}} \newcommand{\bt}{{\bf t}} \newcommand{\bu}{{\bf u}} \newcommand{\bv}{{\bf v}} \newcommand{\bw}{{\bf w}} \newcommand{\bx}{{\bf x}} \newcommand{\by}{{\bf y}} \newcommand{\bz}{{\bf z}} \newcommand{\bA}{{\bf A}} \newcommand{\bB}{{\bf B}} \newcommand{\bC}{{\bf C}} \newcommand{\bD}{{\bf D}} \newcommand{\bE}{{\bf E}} \newcommand{\bF}{{\bf F}} \newcommand{\bG}{{\bf G}} \newcommand{\bH}{{\bf H}} \newcommand{\bI}{{\bf I}} \newcommand{\bJ}{{\bf J}} \newcommand{\bK}{{\bf K}} \newcommand{\bL}{{\bf L}} \newcommand{\bM}{{\bf M}} \newcommand{\bN}{{\bf N}} \newcommand{\bO}{{\bf O}} \newcommand{\bP}{{\bf P}} \newcommand{\bQ}{{\bf Q}} \newcommand{\bR}{{\bf R}} \newcommand{\bS}{{\bf S}} \newcommand{\bT}{{\bf T}} \newcommand{\bU}{{\bf U}} \newcommand{\bV}{{\bf V}} \newcommand{\bW}{{\bf W}} \newcommand{\bX}{{\bf X}} \newcommand{\bY}{{\bf Y}} \newcommand{\bZ}{{\bf Z}} %caligraphy characters \newcommand{\ca}{{\mathcal a}} \newcommand{\cb}{{\mathcal b}} \newcommand{\cc}{{\mathcal c}} \newcommand{\cd}{{\mathcal d}} \newcommand{\ce}{{\mathcal e}} \newcommand{\cf}{{\mathcal f}} \newcommand{\cg}{{\mathcal g}} \newcommand{\ch}{{\mathcal h}} \newcommand{\ci}{{\mathcal i}} \newcommand{\cj}{{\mathcal j}} \newcommand{\ck}{{\mathcal k}} \newcommand{\cl}{{\mathcal l}} \newcommand{\cm}{{\mathcal m}} \newcommand{\cn}{{\mathcal n}} \newcommand{\co}{{\mathcal o}} \providecommand{\cp}{{\mathcal p}} \newcommand{\cq}{{\mathcal q}} \providecommand{\cr}{{\mathcal r}} \newcommand{\cs}{{\mathcal s}} \newcommand{\ct}{{\mathcal t}} \newcommand{\cu}{{\mathcal u}} \providecommand{\cv}{{\mathcal v}} \newcommand{\cw}{{\mathcal w}} \newcommand{\cx}{{\mathcal x}} \newcommand{\cy}{{\mathcal y}} \newcommand{\cz}{{\mathcal z}} \newcommand{\cA}{{\mathcal A}} \newcommand{\cB}{{\mathcal B}} \newcommand{\cC}{{\mathcal C}} \newcommand{\cD}{{\mathcal D}} \newcommand{\cE}{{\mathcal E}} \newcommand{\cF}{{\mathcal F}} \newcommand{\cG}{{\mathcal G}} \newcommand{\cH}{{\mathcal H}} \newcommand{\cI}{{\mathcal I}} \newcommand{\cJ}{{\mathcal J}} \newcommand{\cK}{{\mathcal K}} \newcommand{\cL}{{\mathcal L}} \newcommand{\cM}{{\mathcal M}} \newcommand{\cN}{{\mathcal N}} \newcommand{\cO}{{\mathcal O}} \newcommand{\cP}{{\mathcal P}} \newcommand{\cQ}{{\mathcal Q}} \newcommand{\cR}{{\mathcal R}} \newcommand{\cS}{{\mathcal S}} \newcommand{\cT}{{\mathcal T}} \newcommand{\cU}{{\mathcal U}} \newcommand{\cV}{{\mathcal V}} \newcommand{\cW}{{\mathcal W}} \newcommand{\cX}{{\mathcal X}} \newcommand{\cY}{{\mathcal Y}} \newcommand{\cZ}{{\mathcal Z}} \newcommand{\nhat}{\hat{\bn}} %subequations \providecommand{\bml}{\begin{subequations}} \providecommand{\eml}{\end{subequations}} %overbar vector notation \newcommand{\va}{\bar{a}} \providecommand{\vb}{\bar{b}} \newcommand{\vc}{\bar{c}} \newcommand{\vd}{\bar{d}} \newcommand{\ve}{\bar{e}} \newcommand{\vf}{\bar{f}} \newcommand{\vg}{\bar{g}} \newcommand{\vh}{\bar{h}} \newcommand{\vi}{\bar{i}} \newcommand{\vj}{\bar{j}} \newcommand{\vk}{\bar{k}} \newcommand{\vl}{\bar{l}} \newcommand{\vm}{\bar{m}} \newcommand{\vn}{\bar{n}} \newcommand{\vo}{\bar{o}} \newcommand{\vp}{\bar{p}} \newcommand{\vq}{\bar{q}} \newcommand{\vr}{\bar{r}} \newcommand{\vs}{\bar{s}} \newcommand{\vt}{\bar{t}} \newcommand{\vu}{\bar{u}} \newcommand{\vv}{\bar{v}} \newcommand{\vx}{\bar{x}} \newcommand{\vy}{\bar{y}} \newcommand{\vz}{\bar{z}} \newcommand{\vA}{\bar{A}} \newcommand{\vB}{\bar{B}} \newcommand{\vC}{\bar{C}} \newcommand{\vD}{\bar{D}} \newcommand{\vE}{\bar{E}} \newcommand{\vF}{\bar{F}} \newcommand{\vG}{\bar{G}} \newcommand{\vH}{\bar{H}} \newcommand{\vI}{\bar{I}} \newcommand{\vJ}{\bar{J}} \newcommand{\vK}{\bar{K}} \newcommand{\vL}{\bar{L}} \newcommand{\vM}{\bar{M}} \newcommand{\vN}{\bar{N}} \newcommand{\vO}{\bar{O}} \newcommand{\vP}{\bar{P}} \newcommand{\vQ}{\bar{Q}} \newcommand{\vR}{\bar{R}} \newcommand{\vS}{\bar{S}} \newcommand{\vT}{\bar{T}} \newcommand{\vU}{\bar{U}} \newcommand{\vV}{\bar{V}} \newcommand{\vW}{\bar{W}} \newcommand{\vX}{\bar{X}} \newcommand{\vY}{\bar{Y}} \newcommand{\vZ}{\bar{Z}}