% ****** Start of file apssamp.tex ******
%
%   This file is part of the APS files in the REVTeX 4.2 distribution.
%   Version 4.2a of REVTeX, December 2014
%
%   Copyright (c) 2014 The American Physical Society.
%
%   See the REVTeX 4 README file for restrictions and more information.
%
% TeX'ing this file requires that you have AMS-LaTeX 2.0 installed
% as well as the rest of the prerequisites for REVTeX 4.2
%
% See the REVTeX 4 README file
% It also requires running BibTeX. The commands are as follows:
%
%  1)  latex apssamp.tex
%  2)  bibtex apssamp
%  3)  latex apssamp.tex
%  4)  latex apssamp.tex
%\documentclass[preprint,...]{revtex4-2} is supposed to be 1 column

%\documentclass[10pt,aps,prd,twocolumn,superscriptaddress,showpacs,altaffilletter]{revtex4-1}
\documentclass[%
%twocolumn,
superscriptaddress,
showpacs,
altaffilletter,
%preprint,
preprintnumbers,
%nofootinbib,
%nobibnotes,
%bibnotes,
 amsmath,
 amssymb,
aps,
prd,
%floatfix,
]{revtex4-2}
\usepackage{hyperref}% add hypertext capabilities
\usepackage{graphicx}% Include figure files
\usepackage{dcolumn}% Align table columns on decimal point
\usepackage{bm}% bold math

\hypersetup{colorlinks=true, citecolor=blue, urlcolor=blue, linkcolor=blue}
%\usepackage[mathlines]{lineno}% Enable numbering of text and display math
%\linenumbers\relax % Commence numbering lines

%\usepackage[showframe,%Uncomment any one of the following lines to test
%%scale=0.7, marginratio={1:1, 2:3}, ignoreall,% default settings
%%text={7in,10in},centering,
%%margin=1.5in,
%%total={6.5in,8.75in}, top=1.2in, left=0.9in, includefoot,
%%height=10in,a5paper,hmargin={3cm,0.8in},
%]{geometry}

\usepackage[alsoload=hep]{siunitx} % use \SI{}{} % use hep to get the right c

\usepackage{xcolor} % use \textcolor{}{}
%%%\usepackage{subfigure}
\usepackage{subcaption}% For use with subfigures
\usepackage{comment} % to comment out large sections but not remove them from these files

\usepackage{tikz}% A graphics class used to overlay text on images
\usepackage[printwatermark]{xwatermark}% Print a DRAFT watermark on every page
%%%\newsavebox\mybox\savebox\mybox{\tikz[color=green!50,opacity=0.5]\node{DRAFT};}
%%\newwatermark*[allpages,angle=45,scale=16,xpos=-54,ypos=57]{\usebox\mybox}% Print a DRAFT watermark on every page.

\usepackage[ampersand]{easylist} % Use nested bullet points.
%\usepackage[doublespacing]{setspace}


% g-2:
\newcommand{\gm}{\ensuremath{(g-2)}}
\newcommand{\wa}{\mbox{\ensuremath{\omega_a}}}
\renewcommand{\wp}{\mbox{\ensuremath{\omega_p}}}
%\renewcommand{\amu}{\ensuremath{a_\mu}}
%\newcommand{\gmtwo}{\ensuremath{g-2}}
\newcommand{\gmtwo}{\ensuremath{g\!-\!2}}
% Magic Radius:
\newcommand{\rmagic}{\ensuremath{R_{0}}}
% Magic Circumference:
\newcommand{\cmagic}{\ensuremath{C_{0}}}
% Magic Momentum:
\newcommand{\pmagic}{\ensuremath{p_{0}}}
%\newcommand{\pmagic}{\ensuremath{p_{\textnormal{mag}}}}
% Magic Lorentz Factor:
\newcommand{\gammamagic}{\ensuremath{\gamma_{0}}}
% Magic Beta:
\newcommand{\betamagic}{\ensuremath{\beta_{0}}}
% Dipole magnetic field
\newcommand{\dipbfield}{\ensuremath{B_{0}}}
% Run-1
\newcommand{\runone}{Run-1}
% Run-2
\newcommand{\runtwo}{Run-2}
% Run-3
\newcommand{\runthree}{Run-3}
\newcommand\runonea{Run 1a}
\newcommand\runoneb{Run 1b}
\newcommand\runonec{Run 1c}
\newcommand\runoned{Run 1d}
%\input{/Users/dlr10/papers/macros.tex}
\input{/Users/dlr10/papers/Definitions}
\input{/Users/david/papers/Definitions}
\def\oneonr2{{  \frac{1}{\sqrt{2}} }}
\def\bmhr{{\hat{\bm\rho}}}
\def\bmhp{{\hat{\bm\phi}}}
\def\bmbetahat{{\hat{\bm\beta}}}
\def\bfs{{\bf s}}
\def\bfhz{{\hat{\bf z}}}
\def\bfhx{{\hat{\bf x}}}
\def\bfhy{{\hat{\bf y}}}
\graphicspath{{./fig/}}

\begin{document}
\preprint{doc \# ?}
\title{Modeling the g-2 Ring with {\it BMAD}}
\author{D. Rubin}
%\input{tex/00_title_and_authors}

\date{\today}% It is always \today, today,
             %  but any date may be explicitly specified

%\input{abstract}

\maketitle % call abstract environment before \maketitle

\tableofcontents

%% tex these

\input{introduction}
\input{input}
\input{output}
\input{whatgoeson}
\input{examples}
%\input{cornellgrid}
%\input{combininggridoutput}
%\input{appendix}

%\bibliography{header}% Produces the bibliography via BibTeX.

\end{document}
%
% ****** End of file apssamp.tex ******
