\documentclass[a4paper,12pt]{book}

\usepackage{graphicx}
\usepackage{amssymb}
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{placeins}

\usepackage{tikz}
\usetikzlibrary{matrix}
\tikzset{every picture/.style={line width=0.75pt}} %set default line width to 0.75pt  

\usepackage[english]{babel}
\usepackage{booktabs}
\usepackage{stfloats}
\usepackage[T1]{fontenc}
\usepackage{bm}

\usepackage[titletoc,title]{appendix}

\usepackage{float}
\restylefloat{table}

\usepackage{longtable}

\usepackage{xcolor,colortbl}

\usepackage{mathpazo} % Palatino
\usepackage{avant}    % Avant Garde

\usepackage[margin=2.6cm, bottom=3.cm, top=3.cm, portrait]{geometry}\usepackage{caption}\usepackage[a4paper]{hyperref}\usepackage{adjustbox}\usepackage{enumitem}

\usepackage[stable]{footmisc}
 
\hypersetup{pdfborder=0 0 0}

\renewcommand{\vec}[1]{\mathbf{#1}}

\setlength\parindent{0pt}

\newcommand{\HRule}[1]{\hfill \rule{0.2\linewidth}{#1}}
\newcommand{\dee}[0]{\text{d}}
\newcommand{\totder}[2]{\frac{\dee  {#1}}{\dee  {#2}}}
\newcommand{\partder}[2]{\frac{\partial {#1}}{\partial {#2}}}
\newcommand{\mean}[1]{\left\langle {#1} \right\rangle}
\newcommand{\curlyH}[0]{\mathcal{H}}


\makeatletter
\newcommand\primitiveinput[1]
{\@@input #1 }
\makeatother

\definecolor{Gray}{gray}{0.90}

\setcounter{tocdepth}{2}
\setcounter{secnumdepth}{3}

%\renewcommand\thesection{\arabic{section}}

%\renewcommand\appendixname{Appendix}
%\renewcommand\appendixpagename{Appendix}

\begin{document}


\thispagestyle{empty} % Remove page numbering on this page

%----------------------------------------------------------------------------------------
%	TITLE SECTION
%----------------------------------------------------------------------------------------

\colorbox{Gray}{
	\parbox[t]{1.0\linewidth}{
		\centering \fontsize{28pt}{40pt}\selectfont % The first argument for fontsize is the font size of the text and the second is the line spacing - you may need to play with these for your particular title
		\vspace*{0.7cm} % Space between the start of the title and the top of the grey box
		
		\hfill Xsuite \\
		\hfill physics manual

%		\hfill Beam Screens\\
		
		\vspace*{0.7cm} % Space between the end of the title and the bottom of the grey box
	}
}

%----------------------------------------------------------------------------------------

%\vfill
%                \hfill {\huge Bunch length 1.0 ns}
                \vfill

%----------------------------------------------------------------------------------------
%	AUTHOR NAME AND INFORMATION SECTION
%----------------------------------------------------------------------------------------

{\centering \large 
%\hfill \\
\hfill CERN - Geneva, Switzerland

\HRule{1pt}} % Horizontal line, thickness changed here

%----------------------------------------------------------------------------------------

\clearpage % Whitespace to the end of the page

\newpage

\tableofcontents

\newpage


\renewcommand*{\arraystretch}{1.4}


\input{xtrack.tex}
\input{xfields.tex}




\bibliographystyle{unsrt}
\bibliography{bibliography}



\end{document}

