%%
%% SuperB Physics reach
%%
%% File follows SLAC preprint template in:
%% http://www.slac.stanford.edu/econf/editors/eprint-template/instructions.html
%% (LaTeX two-column format: conftemplates_two.zip)
%% See also REVTeX 4 README file for restrictions and more information.
%% see also paper-example.tex for examples
%%
%% there is probably an additional style file needed to match
%% the exact style used by the spectroscopy document
%%
%% To merge with other contribution, copy bibitems from SPIRES
%% (e.g. latex link in
%% http://www-spires.slac.stanford.edu/spires/find/hep/www?irn=2566320)
%%
%% if non text character are used in section titles, please use
%% \section{\texorpdfstring{$E=mc^2$}{E=mc2}}
%% pdf bookmarks do not work with latex+dvips+ps2pdf, work with pdflatex
%%
\newif\ifrevtex
\revtextrue
%%\revtexfalse
\ifrevtex
\documentclass[a4paper,twocolumn,twoside,dvips,prl]{revtex4}
\bibliographystyle{apsrev}
\makeatletter
\twoside@sw{\@twosidetrue}{\@twosidefalse}
\makeatother
\else
\documentclass[a4paper,twocolumn,twoside,dvips]{article}
\usepackage[sort&compress]{natbib}
\bibliographystyle{apsrev}
%% \usepackage{cite}
%% \bibliographystyle{h-physrev3}
\fi

\usepackage{ifpdf}
\ifpdf
\usepackage[pdftex]{graphicx}
\DeclareGraphicsExtensions{.pdf}  
\else
\usepackage{graphicx}
\fi
\usepackage{fancyhdr}
\usepackage{varioref}
\usepackage{array}
\usepackage{tabularx}
\usepackage{subfigure}
\usepackage{amstext}
\usepackage{amsfonts}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{url}
\usepackage{multirow}
\usepackage{lineno}
\usepackage{dcolumn}
\usepackage{setspace}
\usepackage{relsize}
\usepackage[percent]{overpic}

\input{../babarsym}

\ifpdf
\usepackage[pdftex,bookmarks]{hyperref}
\else
\usepackage[ps2pdf,bookmarks]{hyperref}
\fi
\hypersetup{%
  %% pdfstartview=FitH,
  pdfpagemode={UseOutlines},
  %% pdfpagemode=None,
  %% bookmarks,
  bookmarksopen,
  %% bookmarksopenlevel=1,
  %% bookmarksnumbered=true, %% includes chapter-/header-/section-/... numbers
  hypertexnames=false,
  %% hyperfigures,
  %% backref,
  linktocpage,
  %% breaklinks,
  %% colorlinks,
  %% citecolor={black},
  %% linkcolor={black},
  %% urlcolor={black},
  linkbordercolor={0.0 0.3 1.0},
  %% pdfauthor = {Name of Author},
  %% pdftitle = {Title of docment},
  %% pdfsubject = {Subject},
  %% pdfkeywords = {Keyword1, Keyword2, ...},
  %% pdfcreator = {LaTeX with hyperref package},
  %% pdfproducer = {dvips + ps2pdf}
}
\usepackage{hypernat}

\makeatletter
\DeclareRobustCommand\bfseries{%
  \not@math@alphabet\bfseries\mathbf
  \fontseries\bfdefault\selectfont\boldmath}
\DeclareRobustCommand*{\bm}[1]{%
    \mathchoice{\bmbox{\displaystyle}{#1}}%
               {\bmbox{\textstyle}{#1}}%
               {\bmbox{\scriptstyle}{#1}}%
               {\bmbox{\scriptscriptstyle}{#1}}}
\DeclareRobustCommand*{\bmbox}[2]{\mbox{\bfseries$#1 #2$}}
\makeatother

\makeatletter
\@latex@info{//// style change: modifying section title style}
\def\@hangfrom@section#1#2#3{#1#2#3}%
\def\section{%
  \@startsection
    {section}%
    {1}%
    {\z@}%
    {0.8cm \@plus1ex \@minus .2ex}%
    {0.5cm}%
    {%
      \normalfont\small\larger\larger\bfseries
      \centering
    }%
}%
\makeatother

%% fix \babar definition
\let\babarOld\babar
\def\babar{\babarOld\xspace}

%%/////////////////////////////////////////////////////////////////////////////
%%
%%      definitions
%%

\newcommand{\EE}[1]{\ensuremath{{\cdot}10^{#1}}}

%%/////////////////////////////////////////////////////////////////////////////


\pagestyle{fancyplain}
\fancyhead{} % clear all fields
%%--- conf. data
\fancyhead[C]{\fancyplain{}{\it The SuperB Physics Case}}
\fancyhead[RO,LE]{\fancyplain{}{\thepage}}
\fancyfoot{} % clear all fields
%%--- PSN
\fancyfoot[LE,LO]{\fancyplain{}{\bf}}
\renewcommand{\headrulewidth}{0pt}
\renewcommand{\footrulewidth}{0pt}

\begin{document}
%%
%% Title of paper
\title{The SuperB Physics Case}
%%
\ifrevtex
%% Repeat the \author .. \affiliation  etc. as needed
%% \affiliation command applies to all authors since the last
%% \affiliation command. The \affiliation command should follow the
%% other information
%%
\author{G.~Isidori}
\affiliation{Pisa}
\author{A.~Lusiani}
\affiliation{Pisa}
\author{P.~Paradisi}
\affiliation{Muenchen}
\author{M.~Roney}
\affiliation{Victoria}
%%
\else
%%
\author{G.~Isidori, A.~Lusiani, P.~Paradisi, M.~Roney}
\fi
%%
\ifrevtex\else\maketitle\fi
%%
\begin{abstract}
The physics discovery potential of \superb with 75\invab of data is
reviewed and compared with other competing facilities.
\end{abstract}
%%
%% --- for revtex \maketitle follows abstract
\ifrevtex\maketitle\fi
%%
%% \tableofcontents
%% \listoffigures
%% \listoftables

%%
%% body of paper here - Use proper section commands
%% References should be done using the \cite, \ref, and \label commands
%% Put \label in argument of \section for cross-referencing
%% \section{\label{}}
%%

\newcommand{\tauPhysFlag}{}

\input{tau}

\end{document}
