%=============================================================================
\documentclass[10pt,a4paper]{article}
%
\input{setup/AIDA2020-setup.tex}
%
\pagestyle{fancyplain}{\fancyfoot[C]{\sffamily{Some AIDA2020 Report}}}
%
\begin{document}
%
%  BIG Title
%
%==  Front page  =============================================================
\AIDAtitle{
BIG Header
}
%
%  Minor title
%
{
Descriptive Header \\
with a second line \\
}
{  % Put here the authors....
\vspace{3cm}
The Author \\
{CERN, 1211 Geneva 23, Switzerland}
}
%
%==  Abstract  ===============================================================
\pagestyle{plain}
\pagenumbering{Roman}
\setcounter{page}{1}
%
\begin{abstract}
\noindent
\normalsize
Abstract text......
\end{abstract}
%
%==  Document history ========================================================
% Add/remove here space to nicely adjust document history to the bottom of the page
%
\vspace{10cm}
%
\begin{center}
{\large{\bf{
\begin{tabular} {| l | l | l |}
\hline
\multicolumn{3}{| c |}{} \\[0.2cm]
\multicolumn{3}{| c |}{Document History} \\[0.2cm]
\multicolumn{3}{| c |}{} \\[0.2cm]
\hline
                 &      &                              \\
Document         &      &                              \\
version          & Date & Author         \\[0.2cm] \hline
                 &      &                              \\
1.0              & 10/4/2014 & The Author CERN/LHCb  \\
                 &      &                \\        \hline 
\end{tabular}
}}}
\end{center}
\clearpage
%
%==  TOC  ====================================================================
\tableofcontents
\clearpage
%
%
%=============================================================================
% Manual starts here:
%=============================================================================
\pagenumbering{arabic}
\setcounter{page}{1}

%=============================================================================
\section{Introduction}
\label{sec:aida2020-section-introduction}
%=============================================================================
The typical blabla, which comes always.

\section{Documentation}
\label{sec:aida2020-section-documentation}
%=============================================================================
To obtain this document as pdf, use pdflatex:
\begin{unnumberedcode}
    $> pdflatex AIDA2020-example.tex
\end{unnumberedcode}
The produced output file should be this pdf ....

\noindent
This is an HTML reference, which is spit out when converted to pdf: 
\href{http://root.cern.ch}{ROOT project page}.


For best usage and to have a sort of WYSIWYG editor I would recommend to use
"Gummi" as an editor. Very good and simple. Comes with the Ubuntu software center.


An example to document code without line numbers:
\begin{unnumberedcode}
   float x = 0.0;
   x = x + 10e0;
   cout << x << endl;
\end{unnumberedcode}


and now with line numbers:
\begin{code}    /// Some class
    template <typename T> class Handle  {
    public:
          // Single and only data member: pointer to the underlying object  
          T* m_element;
    public:
          Handle() : m_element(0)                  {                                     }
          Handle(T* e) : m_element(e)              {                                     }
          ....
    };
\end{code}

\newpage
%=============================================================================
\begin{thebibliography}{9}
\bibitem{bib:LHCb-geometry} S. Ponce et al., 
                "Detector Description Framework in LHCb", 
                International Conference on Computing in High Energy and Nuclear Physics  (CHEP 2003), 
                La Jolla, CA, 2003, proceedings. 
\end{thebibliography}
%=============================================================================
\end{document}
