summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/hepthesis/example
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2006-09-28 22:48:12 +0000
committerKarl Berry <karl@freefriends.org>2006-09-28 22:48:12 +0000
commitadcde8f46f8a6c67c213b914bfd011a788cae34a (patch)
treede12b201baa3a39c7ce6a56993a2cf6b54c6ffa1 /Master/texmf-dist/doc/latex/hepthesis/example
parentae4d2166dc7e5d81d2ec04099721cece72004ef8 (diff)
hepthesis update (29sep06)
git-svn-id: svn://tug.org/texlive/trunk@2215 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/hepthesis/example')
-rw-r--r--Master/texmf-dist/doc/latex/hepthesis/example/abhep.sty181
-rw-r--r--Master/texmf-dist/doc/latex/hepthesis/example/abhepexpt.sty64
-rw-r--r--Master/texmf-dist/doc/latex/hepthesis/example/abmath.sty267
-rw-r--r--Master/texmf-dist/doc/latex/hepthesis/example/appendices.tex7
-rw-r--r--Master/texmf-dist/doc/latex/hepthesis/example/chap2.tex1
-rw-r--r--Master/texmf-dist/doc/latex/hepthesis/example/example.pdfbin318795 -> 338016 bytes
-rw-r--r--Master/texmf-dist/doc/latex/hepthesis/example/example.tex5
-rw-r--r--Master/texmf-dist/doc/latex/hepthesis/example/frontmatter.tex8
-rw-r--r--Master/texmf-dist/doc/latex/hepthesis/example/thesis.cls2
9 files changed, 527 insertions, 8 deletions
diff --git a/Master/texmf-dist/doc/latex/hepthesis/example/abhep.sty b/Master/texmf-dist/doc/latex/hepthesis/example/abhep.sty
new file mode 100644
index 00000000000..9bb0d868770
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/hepthesis/example/abhep.sty
@@ -0,0 +1,181 @@
+\ProvidesPackage{abhep}[2005/01/17]
+
+\RequirePackage{amsmath}
+\RequirePackage{cancel}
+\RequirePackage{abhepexpt}
+\RequirePackage{hepnicenames}
+\RequirePackage{hepunits}
+\RequirePackage{maybemath}
+\RequirePackage{abmath}
+
+
+%C++ macro (to be moved!)
+\DeclareRobustCommand{\CC}{C\nolinebreak\hspace{-.05em}\raisebox{.4ex}{\tiny\bf +}\nolinebreak\hspace{-.10em}\raisebox{.4ex}{\tiny\bf +}}
+\def\CCtwo{{C\nolinebreak[4]\hspace{-.05em}\raisebox{.4ex}{\tiny\bf ++}}}
+\DeclareRobustCommand{\Rplus}{\protect\nolinebreak\hspace{-.07em}\protect\raisebox{.25ex}{\small\textbf{+}}}
+\DeclareRobustCommand{\Cpp}{C\Rplus\Rplus\xspace}
+
+\DeclareRobustCommand{\rescatter}{re-scatter\xspace}
+\DeclareRobustCommand{\electroweak}{electro-weak\xspace}
+\DeclareRobustCommand{\StandardModel}{Standard Model\xspace}
+\DeclareRobustCommand{\SM}{Standard Model\xspace}
+
+% General lagrangian formalism
+\DeclareRobustCommand{\matrixelementM}{\mymath{ \mathcal{M} }\xspace}
+\DeclareRobustCommand{\matrixelementA}{\mymath{ \mathcal{A} }\xspace}
+
+\DeclareRobustCommand{\Amplitude}[1]{\mymath{
+ \mathcal{A}%
+ \begingroup%
+ \def\@empty{}%
+ \def\@arg{#1}%
+ \ifx\@arg\@empty{}\else\parenths{#1}\fi%
+ \endgroup%
+}}
+
+% also want Rate and BranchingRatio
+\DeclareRobustCommand{\Lagrangian}{\mymath{ \mathcal{L} }\xspace}
+\DeclareRobustCommand{\Hamiltonian}{\mymath{ \mathcal{H} }\xspace}
+\DeclareRobustCommand{\lagrangian}{\Lagrangian}
+\DeclareRobustCommand{\hamiltonian}{\Hamiltonian}
+\DeclareRobustCommand{\RenormalisationScale}{\mymath{ \mu }\xspace}
+
+\DeclareRobustCommand{\adjointField}[1]{\mymath{ \bar{#1} }\xspace}
+\DeclareRobustCommand{\scalarField}{\mymath{ \phi }\xspace}
+\DeclareRobustCommand{\spinorField}{\mymath{ \psi }\xspace}
+
+\DeclareRobustCommand{\pathD}{\mymath{ \mathcal{D} }\xspace}
+\DeclareRobustCommand{\VEV}{VEV\xspace}
+\DeclareRobustCommand{\QCD}{QCD\xspace}
+\DeclareRobustCommand{\EW}{EW\xspace}
+\DeclareRobustCommand{\EM}{EM\xspace}
+\DeclareRobustCommand{\PDG}{PDG\xspace}
+
+% covariant derivative
+% covariant vectors, tensors, vectors
+
+% Common Feynman rules
+%% photon propagator
+%% external vector boson
+%% Z,W propagator
+
+\DeclareRobustCommand{\pseudorapidity}{pseudo-rapidity\xspace}
+
+% Rates and measurements
+\DeclareRobustCommand{\BR}[1]{\mymath{%
+ \def\empty{}%
+ \def\thearg{#1}%
+ \mathcal{B}%
+ \ifx\thearg\empty{}\else{(\HepProcess{#1})}\fi%
+}\xspace}
+
+\DeclareRobustCommand{\efficiency}[1]{\mymath{
+ \def\empty{}%
+ \def\thearg{#1}%
+ \varepsilon%
+ \ifx\thearg\empty{}\else{(\text{#1})}\fi%
+}\xspace}
+
+\DeclareRobustCommand{\purity}{\mymath{p}\xspace}
+\DeclareRobustCommand{\luminosity}{\mymath{\mathcal{L}}\xspace}
+\DeclareRobustCommand{\sqrtS}{\mymath{\sqrt{s}}\xspace}
+
+%% CP violation
+\DeclareRobustCommand{\opC}{\mymath{\maybebm{\mathcal{C}}}\xspace}
+\DeclareRobustCommand{\opP}{\mymath{\maybebm{\mathcal{P}}}\xspace}
+\DeclareRobustCommand{\opT}{\mymath{\maybebm{\mathcal{T}}}\xspace}
+\DeclareRobustCommand{\opCP}{\mymath{\opC\opP}\xspace}
+\DeclareRobustCommand{\opCPT}{\mymath{\opC\opP\opT}\xspace}
+%% and for convenience...
+\DeclareRobustCommand{\CP}{\opCP}
+\DeclareRobustCommand{\CPT}{\opCPT}
+%% symmetry violation shorthands
+\DeclareRobustCommand{\CPv}{\mymath{\cancel{\opCP}}\xspace}
+\DeclareRobustCommand{\CPViolation}{\mymath{\opCP\text{-violation}}\xspace}
+\DeclareRobustCommand{\CPTv}{\mymath{\cancel{\opCPT}}\xspace}
+\DeclareRobustCommand{\CPTViolation}{\mymath{\opCPT\text{-violation}}\xspace}
+
+
+%% Important names (of effects, params, theories etc.) and suchlike
+\DeclareRobustCommand{\Cabibbo}{\ensuremath{\text{Cabibbo}}\xspace}
+\DeclareRobustCommand{\Maskawa}{\ensuremath{\text{Maskawa}}\xspace}
+\DeclareRobustCommand{\Kobayashi}{\ensuremath{\text{Kobayashi}}\xspace}
+\DeclareRobustCommand{\Jarlskog}{\ensuremath{\text{Jarlskog}}\xspace}
+\DeclareRobustCommand{\Sakharov}{\ensuremath{\text{Sakharov}}\xspace}
+\DeclareRobustCommand{\Majorana}{\ensuremath{\text{Majorana}}\xspace}
+\DeclareRobustCommand{\Planck}{\ensuremath{\text{Planck}}\xspace}
+\DeclareRobustCommand{\Dirac}{\ensuremath{\text{Dirac}}\xspace}
+\DeclareRobustCommand{\Weyl}{\ensuremath{\text{Weyl}}\xspace}
+
+%% Theories
+\DeclareRobustCommand{\SUSY}{\ensuremath{\text{SUSY}}\xspace}
+\DeclareRobustCommand{\AMSB}{\ensuremath{\text{AMSB}}\xspace}
+\DeclareRobustCommand{\mSUGRA}{\ensuremath{\text{mSUGRA}}\xspace}
+
+\DeclareRobustCommand{\JarlskogParam}{\mymath{J_{\CP}}\xspace}
+\DeclareRobustCommand{\thetaCabibbo}{\mymath{\maybebm{\theta_c}}}
+
+%% CKM matrix stuff
+\DeclareRobustCommand{\Vckm}{\mymath{ \boldmatrix{V}_{\!\mathrm{CKM}} }\xspace}
+\DeclareRobustCommand{\VckmFull}{\mymath{%
+\begin{pmatrix}
+ \Vud & \Vus & \Vub \\
+ \Vcd & \Vcs & \Vcb \\
+ \Vtd & \Vts & \Vtb \\
+\end{pmatrix}
+}}
+
+\DeclareRobustCommand{\alphaCKM}{\mymath{\alpha}\xspace}
+\DeclareRobustCommand{\betaCKM}{\mymath{\beta}\xspace}
+\DeclareRobustCommand{\gammaCKM}{\mymath{\gamma}\xspace}
+\DeclareRobustCommand{\CkmElementConj}[2]{\mymath{V_{{#1}{#2}}^{*}}\xspace}
+\DeclareRobustCommand{\CkmElement}[2]{\mymath{V_{{#1}{#2}}^{\phantom{*}}}\xspace}
+\DeclareRobustCommand{\Vud}{\CkmElement{\mathrm{u}}{\mathrm{d}}}
+\DeclareRobustCommand{\Vus}{\CkmElement{\mathrm{u}}{\mathrm{s}}}
+\DeclareRobustCommand{\Vub}{\CkmElement{\mathrm{u}}{\mathrm{b}}}
+\DeclareRobustCommand{\Vcd}{\CkmElement{\mathrm{c}}{\mathrm{d}}}
+\DeclareRobustCommand{\Vcs}{\CkmElement{\mathrm{c}}{\mathrm{s}}}
+\DeclareRobustCommand{\Vcb}{\CkmElement{\mathrm{c}}{\mathrm{b}}}
+\DeclareRobustCommand{\Vtd}{\CkmElement{\mathrm{t}}{\mathrm{d}}}
+\DeclareRobustCommand{\Vts}{\CkmElement{\mathrm{t}}{\mathrm{s}}}
+\DeclareRobustCommand{\Vtb}{\CkmElement{\mathrm{t}}{\mathrm{b}}}
+\DeclareRobustCommand{\VudConj}{\CkmElementConj{\mathrm{u}}{\mathrm{d}}}
+\DeclareRobustCommand{\VusConj}{\CkmElementConj{\mathrm{u}}{\mathrm{s}}}
+\DeclareRobustCommand{\VubConj}{\CkmElementConj{\mathrm{u}}{\mathrm{b}}}
+\DeclareRobustCommand{\VcdConj}{\CkmElementConj{\mathrm{c}}{\mathrm{d}}}
+\DeclareRobustCommand{\VcsConj}{\CkmElementConj{\mathrm{c}}{\mathrm{s}}}
+\DeclareRobustCommand{\VcbConj}{\CkmElementConj{\mathrm{c}}{\mathrm{b}}}
+\DeclareRobustCommand{\VtdConj}{\CkmElementConj{\mathrm{t}}{\mathrm{d}}}
+\DeclareRobustCommand{\VtsConj}{\CkmElementConj{\mathrm{t}}{\mathrm{s}}}
+\DeclareRobustCommand{\VtbConj}{\CkmElementConj{\mathrm{t}}{\mathrm{b}}}
+
+%% CKM element pairing for unitarity relations
+\newlength{\CKMPairWidth}
+\settowidth{\CKMPairWidth}{\Vtd\VtbConj}
+\DeclareRobustCommand{\@Vbox}[1]{\makebox[\CKMPairWidth]{#1}}
+\DeclareRobustCommand{\VCkmPair}[2]{\ensuremath{\@Vbox{{#1}{#2}}}}
+
+%% Theory acronyms
+\DeclareRobustCommand{\SCET}{SCET\xspace}
+\DeclareRobustCommand{\HQET}{HQET\xspace}
+\DeclareRobustCommand{\CKM}{CKM\xspace}
+\DeclareRobustCommand{\KM}{KM\xspace}
+\DeclareRobustCommand{\BSM}{BSM\xspace}
+\DeclareRobustCommand{\FCNC}{FCNC\xspace}
+
+%% Typical analysis concepts
+\DeclareRobustCommand{\PV}{\MathUpright{PV}}
+\DeclareRobustCommand{\IP}{\MathUpright{IP}}
+\DeclareRobustCommand{\pT}{\mymath{p_\MathUpright{T}}\xspace}
+\DeclareRobustCommand{\missingpT}{\mymath{\cancel{\pT}}\xspace}
+\DeclareRobustCommand{\Et}{\mymath{E_\MathUpright{T}}\xspace}
+\DeclareRobustCommand{\missingEt}{\mymath{\cancel{\Et}}\xspace}
+\DeclareRobustCommand{\p}{\mymath{p}\xspace}
+\DeclareRobustCommand{\chisq}{\mymath{\chi^2}\xspace}
+\DeclareRobustCommand{\tuple}[1]{\ensuremath{#1}-tuple\xspace}
+\DeclareRobustCommand{\tuples}[1]{\ensuremath{#1}-tuples\xspace}
+\DeclareRobustCommand{\ntuple}{\tuple{n}\xspace}
+\DeclareRobustCommand{\ntuples}{\tuples{n}\xspace}
+\DeclareRobustCommand{\dataset}{data set\xspace}
+\DeclareRobustCommand{\cutset}{cut set\xspace}
+\DeclareRobustCommand{\CoM}{CoM\xspace}
diff --git a/Master/texmf-dist/doc/latex/hepthesis/example/abhepexpt.sty b/Master/texmf-dist/doc/latex/hepthesis/example/abhepexpt.sty
new file mode 100644
index 00000000000..c51dd471aec
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/hepthesis/example/abhepexpt.sty
@@ -0,0 +1,64 @@
+\ProvidesPackage{abhepexpt}[2005/08/22]
+\RequirePackage{xspace}
+\RequirePackage{relsize}
+
+%% Generic expt stuff
+\providecommand{\TDR}{\ensuremath{\mathrm{TDR}}\xspace}
+
+%% Experiments
+\providecommand{\ALICE}{ALICE\xspace}
+\providecommand{\ATLAS}{ATLAS\xspace}
+\providecommand{\CMS}{CMS\xspace}
+\providecommand{\LHCb}{LHCb\xspace}
+%%
+\providecommand{\Belle}{Belle\xspace}
+\DeclareRobustCommand{\BaBar}{\mbox{\textsl{B\hspace{-0.08em}{\smaller A}\hspace{-0.1em}B\hspace{-0.08em}{\smaller A\hspace{-0.12em}R}}}\xspace}
+%\DeclareRobustCommand{\BaBar}{\textsl{B\hspace{-0.4em} {\scriptsize A}\hspace{-0.45em} B\hspace{-0.4em} {\scriptsize A\hspace{-0.12em}R}}\xspace}
+\providecommand{\CLEO}{CLEO\xspace}
+\providecommand{\BTeV}{BTeV\xspace}
+\providecommand{\KTeV}{KTeV\xspace}
+\providecommand{\HeraB}{\HERA-B\xspace}
+%%
+\providecommand{\Opal}{OPAL\xspace}
+\providecommand{\Delphi}{Delphi\xspace}
+\providecommand{\LThree}{L3\xspace}
+\providecommand{\Aleph}{Aleph\xspace}
+%%
+\providecommand{\DZero}{D\O\xspace}
+\providecommand{\CDF}{CDF\xspace}
+
+%% Institutes
+\providecommand{\CERN}{CERN\xspace}
+\providecommand{\KEK}{KEK\xspace}
+\providecommand{\FNAL}{FNAL\xspace}
+\providecommand{\Fermilab}{Fermilab\xspace}
+\providecommand{\SLAC}{SLAC\xspace}
+\providecommand{\BNL}{BNL\xspace}
+\providecommand{\DESY}{DESY\xspace}
+
+
+%% Accelerators
+\providecommand{\LHC}{LHC\xspace}
+\providecommand{\PEPII}{PEP-II\xspace}
+\providecommand{\KEKB}{KEK-B\xspace}
+\providecommand{\SLC}{SLC\xspace}
+\providecommand{\LEP}{LEP\xspace}
+\providecommand{\Tevatron}{Tevatron\xspace}
+\providecommand{\CESR}{CESR\xspace}
+\providecommand{\HERA}{HERA\xspace}
+
+
+% Various other experimental stuff
+\providecommand{\Geant}[1]{\begingroup\def\@empty{}\def\@arg{#1}Geant\ifx\@arg\@empty{}\else{#1}\fi\endgroup\xspace}
+\providecommand{\Cerenkov}{\v{C}erenkov\xspace}
+\providecommand{\thetaCerenkov}{\ensuremath{ \theta_C }\xspace}
+\providecommand{\PMT}{PMT\xspace}
+\providecommand{\PMTs}{\PMT{}s\xspace}
+\providecommand{\radlength}{\ensuremath{X_0}\xspace}
+\providecommand{\intlength}{\ensuremath{\lambda_I}\xspace}
+\providecommand{\PID}{PID\xspace}
+\providecommand{\subdetector}{sub-detector\xspace}
+
+%% Generators
+\providecommand{\Pythia}{Pythia\xspace}
+\providecommand{\Herwig}{Herwig\xspace}
diff --git a/Master/texmf-dist/doc/latex/hepthesis/example/abmath.sty b/Master/texmf-dist/doc/latex/hepthesis/example/abmath.sty
new file mode 100644
index 00000000000..fc8841e6386
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/hepthesis/example/abmath.sty
@@ -0,0 +1,267 @@
+\ProvidesPackage{abmath}[2006/04/12]
+\RequirePackage{maybemath}
+\RequirePackage{braket}
+\RequirePackage{xspace}
+
+%% --------------------------------------------------------------
+
+\DeclareRobustCommand{\mymath}[1]{\ensuremath{\maybebmsf{#1}}}
+\DeclareRobustCommand{\MathUpright}[1]{\mymath{\mathrm{#1}}}
+\DeclareRobustCommand{\MathText}[1]{\ensuremath{\text{#1}}}
+\DeclareRobustCommand{\RHS}{\MathText{right hand side}\xspace}
+\DeclareRobustCommand{\LHS}{\MathText{left hand side}\xspace}
+
+%% Groupings
+\DeclareRobustCommand{\parenths}[1]{\mymath{\left({#1}\right)}}
+\DeclareRobustCommand{\braces}[1]{\mymath{\left\{{#1}\right\}}}
+\DeclareRobustCommand{\angles}[1]{\mymath{\left\langle{#1}\right\rangle}}
+\DeclareRobustCommand{\sqbracs}[1]{\mymath{\left[{#1}\right]}}
+\DeclareRobustCommand{\mods}[1]{\mymath{\left\lvert{#1}\right\rvert}}
+\DeclareRobustCommand{\modsq}[1]{\mymath{\mods{#1}^2}}
+\DeclareRobustCommand{\dblmods}[1]{\mymath{\left\lVert{#1}\right\rVert}}
+% legacy names
+\DeclareRobustCommand{\bigparenths}[1]{\parenths{#1}}
+\DeclareRobustCommand{\bigbraces}[1]{\braces{#1}}
+\DeclareRobustCommand{\bigangles}[1]{\angles{#1}}
+\DeclareRobustCommand{\bigsqbracs}[1]{\sqbracs{#1}}
+\DeclareRobustCommand{\bigmods}[1]{\mods{#1}}
+\DeclareRobustCommand{\bigmodsq}[1]{\modsq{#1}}
+\DeclareRobustCommand{\bigdblmods}[1]{\dblmods{#1}}
+
+%% Misc
+\DeclareMathOperator{\diag}{diag}
+\DeclareMathOperator{\sign}{sgn}
+\DeclareMathOperator{\li}{li}
+\DeclareMathOperator{\trace}{Tr}
+\DeclareRobustCommand{\expparenths}[1]{\mymath{\exp{\!\parenths{#1}}}}
+\DeclareRobustCommand{\expbraces}[1]{\mymath{\exp{\!\braces{#1}}}}
+\DeclareRobustCommand{\expOf}[1]{\expparenths{#1}} % generalise to have braces specifier 1st arg
+\DeclareRobustCommand{\eexp}[1]{\mymath{e^{#1}}}
+\DeclareRobustCommand{\plusquad}{\mymath{\oplus}}
+\DeclareRobustCommand{\logOf}[1]{\log\!\parenths{#1}}
+\DeclareRobustCommand{\lnOf}[1]{\ln\!\parenths{#1}}
+\DeclareRobustCommand{\liOf}[1]{\li\!\parenths{#1}}
+\DeclareRobustCommand{\signOf}[1]{\sign\!\parenths{#1}}
+\DeclareRobustCommand{\diagOf}[1]{\diag\!\parenths{#1}}
+\DeclareRobustCommand{\traceOf}[1]{\trace\!\parenths{#1}}
+
+%% For use outside math mode
+\let\@oldpm\pm
+\DeclareRobustCommand{\pm}{\mymath{\,\@oldpm\,}}
+\let\@oldmp\mp
+\DeclareRobustCommand{\mp}{\mymath{\,\@oldmp\,}}
+\let\@oldVert\vert
+\DeclareRobustCommand{\vert}{\mymath{\@oldVert\,}}
+\let\@oldTo\to
+\DeclareRobustCommand{\to}{\mymath{\,\@oldTo\,}}
+\let\@oldsim\sim
+\DeclareRobustCommand{\sim}{\mymath{\,\@oldsim\,}}
+\let\@oldimplies\implies
+\DeclareRobustCommand{\implies}{\mymath{\@oldimplies}}
+\DeclareRobustCommand{\To}{\mymath{\@oldimplies}}
+\let\@oldtimes\times
+\DeclareRobustCommand{\times}{\mymath{\,\@oldtimes\,}}
+\let\@oldbra\bra
+\DeclareRobustCommand{\bra}[1]{\mymath{\@oldbra{#1}}}
+\let\@oldket\ket
+\DeclareRobustCommand{\ket}[1]{\mymath{\@oldket{#1}}}
+\let\@oldbraket\braket
+\DeclareRobustCommand{\braket}[1]{\mymath{\@oldbraket{#1}}}
+
+%% Re-define Greek letters for use outside math mode, too
+\let\@Oldalpha\alpha%
+\let\@Oldbeta\beta%
+\let\@Oldgamma\gamma%
+\let\@Olddelta\delta%
+\let\@Oldepsilon\epsilon%
+\let\@Oldvarepsilon\varepsilon%
+\let\@Oldzeta\zeta%
+\let\@Oldeta\eta%
+\let\@Oldtheta\theta%
+\let\@Oldvartheta\vartheta%
+\let\@Oldiota\iota%
+\let\@Oldkappa\kappa%
+\let\@Oldlambda\lambda%
+\let\@Oldmu\mu%
+\let\@Oldnu\nu%
+\let\@Oldxi\xi%
+\let\@Oldpi\pi%
+\let\@Oldvarpi\varpi%
+\let\@Oldrho\rho%
+\let\@Oldvarrho\varrho%
+\let\@Oldsigma\sigma%
+\let\@Oldvarsigma\varsigma%
+\let\@Oldtau\tau%
+\let\@Oldupsilon\upsilon%
+\let\@Oldphi\phi%
+\let\@Oldvarphi\varphi%
+\let\@Oldchi\chi%
+\let\@Oldpsi\psi%
+\let\@Oldomega\omega%
+\renewcommand{\alpha}{\mymath{\@Oldalpha}\xspace}%
+\renewcommand{\beta}{\mymath{\@Oldbeta}\xspace}%
+\renewcommand{\gamma}{\mymath{\@Oldgamma}\xspace}%
+\renewcommand{\delta}{\mymath{\@Olddelta}\xspace}%
+\renewcommand{\epsilon}{\mymath{\@Oldepsilon}\xspace}%
+\renewcommand{\varepsilon}{\mymath{\@Oldvarepsilon}\xspace}%
+\renewcommand{\zeta}{\mymath{\@Oldzeta}\xspace}%
+\renewcommand{\eta}{\mymath{\@Oldeta}\xspace}%
+\renewcommand{\theta}{\mymath{\@Oldtheta}\xspace}%
+\renewcommand{\vartheta}{\mymath{\@Oldvartheta}\xspace}%
+\renewcommand{\iota}{\mymath{\@Oldiota}\xspace}%
+\renewcommand{\kappa}{\mymath{\@Oldkappa}\xspace}%
+\renewcommand{\lambda}{\mymath{\@Oldlambda}\xspace}%
+\renewcommand{\mu}{\mymath{\@Oldmu}\xspace}%
+\renewcommand{\nu}{\mymath{\@Oldnu}\xspace}%
+\renewcommand{\xi}{\mymath{\@Oldxi}\xspace}%
+\renewcommand{\pi}{\mymath{\@Oldpi}\xspace}%
+\renewcommand{\varpi}{\mymath{\@Oldvarpi}\xspace}%
+\renewcommand{\rho}{\mymath{\@Oldrho}\xspace}%
+\renewcommand{\varrho}{\mymath{\@Oldvarrho}\xspace}%
+\renewcommand{\sigma}{\mymath{\@Oldsigma}\xspace}%
+\renewcommand{\varsigma}{\mymath{\@Oldvarsigma}\xspace}%
+\renewcommand{\tau}{\mymath{\@Oldtau}\xspace}%
+\renewcommand{\upsilon}{\mymath{\@Oldupsilon}\xspace}%
+\renewcommand{\phi}{\mymath{\@Oldphi}\xspace}%
+\renewcommand{\varphi}{\mymath{\@Oldvarphi}\xspace}%
+\renewcommand{\chi}{\mymath{\@Oldchi}\xspace}%
+\renewcommand{\psi}{\mymath{\@Oldpsi}\xspace}%
+\renewcommand{\omega}{\mymath{\@Oldomega}\xspace}%
+
+%% Commands
+\DeclareRobustCommand{\isabout}{\sim\,}
+\DeclareRobustCommand{\isAbout}{\isabout}
+\DeclareRobustCommand{\about}{\mymath{\@oldsim\!\,}}
+\DeclareRobustCommand{\goesto}{\mymath{ \, \Rightarrow \, }}
+\DeclareRobustCommand{\isdefined}{ \equiv }
+\DeclareRobustCommand{\isdefinedas}{ \equiv }
+%\DeclareRobustCommand{\expectation}[1]{\mymath{ \mathcal{E}\lbrack#1\rbrack }}
+\DeclareRobustCommand{\FT}[1]{\mymath{ \mathcal{FT}\lbrack {#1} \rbrack }}
+\DeclareRobustCommand{\LT}[1]{\mymath{ \mathcal{LT}\lbrack {#1} \rbrack }}
+\DeclareRobustCommand{\operand}{\mymath{ \bullet }}
+\DeclareRobustCommand{\scalesas}{\mymath{ \propto }}
+\DeclareRobustCommand{\powerten}[1]{\mymath{ \power{10}{#1} }}
+
+
+%% Parenthetic operations
+\DeclareRobustCommand{\ofOrder}[1]{\mymath{ \mathcal{O}\parenths{#1} }}
+\DeclareRobustCommand{\orderof}[1]{ \ofOrder{#1} }
+\DeclareRobustCommand{\isOfOrder}[1]{\mymath{ \sim \ofOrder{#1} }}
+\DeclareRobustCommand{\expectationOf}[1]{\mymath{ \mathscr{E}\bracs{#1} }}
+\DeclareRobustCommand{\DeltaOf}[1]{\mymath{ \Delta\!\mspace{2.0mu}{#1} }}
+\DeclareRobustCommand{\deltaOf}[1]{\mymath{ \delta\!\mspace{2.0mu}{#1} }}
+\DeclareRobustCommand{\argOf}[1]{\mymath{ \arg\!\parenths{#1} }}
+\DeclareRobustCommand{\sinOf}[1]{\mymath{ \sin\!\parenths{#1} }}
+\DeclareRobustCommand{\cosOf}[1]{\mymath{ \cos\!\parenths{#1} }}
+\DeclareRobustCommand{\tanOf}[1]{\mymath{ \tan\!\parenths{#1} }}
+\DeclareRobustCommand{\sinhOf}[1]{\mymath{ \sinh\!\parenths{#1} }}
+\DeclareRobustCommand{\coshOf}[1]{\mymath{ \cosh\!\parenths{#1} }}
+\DeclareRobustCommand{\tanhOf}[1]{\mymath{ \tanh\!\parenths{#1} }}
+\DeclareRobustCommand{\arcsinOf}[1]{\mymath{ \arcsin\!\parenths{#1} }}
+\DeclareRobustCommand{\arccosOf}[1]{\mymath{ \arccos\!\parenths{#1} }}
+\DeclareRobustCommand{\arctanOf}[1]{\mymath{ \arctan\!\parenths{#1} }}
+\DeclareRobustCommand{\arcsinhOf}[1]{\mymath{ \arcsinh\!\parenths{#1} }}
+\DeclareRobustCommand{\arccoshOf}[1]{\mymath{ \arccosh\!\parenths{#1} }}
+\DeclareRobustCommand{\arctanhOf}[1]{\mymath{ \arctanh\!\parenths{#1} }}
+
+%% Numbers
+\DeclareRobustCommand{\nhalfs}[1]{\mymath{\frac{#1}{2}\,}\xspace}
+\DeclareRobustCommand{\nthirds}[1]{\mymath{\frac{#1}{3}\,}\xspace}
+\DeclareRobustCommand{\nquarters}[1]{\mymath{\frac{#1}{4}\,}\xspace}
+\DeclareRobustCommand{\half}{\nhalfs{1}\xspace}
+\DeclareRobustCommand{\onethird}{\nthirds{1}\xspace}
+\DeclareRobustCommand{\onequarter}{\nquarters{1}\xspace}
+\DeclareRobustCommand{\oneover}[1]{\mymath{\frac{1}{#1}}\xspace}
+\DeclareRobustCommand{\I}{\mymath{\imath}}
+\let\@oldRe\Re
+\let\@oldIm\Im
+\DeclareRobustCommand{\Im}{\mymath{ \@oldIm{}\mathfrak{m} }\xspace}
+\DeclareRobustCommand{\Re}{\mymath{ \@oldRe{}\mathfrak{e}\mspace{3mu} }\xspace}
+\DeclareRobustCommand{\ImaginaryPart}[1]{\mymath{ \,\Im\!\,\braces{#1} }\xspace}
+\DeclareRobustCommand{\RealPart}[1]{\mymath{ \,\Re\!\braces{#1} }\xspace}
+\DeclareRobustCommand{\percent}{\%\xspace}
+
+%% Groups
+\DeclareRobustCommand{\group}[1]{\mymath{\mayberm{#1}}}
+\DeclareRobustCommand{\Ugroup}[1]{\group{U}\parenths{#1}}
+\DeclareRobustCommand{\SUgroup}[1]{\group{S}\Ugroup{#1}}
+\DeclareRobustCommand{\Ogroup}[1]{\group{O}\parenths{#1}}
+\DeclareRobustCommand{\SOgroup}[1]{\group{S}\Ogroup{#1}}
+\DeclareRobustCommand{\Egroup}[1]{\group{E}_{#1}}
+\DeclareRobustCommand{\directsum}{\mymath{\oplus}}
+\DeclareRobustCommand{\directprod}{\mymath{\otimes}}
+\DeclareRobustCommand{\covers}{\mymath{\supset}}
+\DeclareRobustCommand{\exclude}{\mymath{\backslash}}
+
+%% Physics
+\DeclareRobustCommand{\commutator}[2]{\sqbracs{{#1},{#2}}}
+\DeclareRobustCommand{\anticommutator}[2]{\braces{{#1},{#2}}}
+
+%% Tensors
+\DeclareRobustCommand{\Kronecker}{\mymath{\delta}\xspace} % have to specify indices separately now
+\DeclareRobustCommand{\LeviCivita}{\mymath{\epsilon}\xspace} % have to specify indices separately now
+
+%% Vectors, tuples and sets
+\DeclareRobustCommand{\cross}{\mymath{\times}\xspace}
+\DeclareRobustCommand{\bvec}[1]{\mymath{\bm{#1}}\xspace}
+\DeclareRobustCommand{\colset}[1]{\mymath{\begin{Bmatrix}#1\end{Bmatrix}}\xspace}
+\DeclareRobustCommand{\coltuple}[1]{\mymath{\begin{pmatrix}#1\end{pmatrix}}\xspace}
+\DeclareRobustCommand{\colvector}[1]{\mymath{\begin{pmatrix}#1\end{pmatrix}}\xspace}
+\DeclareRobustCommand{\colthreevec}[3]{\mymath{\begin{pmatrix}#1\\ #2\\ #3\end{pmatrix}}\xspace}
+\DeclareRobustCommand{\rowset}[1]{\braces{#1}\xspace}
+\DeclareRobustCommand{\rowtuple}[1]{\parenths{#1}\xspace}
+\DeclareRobustCommand{\rowvector}[1]{\parenths{#1}\xspace}
+\DeclareRobustCommand{\rowthreevec}[3]{\parenths{{#1}, {#2}, {#3}}\xspace}
+
+%% Ranges
+\DeclareRobustCommand{\rangeSS}[1]{\parenths{#1}\xspace}
+\DeclareRobustCommand{\rangeSH}[1]{\left({#1}\right]\xspace}
+\DeclareRobustCommand{\rangeHS}[1]{\left[{#1}\right)\xspace}
+\DeclareRobustCommand{\rangeHH}[1]{\sqbracs{#1}\xspace}
+\DeclareRobustCommand{\softrange}[1]{\rangeSS{#1}}
+\DeclareRobustCommand{\hardrange}[1]{\rangeHH{#1}}
+
+%% Matrix
+\DeclareRobustCommand{\boldmatrix}[1]{\mymath{\bm{\mathrm{#1}}}\xspace}
+\DeclareRobustCommand{\transposeT}{\MathUpright{T}\,}
+\DeclareRobustCommand{\hermitianT}{\dagger}
+\DeclareRobustCommand{\twomatrix}[2]{\mymath{\begin{pmatrix}#1\\ #2\end{pmatrix}}\xspace}
+\DeclareRobustCommand{\threematrix}[3]{\mymath{\begin{pmatrix}#1\\ #2\\ #3\end{pmatrix}}\xspace}
+
+%% Differentials
+\DeclareRobustCommand{\diff}[1]{\mymath{\mathrm{d} #1}}
+\DeclareRobustCommand{\pdiff}[1]{\mymath{\partial #1}}
+\DeclareRobustCommand{\dByd}[2]{\mymath{ \frac{\diff{#1}}{\diff{#2}} }}
+\DeclareRobustCommand{\pdByd}[2]{\mymath{ \frac{\pdiff{#1}}{\pdiff{#2}} }}
+\DeclareRobustCommand{\DeltaVec}[1]{\mymath{\boldsymbol{\Delta}\mathbf{#1}}}
+\DeclareRobustCommand{\DeltaN}[1]{\mymath{\Delta #1}}
+\DeclareRobustCommand{\deltaVec}[1]{\mymath{\boldsymbol{\delta}\mathbf{#1}}}
+\DeclareRobustCommand{\deltaN}[1]{\mymath{\delta #1}}
+\DeclareRobustCommand{\d}[1]{\mymath{\mathrm{d}#1}}
+\DeclareMathOperator{\curl}{curl} % curl
+%\DeclareMathOperator{\div}{div} % div
+\DeclareRobustCommand{\gradCross}[1]{\mymath{\nabla \cross #1}} % curl
+\DeclareRobustCommand{\gradDot}[1]{\mymath{\nabla \dot #1}} % div
+\DeclareRobustCommand{\Laplacian}{\mymath{\backslash}}
+\DeclareRobustCommand{\dAlembertian}{\mymath{\box^{2}}} % I like it with power of 2 attached :-)
+\DeclareRobustCommand{\exclude}{\mymath{\backslash}}
+
+
+%% Statistics and probability
+\DeclareRobustCommand{\mean}[1]{\angles{#1}}
+\DeclareRobustCommand{\given}{\mymath{\vert}}
+\DeclareRobustCommand{\probabilityP}{\mymath{\mayberm{p}}}
+\DeclareRobustCommand{\probability}[1]{\mymath{\probabilityP\parenths{#1}}}
+
+
+%% Principle value integral signs (from UK TeX FAQ)
+\def\Xint#1{\mathchoice
+ {\XXint\displaystyle\textstyle{#1}}%
+ {\XXint\textstyle\scriptstyle{#1}}%
+ {\XXint\scriptstyle\scriptscriptstyle{#1}}%
+ {\XXint\scriptscriptstyle\scriptscriptstyle{#1}}%
+ \!\int}
+\def\XXint#1#2#3{{\setbox0=\hbox{$#1{#2#3}{\int}$}
+ \vcenter{\hbox{$#2#3$}}\kern-.5\wd0}}
+\def\ddashint{\Xint=}
+\def\dashint{\Xint-}
diff --git a/Master/texmf-dist/doc/latex/hepthesis/example/appendices.tex b/Master/texmf-dist/doc/latex/hepthesis/example/appendices.tex
index 09eba1ed13d..91b9dc1ee26 100644
--- a/Master/texmf-dist/doc/latex/hepthesis/example/appendices.tex
+++ b/Master/texmf-dist/doc/latex/hepthesis/example/appendices.tex
@@ -10,5 +10,12 @@ bit of your thesis. Yeah. So everyone should have at least three of them\dots
\label{sec:Duh}
Padding? What do you mean?
+\section{$y = \alpha x^2$}
+\label{sec:EqnTitle}
+See, maths in titles automatically goes bold where it should (and check the
+table of contents: it \emph{isn't} bold there!) Check the source: nothing
+needs to be specified to make this work. Thanks to Donald Arsenau for the
+(very teeny) hack that makes this work.
+
%% Big appendixes should be split off into separate files, just like chapters
%\input{app-myreallybigappendix}
diff --git a/Master/texmf-dist/doc/latex/hepthesis/example/chap2.tex b/Master/texmf-dist/doc/latex/hepthesis/example/chap2.tex
index f7c9e2611ca..1c143e359ba 100644
--- a/Master/texmf-dist/doc/latex/hepthesis/example/chap2.tex
+++ b/Master/texmf-dist/doc/latex/hepthesis/example/chap2.tex
@@ -21,6 +21,7 @@ precision physics of electroweak unification\dots
\section{The \LHCb experiment}
\label{sec:LHCbInDetail}
+
Since both \bhadron{s} are preferentially produced in the same direction
and are forward-boosted along the beam-pipe, the detector is not required
to have full $4\pi$ solid-angle coverage. \LHCb takes advantage of this
diff --git a/Master/texmf-dist/doc/latex/hepthesis/example/example.pdf b/Master/texmf-dist/doc/latex/hepthesis/example/example.pdf
index ed7ef3becd7..2109618b44c 100644
--- a/Master/texmf-dist/doc/latex/hepthesis/example/example.pdf
+++ b/Master/texmf-dist/doc/latex/hepthesis/example/example.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/hepthesis/example/example.tex b/Master/texmf-dist/doc/latex/hepthesis/example/example.tex
index 75e61322dcd..b37f1e42438 100644
--- a/Master/texmf-dist/doc/latex/hepthesis/example/example.tex
+++ b/Master/texmf-dist/doc/latex/hepthesis/example/example.tex
@@ -14,9 +14,8 @@ pdfauthor = {\textcopyright\ Andy Buckley}
\makeatother
%% Define the thesis title and author
-\definethesis%
-{A study of \BToKPi decays with the \LHCb experiment}%
-{Andrew Gordon Buckley}
+\title{A study of \BToKPi decays with\\ the \LHCb experiment}
+\author{Andrew Gordon Buckley}
%% Start the document
\begin{document}
diff --git a/Master/texmf-dist/doc/latex/hepthesis/example/frontmatter.tex b/Master/texmf-dist/doc/latex/hepthesis/example/frontmatter.tex
index f9d77a4c317..9406adf2e77 100644
--- a/Master/texmf-dist/doc/latex/hepthesis/example/frontmatter.tex
+++ b/Master/texmf-dist/doc/latex/hepthesis/example/frontmatter.tex
@@ -1,8 +1,7 @@
%% Title
-\thesistitlepage
-{Churchill College}%\\University of Cambridge}
+\titlepage[of Churchill College]%
{A dissertation submitted to the University of Cambridge\\
- for the degree of Doctor of Philosophy}
+ for the degree of Doctor of Philosophy}
%% Abstract
\begin{abstract}%[\smaller \thetitle\\ \vspace*{1cm} \smaller {\theauthor}]
@@ -41,6 +40,7 @@
particle physics program, centred around the \LHCb detector and \LHC
accelerator at \CERN in Geneva.
+ \noindent
For this example, I'll just mention \ChapterRef{chap:SomeStuff}
and \ChapterRef{chap:MoreStuff}.
\end{preface}
@@ -49,7 +49,7 @@
\tableofcontents
%% Strictly optional!
-\thesisfrontquote%
+\frontquote%
{Writing in English is the most ingenious torture\\
ever devised for sins committed in previous lives.}%
{James Joyce}
diff --git a/Master/texmf-dist/doc/latex/hepthesis/example/thesis.cls b/Master/texmf-dist/doc/latex/hepthesis/example/thesis.cls
index a2c160e0d4a..17307ffeda1 100644
--- a/Master/texmf-dist/doc/latex/hepthesis/example/thesis.cls
+++ b/Master/texmf-dist/doc/latex/hepthesis/example/thesis.cls
@@ -1,6 +1,6 @@
\ProvidesClass{thesis}
%% For normal draft builds
-\LoadClass[hyperpdf,nobind,draft]{hepthesis}
+\LoadClass[hyperpdf,nobind,draft,sftitles]{hepthesis}
%% For short draft builds (breaks citations by necessity)
%\LoadClass[hyperpdf,nobind,draft,hidefrontback]{hepthesis}
%% For Cambridge soft-bound version