Remove silly tex/ directory.
[thesis.git] / src / local_cmmds.tex
1 % Fourier Transform to angular momentum space
2 \newcommand{\Four}[1]{\ensuremath{{\mathcal F}\left\{ {#1} \right\}}}
3 % Fourier Transform to frequency space
4 \newcommand{\Fourf}[1]{\ensuremath{{\mathcal F}_f\left\{ {#1} \right\}}}
5
6 % Integral from #1 to #2 of #4 with respect to #3
7 \newcommand{\integral}[4]{\ensuremath{\int_{#1}^{#2} {#4} \dd{#3}}}
8 % Integral from -infty to +infty of #2 with respect to #1
9 \newcommand{\iInfInf}[2]{\integral{-\infty}{\infty}{#1}{#2}}
10 % Integral from 0 to +infty of #2 with respect to #1
11 % note that the second char in the name is a capital o, not a 0
12 % because ?Latex doesn't allow digits in command names
13 \newcommand{\iOInf}[2]{\integral{0}{\infty}{#1}{#2}}
14 % #3 evaluated at #2 and #1
15 \newcommand{\evaluated}[3]{\ensuremath{\left.{#3}\right|_{#1}^{#2}}}
16 % #2 evaluated at #1
17 \newcommand{\eval}[2]{\ensuremath{\left.{#2}\right|_{#1}}}
18 % evaluated at infty and -infty
19 \newcommand{\eInfInf}[1]{\evaluated{-\infty}{\infty}{#1}}
20 % evaluated at infty and 0
21 \newcommand{\eOInf}[1]{\evaluated{0}{\infty}{#1}}
22
23 % we do a lot of lim t_T -> infty, so macro that out
24 % lim as #1 -> infty
25 \newcommand{\limInf}[1]{\ensuremath{\lim_{{#1}\rightarrow \infty}}}
26 \newcommand{\limT}{\limInf{t_T}}
27 \newcommand{\normLimT}{\limT \frac{1}{t_T}\ } % '\ ' for a normal space
28 % lim as t_T -> infty of integral from -t_T/2 to t_T/2 of #1 with respect to t
29 \newcommand{\iLimT}[1]{\normLimT \integral{-t_T/2}{t_T/2}{t}{#1}}
30
31 \newcommand{\magSq}[1]{\ensuremath{\left|{#1}\right|^2}}
32 \newcommand{\PSD}{\ensuremath{\operatorname{PSD}}}
33
34 % complex conjugate
35 \newcommand{\conj}[1]{\ensuremath{\overline{#1}}}
36
37 % Symbol denoting the contour C
38 \newcommand{\C}{\ensuremath{\mathcal{C}}}
39 % Integral about contour C of #1 with respect to z
40 \newcommand{\iC}[1]{\integral{\C}{}{z}{#1}}
41 \newcommand{\Reals}{\ensuremath{\mathds{R}}}
42 \newcommand{\Imags}{\ensuremath{\mathds{I}}}
43 \newcommand{\Real}{\ensuremath{\operatorname{Re}}}
44 \newcommand{\Imag}{\ensuremath{\operatorname{Im}}}
45 \newcommand{\Res}[2]{\operatorname{Res}\left({z=#1},{#2}\right)}
46 \newcommand{\limZ}[1]{\lim_{z \rightarrow {#1}}}
47 \newcommand{\limZp}{\limZ{z_p}}
48 \newcommand{\CPV}{\ensuremath{\mathds{P}}}
49
50 \newcommand{\supScript}[1]{\ensuremath{^{\text{#1}}}}
51 \newcommand{\st}{\supScript{st}}
52 \newcommand{\nd}{\supScript{nd}}
53 \newcommand{\rd}{\supScript{rd}}
54 \newcommand{\sth}{\supScript{th}} % th, TH already taken
55
56 \newcommand{\colA}[1]{\textcolor{red}{#1}}
57 \newcommand{\colB}[1]{\textcolor{blue}{#1}}
58 \definecolor{purple}{rgb}{0.8, 0, 0.8}
59 \newcommand{\colAB}[1]{\textcolor{purple}{#1}}
60 \newcommand{\colC}[1]{\textcolor{green}{#1}}
61
62 \newcommand{\ie}{\emph{i.e.}} % "id est" or "in other words"
63 \newcommand{\sawsim}{\texttt{sawsim}}
64
65 \newcommand{\ensuretext}[1]{\ensuremath{\text{#1}}}
66 % Hyeon and Thirumalai equation number #1
67 \newcommand{\HTeq}[1]{\ensuretext{\emph{H\&T eq.\ {#1}}}}
68 \newcommand{\kT}{\ensuremath{k_B T}}
69 \newcommand{\bt}{\ensuremath{\beta}}
70 \newcommand{\fs}{\ensuremath{f^*}}
71 \newcommand{\dx}{\ensuremath{\Delta x(\fs)}}
72 \newcommand{\dxs}[1]{\ensuremath{\Delta x_{#1}(\fs)}} % for subscripting
73 \newcommand{\FO}{\ensuremath{\Delta F_0^\ddagger(\fs)}}
74 \newcommand{\vD}{\ensuremath{\nu_D(\fs)}}
75 \newcommand{\vDs}[1]{\ensuremath{\nu_{D{#1}}(\fs)}}
76 \newcommand{\kexp}{\ensuremath{\vD e^{-\bt \FO}}}
77 \newcommand{\kexps}[1]{\ensuremath{\vDs{#1} e^{-\bt_{#1} \FO_{#1}}}}
78 \newcommand{\kf}{\ensuremath{k(\fs)}}
79 \newcommand{\kfs}[1]{\ensuremath{k_{#1}(\fs)}}
80 %\newcommand{\avg}[1]{\ensuremath{\left\langle {#1} \right\rangle}}
81 \newcommand{\logp}[1]{\ensuremath{\log\!\!\left( {#1} \right)}}
82 % \! is a negative thin space to get the paren closer to the log
83 \renewcommand{\r}{\ensuremath{r_f}}
84 \newcommand{\rs}[1]{\ensuremath{r_{f{#1}}}}% to avoid double-subscripting
85 \newcommand{\ep}{\varepsilon}
86
87 \newcommand{\species}[1]{\emph{#1}} % \species{Homo sapiens}
88
89 % Aliases for citations
90 \defcitealias{pymol}{PyMol}