Warning, /DD4hep/doc/usermanuals/DDCond/setup/AIDA2020-setup.tex is written in an unsupported language. File is not indexed.
0001 %
0002 %
0003 \usepackage{graphicx}
0004 \usepackage{hyperref}
0005 \usepackage{verbatim}
0006 \usepackage{fix-cm}
0007 \usepackage{lineno}
0008 \usepackage{fancyhdr}
0009 %\usepackage{amsmath}
0010 %
0011 \oddsidemargin 0.1 in
0012 \evensidemargin 0.1 in
0013 %
0014 %
0015 \newlength{\backindent}\setlength{\backindent}{2cm}
0016 \textwidth 5.375 in % Width of text line.
0017 \advance\textheight by1.4cm
0018 \advance\voffset by-1.4cm
0019 \advance\textwidth by\backindent
0020 %
0021 %
0022 % === Fancy headers setup ===============================
0023 %
0024 \setlength{\headheight}{15.2pt}
0025 \pagestyle{fancyplain} {
0026 \fancyhead[L]{\includegraphics[height=10mm]{./setup/AIDA2020-logo}\vspace{-0.3cm}}
0027 \fancyhead[C]{}
0028 \fancyhead[R]{\sffamily{\underline{\hspace{6cm}Advanced European Infrastructures for Detectors at Accelerators}}}
0029 \fancyfoot[L]{}
0030 \fancyfoot[C]{\sffamily{User Manual}}
0031 \fancyfoot[R]{\sffamily{\thepage}}
0032 }
0033 %
0034 %
0035 \newcommand{\tw}[1]{${\tt{#1}}$}
0036 \newcommand{\tts}[1]{{\tt\small{#1}}}
0037 \newcommand{\bold}[1]{{\bf{#1}}}
0038 %
0039 %
0040 \newcommand{\docline}[2]{\vspace{0.1cm}{\bf{#1}} & \parbox{14.5cm}{#2}\\}
0041 %
0042 % === Specialization of the lineno package
0043 %
0044 \renewcommand{\linenumberfont} {\normalfont\small\sffamily}
0045 \renewcommand{\makeLineNumber} {\makeLineNumberLeft}
0046 \renewcommand{\linenumbersep} {2pt}
0047 %
0048 % === Set font to code section with line numbers
0049 %
0050 \newenvironment{code}{\par\vspace{0.01cm}\small\linenumbers\verbatim\setcounter{linenumber}{1}}{\endverbatim\nolinenumbers\vspace{-0.02cm}}%
0051 %
0052 % === Set font to code section with line numbers
0053 %
0054 \newenvironment{unnumberedcode}{\par\vspace{-0.1cm}\small\verbatim\setcounter{linenumber}{1}}%
0055 {\endverbatim\vspace{-0.2cm}}
0056 %
0057 %
0058 % === Compactify the item list =========================
0059 %
0060 \newcommand{\itemcompact}{\setlength{\itemsep}{1pt}\setlength{\parskip}{0pt}\setlength{\parsep}{0pt}}
0061 %
0062 %
0063 % === Title page command ===============================
0064 %
0065 %
0066 \newcommand{\basictitle}[2]{
0067 %
0068 \pagestyle{empty}
0069 %
0070 \includegraphics[height=25mm] {./setup/AIDA2020-logo}
0071
0072 \vspace{0.02cm}
0073
0074 {\sffamily{\underline{\hspace{6cm}Advanced European Infrastructures for Detectors at Accelerators}}}
0075
0076 \vspace{2cm}
0077
0078 \begin{center}
0079 {\fontsize{72}{32}\selectfont{\bfseries{#1}}}
0080
0081 \vspace{3cm}
0082 {\Huge\bf{#2}}
0083 \vspace{3cm}
0084 \begin{figure}[b]
0085 \begin{center}
0086 \includegraphics[height=15mm] {./setup/Horizon2020-grant-logo}
0087 \end{center}
0088 \end{figure}
0089 \end{center}
0090 }
0091 \newcommand{\AIDAtitle}[3]{
0092 \begin{titlepage}
0093 \basictitle{#1}{#2}
0094 \begin{center}
0095 {#3}
0096 \end{center}
0097 \end{titlepage}
0098 }