]> git.uio.no Git - u/mrichter/AliRoot.git/blob - EMCAL/doc/ALICE_internal_notes.cls
Updates
[u/mrichter/AliRoot.git] / EMCAL / doc / ALICE_internal_notes.cls
1 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
2 %  Name:     cernphprep.cls                                       %
3 %                                                                 %
4 %  Purpose:  Set LaTeX parameters for CERN PH preprint            %
5 %                                                                 %
6 %  Rewrite of CERN preprint class for LHC results (April 2010)    %
7 %                                                                 %
8 % 12 April 2010 (version 1.00)                                    %
9 %   - Special treatment of title page                             %
10 %   - Basic point size 11pt                                       %
11 %   - Based on standard LaTeX article.cls                         %
12 % 16 April 2010 (version 1.01)                                    %
13 %   - Add \EXPdate command                                        %
14 %   - Add CERN option to print CERN logo at left                  %
15 % 18 April 2010 (version 1.02)                                    %
16 %   - Extend \@alph enumeration to gz (above 200)                 %
17 % 19 April 2010 (version 1.03)                                    %
18 %   - Introduce \LHCEXP as flag to tell we are handling LHC exp.  %
19 %   - Introduce manyauthors flag for handling many authers        %
20 %     This sets the flag MANYAUTHORS which (re)defines a few      %
21 %     commands that make it easy to handling long lists of        %
22 %     authors and the cross-references to institutes, etc.        %
23 %  6 June  2010 (version 1.04)                                    %
24 %   - Introduce \CERNCopyright command to define copyright text   %
25 % 30 June  2010 (version 1.05)                                    %
26 %   - Introduce \COLLABORATION command to define coll. name.      %
27 %     Initialized to ``unnamed'' and used in \CERNCopyright       %
28 %   - Define new text for  \CERNCopyright command as proposed by  %
29 %     Jens Vigen (after SIPB discussion).                         %
30 %  8 July  2010 (version 1.06)                                    %
31 %   - Add COMPASS option                                          %
32 %                                                                 %
33 %  Last mod.:  8 July 2010 MG (Michel Goossens, IT/UDS)           %
34 %                                                                 %
35 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
36
37 \def\fileversion{1.06}
38 \def\filedate{8 July 2010}
39 \def\docdate{8 July 2010}
40 \typeout{Document Style 'cernphprep'. Version <\fileversion>, <\filedate>}
41 % -------------------------------- identification ---------------------------
42 \NeedsTeXFormat{LaTeX2e}
43 \ProvidesClass{cernphprep}[2010/07/08]
44 % ---------------------------  declaration of options --
45 % Define experiment logo for first page
46 \providecommand*\EXPLOGO{nonelogo}
47 \providecommand*\LHCEXP{no}
48 \providecommand*\COLLABORATION{unnamed}
49 \providecommand*\MANYAUTHORS{no}
50 \providecommand*\CLEARPAGE{no}
51 \DeclareOption{nocleardouble}{\renewcommand\CLEARPAGE{yes}}
52 \DeclareOption{manyauthors}{\renewcommand\MANYAUTHORS{yes}}
53 \DeclareOption{ALICE}{\renewcommand{\EXPLOGO}{alicelogo}%
54                       \renewcommand\LHCEXP{yes}\renewcommand\COLLABORATION{ALICE}}
55 \DeclareOption{ATLAS}{\renewcommand{\EXPLOGO}{atlaslogo}%
56                       \renewcommand\LHCEXP{yes}\renewcommand\COLLABORATION{ATLAS}}
57 \DeclareOption{CERN}{\renewcommand{\EXPLOGO}{cernlogo}}
58 \DeclareOption{CMS}{\renewcommand{\EXPLOGO}{cmslogo}%
59                     \renewcommand\LHCEXP{yes}\renewcommand\COLLABORATION{CMS}}
60 \DeclareOption{COMPASS}{\renewcommand{\EXPLOGO}{compasslogo}%
61                     \renewcommand\LHCEXP{no}\renewcommand\COLLABORATION{COMPASS}}
62 \DeclareOption{LHCb}{\renewcommand{\EXPLOGO}{lhcblogo}%
63                      \renewcommand\LHCEXP{yes}\renewcommand\COLLABORATION{LHCb}}
64 \DeclareOption{LHCB}{\renewcommand{\EXPLOGO}{lhcblogo}%
65                      \renewcommand\LHCEXP{yes}\renewcommand\COLLABORATION{LHCb}}
66 \DeclareOption{LHCf}{%\renewcommand{\EXPLOGO}{lhcflogo}%
67                      \renewcommand\LHCEXP{yes}\renewcommand\COLLABORATION{LHCf}}
68 \DeclareOption{LHCF}{%\renewcommand{\EXPLOGO}{lhcflogo}%
69                      \renewcommand\LHCEXP{yes}\renewcommand\COLLABORATION{LHCf}}
70 \DeclareOption{TOTEM}{%\renewcommand{\EXPLOGO}{totemlogo}%
71                       \renewcommand\LHCEXP{yes}\renewcommand\COLLABORATION{TOTEM}}
72
73 \DeclareOption*{\PassOptionsToClass{\CurrentOption}{article}}
74 \ProcessOptions
75 \LoadClass[11pt,a4paper,twoside]{article}
76 \renewcommand{\rmdefault}{ptm}
77 \usepackage{mathptmx}
78
79 \RequirePackage{graphicx,amsmath,amssymb,array,tabularx,url,xspace,subfigure}
80 \RequirePackage{ifthen}
81  
82 \typeout{Document Class "cernphprep" 1.06 (8 July 2010)}
83
84 %% Defince collaboration is it cannot be inferred from option 
85
86 \providecommand\DEFCOL[1]{\renewcommand\COLLABORATION{#1}}
87
88 %%% Customization of visible document elements
89
90 \renewcommand\thesection      {\@arabic\c@section}
91 \renewcommand\thesubsection   {\thesection.\@arabic\c@subsection}
92 \renewcommand\thesubsubsection{\thesubsection.\@arabic\c@subsubsection}
93 %\renewcommand\theparagraph{\thesubsubsection.\@arabic\c@paragraph}
94 \renewcommand\baselinestretch{1.}
95 \renewcommand{\contentsname}{Contents}
96 \renewcommand{\listfigurename}{List of Figures}
97 \renewcommand{\listtablename}{List of Tables}
98 \renewcommand{\refname}{References}
99 \renewcommand{\indexname}{Index}
100 \renewcommand{\figurename}{Fig.}
101 \renewcommand{\tablename}{Table}
102 \renewcommand{\partname}{Part}
103 \renewcommand{\appendixname}{Appendix}
104 \renewcommand{\abstractname}{Abstract}
105
106 % Short and long pages
107
108 \newcommand{\longpage}[1][1]{\enlargethispage{#1\baselineskip}}
109 \newcommand{\shortpage}[1][1]{\enlargethispage{-#1\baselineskip}}
110
111 %  ****************************************
112 %  *            Lists                     *
113 %  ****************************************
114 %
115 % Zero the vertical spacing parameters
116 \def\Nospacing{\itemsep=2pt\topsep=0pt\partopsep=0pt\parskip=0pt\parsep=0pt}
117 % Redefine the environments in terms of the original values
118 \newenvironment{Itemize}{\vspace*{-1mm}\itemize\Nospacing}%
119                                {\endlist\vspace*{-1mm}}
120 \newenvironment{Enumerate}{\vspace*{-1mm}\enumerate\Nospacing}
121                                {\endlist\vspace*{-1mm}}
122 \newenvironment{Description}{\vspace*{-1mm}\description\Nospacing}
123                                {\endlist\vspace*{-1mm}}
124 \renewcommand\labelitemi{\normalfont\textendash}
125 \renewcommand\labelitemii{\normalfont\textendash}
126 \renewcommand\labelitemiii{\textasteriskcentered}
127 \renewcommand\labelitemiv{\textperiodcentered}
128
129 %  ****************************************
130 %  *            PAGE LAYOUT               *
131 %  ****************************************
132 %
133 % All margin dimensions measured from a point one inch from top and side
134 % of page.
135  
136 % SIDE MARGINS:
137
138 \textheight 24cm       % Height of text (including footnotes and figures,
139                        % excluding running head and foot).
140 \textwidth 16cm        % Width of text line.
141 \topmargin -28pt       % offset of top header from voffset (1 inch)
142 \headheight 13.6pt
143
144 % SIDE MARGINS:  %%%% A4 : pagewidth=160mm 
145 \if@twoside   % Values for two-sided printing:
146       %%% margins : inner     =  30 mm =  86 pt
147       %%%           outer     =  20 mm =  56 pt
148       %%% \odd/evensidemargin are with respect to hoffset -->
149    \oddsidemargin   14pt    %   Left margin on odd-numbered pages.
150    \evensidemargin -14pt    %   Left margin on even-numbered pages.
151 \else         % Values for one-sided printing:
152    \oddsidemargin    0pt    %   Note that \oddsidemargin = \evensidemargin
153    \evensidemargin   0pt
154 \fi
155
156 %%% Captions
157
158 \setlength\abovecaptionskip{4pt plus 2pt minus 2pt}   % default is for caption at bottom.
159                                                       % use topcapt.sty: \topcaption for cap at top
160 \setlength\belowcaptionskip{4pt plus 2pt minus 2pt}
161 \long\def\@makecaption#1#2{%
162   \vskip\abovecaptionskip
163   \sbox\@tempboxa{{\small\textbf{#1:} #2}}%
164   \ifdim \wd\@tempboxa >\hsize
165     {\small\textbf{#1:} #2}\par
166   \else
167     \global \@minipagefalse
168     \hbox to\hsize{\hfil\box\@tempboxa\hfil}%
169   \fi
170   \vskip\belowcaptionskip}
171
172 %%% make footnote robust (if it appears in argument of, e.g., \section)
173 \let\oldfootnote\footnote
174 \def\footnote{\protect\oldfootnote}
175 \RequirePackage{ifthen}
176
177 %%% Set up headings for section commands %%%%%%%%%%%%%%%%%%%%%%
178
179 \renewcommand\section{\@startsection
180 {section}%
181 {1}%
182 {\z@}%
183 {-2.5ex \@plus -1ex \@minus -.2ex}%       Was: {-3.5ex \@plus -1ex \@minus -.2ex}%
184 {0.3ex \@plus.2ex}%                       Was: {2.3ex \@plus.2ex}
185 {\large\bfseries\mathversion{bold}}}%              Was: \normalfont ...
186
187 \renewcommand\subsection{\@startsection
188 {subsection}%
189 {2}%
190 {\z@}%
191 {-1.0ex\@plus -1ex \@minus -.2ex}%       Was: {-3.25ex\@plus -1ex \@minus -.2ex}%
192 {0.05ex \@plus .2ex}%                     Was:   {1.5ex \@plus .2ex}%
193 {\normalsize\bfseries\mathversion{bold}}}%           Was: \normalfont ...
194
195 \renewcommand\subsubsection{\@startsection
196 {subsubsection}%
197 {3}%
198 {\z@}%
199 {-1.0ex\@plus -1ex \@minus -.2ex}%       Was: {-3.25ex\@plus -1ex \@minus -.2ex}
200 {0.05ex \@plus .2ex}%                     Was:   {1.5ex \@plus .2ex}%
201 {\normalsize\itshape\bfseries\mathversion{bold}}}%           Was: \normalfont ...
202
203 \renewcommand\paragraph{\@startsection
204 {paragraph}%
205 {4}%
206 {\z@}%
207 {-1.0ex\@plus -1ex \@minus -.2ex}%       Was: {3.25ex \@plus1ex \@minus.2ex}%             Was:
208 {-1em}%                             Was:  If negative, means in-line. Space is then the indentation.
209 {\normalsize\bfseries\mathversion{bold}}}%           Was: \normalfont ...
210
211 \renewcommand\subparagraph{\@startsection
212 {subparagraph}%
213 {5}%
214 {\parindent}%
215 {-1.0ex\@plus -1ex \@minus -.2ex}%
216 {-1em}%
217 {\normalsize\itshape\bfseries\mathversion{bold}}}%           Was: \normalfont ...
218
219 %
220 %  ****************************************
221 %  *       Appendix bookkeeping           *
222 %  ****************************************
223 %
224  
225 \renewcommand\appendix{\par
226   \setcounter{section}{0}%
227   \setcounter{subsection}{0}%
228   \setcounter{figure}{0}%
229   \setcounter{table}{0}%
230   \setcounter{equation}{0}%
231   \gdef\thesection{\@Alph\c@section}%
232   \gdef\thesubsection{\@Alph\c@section.\@arabic\c@subsection}
233   \gdef\theequation{\@Alph\c@section.\@arabic\c@equation}
234   \@addtoreset {equation}{section}%
235   \gdef\thetable{\@Alph\c@section.\@arabic\c@table}%
236   \@addtoreset {table}{section}%
237   \gdef\thefigure{\@Alph\c@section.\@arabic\c@figure}%
238   \@addtoreset {figure}{section}%
239 }
240
241
242 %  ************************************
243 %  *   thebibliography environement   *
244 %  ************************************
245 %
246
247 \setlength\bibindent{1.5em}
248 \renewenvironment{thebibliography}[1]
249      {\section*{\refname}%
250       \list{\@biblabel{\@arabic\c@enumiv}}%
251            {\settowidth\labelwidth{\@biblabel{#1}}%
252             \leftmargin\labelwidth
253             \advance\leftmargin\labelsep
254             \@openbib@code
255             \usecounter{enumiv}%
256             \let\p@enumiv\@empty
257             \renewcommand\theenumiv{\@arabic\c@enumiv}}%
258       \Nospacing
259       \sloppy
260       \clubpenalty4000
261       \@clubpenalty \clubpenalty
262       \widowpenalty4000%
263       \sfcode`\.\@m}
264      {\def\@noitemerr
265        {\@latex@warning{Empty `thebibliography' environment}}%
266       \endlist}
267 \renewcommand\newblock{\hskip .11em\@plus.33em\@minus.07em}
268 \let\@openbib@code\@empty
269
270  
271 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
272 %
273 %% \begin{titlepage}
274 %% \PHnumber{2010--xxx}
275 %% \PHdate{DD Month 2010}
276 %% \EXPnumber{IT-UDS-HUS-001}
277 %% \EXPdate{23 June 2010}
278 %% \DEFCOL{CDS-Library}
279 %% \title{Preparing a CERN PH preprint}
280 %% \author{Michel Goossens/IT-UDS\thanks{\texttt{Email:michel.goossens@cern.ch}}}
281 %%   or
282 %% \author{LHC Collaboration\thanks{see list of authors in Appendix}}
283 %% \begin{abstract}
284 %%   ...
285 %% \end{abstract}
286 %% \end{titlepage}
287 %
288 %%%%%%%%%%%%%%%%%%%%%%%%%%%% title page %%%%%%%%%%%%%%%%%%%%%%%%%5
289 \def\maketitle{% Dummy maketitle
290       \typeout{Dummy maketitle --- Use titlepage instead}}
291 % Definition of environment "titlepage"
292 \newcommand\EXPdate[1]{\def\@EXPdate{#1}}\EXPdate{\empty}
293 \newcommand\EXPnumber[1]{\def\@EXPnumber{#1}}\EXPnumber{\empty}
294 \newcommand\PHnumber[1]{\def\@PHnumber{#1}}\PHnumber{To be specified}
295 \newcommand\PHdate[1]{\def\@PHdate{#1}}\PHdate{\today}
296 %\providecommand\CERNCopyright{\empty}%CERN, Geneva, 2010. Copyright and licence text}}
297 \providecommand\CERNCopyright{\parbox{\textwidth}{%
298    Copyright CERN, for the benefit of the \COLLABORATION{} Collaboration.\\
299    This article is distributed under the terms of Creative Commence  
300    Attribution License (CC-BY-3.0), which permits any use provided the
301    original author(s) and source are credited.}}
302 \def\titlepage{\begingroup\clearpage
303   \renewcommand{\thefootnote}{\fnsymbol{footnote}}
304   \setcounter{footnote}{0}\setcounter{page}{1}\pagestyle{empty}}
305 %
306 % CERN title --> 
307 % prints CERN header 
308 % then logos, preprint number(s), date 
309 % at bottom of page: copyright notice 
310 %
311 \renewcommand\title[1]{\setlength{\unitlength}{1mm}%
312 \begin{picture}(0.001,0.001)%
313 %\graphpaper(0,-280)(210,290)
314 %\put(80,-15){\makebox(0,0){\LARGE\itshape Final draft version \today}}
315 \put(80,10){\makebox(0,0){\LARGE EUROPEAN ORGANIZATION FOR NUCLEAR RESEARCH}}
316 %----
317 % Experiment's logo (optional) 
318 \put(0,-20){\makebox(0,0)[lb]{\includegraphics[height=2cm]{\EXPLOGO}}}
319 % CERN logos
320 \put(160,-20){\makebox(0,0)[rb]{\includegraphics[height=2cm]{cernlogo}}}
321 % Experiment's preprint number (optional) 
322 \put(0,-25){\makebox(0,0)[lb]{\normalsize\@EXPnumber}}
323 % Experiment date of approval
324 \put(0,-30){\makebox(0,0)[lb]{\normalsize\@EXPdate}}
325 % CERN PH Preprint number 
326 \put(160,-25){\makebox(0,0)[rb]{\normalsize ALICE-INT-2012-xxx}}
327 % CERN PH Preprint date of approval
328 \put(160,-30){\makebox(0,0)[rb]{\normalsize\@PHdate}}
329 %\put(80,-250){\makebox(0,0){\CERNCopyright}} %%% Copyright notice
330 \end{picture} 
331
332 \vspace*{3cm}               
333 \begin{center}
334 \mbox{}\\[25mm]
335 \Large\bf#1\\[10mm]
336 \end{center}
337 \gdef\Title{#1}
338 }%%  end of title
339 % Submitted{}
340 \def\Submitted#1{\begin{center}\it#1\end{center}}
341 % conference{}
342 \def\Conference#1{\begin{center}\it#1\end{center}}
343 % note{}
344 \def\Note#1{\begin{center}\it#1\end{center}}
345 % dedication{}
346 \def\Dedication#1{\begin{center}\it#1\end{center}}
347
348 % Author or collaboration
349
350 \def\Collaboration#1{%% Treat the collaboration
351  \begin{center}#1\end{center}\@thanks
352  \gdef\Authors{\begingroup\let\thanks\@gobble\let\@thanks\@empty#1\endgroup}}
353
354 \def\author#1{%% Treat the list of authors
355 % \setcounter{footnote}{0}\def\@currentlabel{}%
356 % \begingroup\def\thefootnote{\arabic{footnote}}
357 % \def\@makefnmark{\hbox{$^{\rm\@thefnmark)}$}}
358  \global\@topnum\z@ \begin{center}{\lineskip.5em
359  \begin{tabular}[t]{c}#1\end{tabular}\par}
360  \end{center}\par\vskip1.5em\@thanks%\endgroup
361  \gdef\Authors{\begingroup\let\thanks\@gobble\let\@thanks\@empty#1\endgroup}}
362
363 \newcommand\ShortAuthor[1]{\gdef\Authors{#1}}\gdef\Authors{\empty}
364 \newcommand\ShortTitle[1]{\gdef\Title{#1}}\gdef\Title{\empty}
365
366 \newenvironment{Authlist}{\center}{\endcenter}
367
368 \renewenvironment{quotation}
369                {\list{}{\listparindent 0pt%
370                         \itemindent    \listparindent
371                         \rightmargin   \leftmargin
372                         \parsep        1em\@plus\p@}%
373                 \item\relax}
374                {\endlist}
375
376 %%%%%%%%%%%% Institute definitions  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
377 \@ifundefined{c@instfoot}{\newcounter{instfoot}}{}
378 \def\Iref#1{$^{\Inst{#1})}$}   \let\Instref=\Iref
379 \def\Inst#1{\@ifundefined{r@#1}{{\bf ??}}%
380 {\edef\@tempa{\@nameuse{r@#1}}\expandafter\@car\@tempa \@nil\null}}
381 %
382 %%AS If we found `Instfoot' inside `Authlist' env, we change the
383 %    formatting.
384 %
385 \def\Instfoot#1#2{\def\@temp{Authlist}%
386 \ifx\@temp\@currenvir
387     \\ \emph{#2} \\[1em]%
388 \else
389     \refstepcounter{instfoot}\label{#1}%
390     \xdef\@thefnmark{\arabic{instfoot}}\@footnotetext{#2}%
391 \fi
392 }
393
394 %
395 %%%%%%%%%%%% Anotation definitions  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
396 %%%%%\@ifundefined{c@anotfoot}{\newcounter{anotfoot}}{}
397 %\@ifundefined{mathrm}{\newcommand{\mathrm}[1]{{\rm#1}}}{}
398 \def\Aref#1{$^{\mathrm{#1})}$} \let\Anotref=\Aref
399 \def\Anotfoot#1#2{\xdef\@thefnmark{#1}\@footnotetext{#2}}
400 %
401 %%%%%%%%%%%% Anotation references   %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
402 \def\AAref#1#2{$^{\mathrm{#1,#2)}}$}       \let\AnotAnotref=\AAref
403 \def\IAref#1#2{$^{\Inst{#1},\mathrm{#2)}}$}\let\InstAnotref=\IAref
404 \def\IIref#1#2{$^{\Inst{#1},\Inst{#2})}$}  \let\InstInstref=\IIref
405 \def\IIIref#1#2#3{$^{\Inst{#1},\Inst{#2},\Inst{#3})}$}
406 \def\IIAref#1#2#3{$^{\Inst{#1},\Inst{#2},\mathrm{#3)}}$}
407 %%%%%%%%%%%% Annospec environment   %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
408 \newenvironment{Annospec}[1]{% Give width for offset of text
409 \vskip2mm\bgroup
410 %\def\@makefnmark{\hbox{$^{\mathrm{\@thefnmark)}}$}}
411 \long\def\@makefntext##1{\parindent=\z@
412 \begin{list}{}%
413    {\labelwidth=#1\leftmargin\labelwidth% set global width
414     \labelsep3pt%  horizontal separation between term and item
415     \itemsep0pt%   vertical separation between two items
416     \parsep0pt%    vertical separation two paragraphs in an item
417     \topsep0pt%    vertical separation text/list
418     \footnotesize}
419     \item [\hfill $^{\mathrm{\@thefnmark)}}$] ##1\end{list}}}% ***** end of makefntext
420 {\egroup}% ***** end of environment{Annospec} *****
421  
422 \def\Deceased{\textsuperscript{,*}}
423 \ifthenelse{\equal{\MANYAUTHORS}{yes}}{% Commands for long author lists
424   \gdef\Adef#1{\label{LA#1}}
425   \gdef\Aref#1{\textsuperscript{,\ref{LA#1}}}
426   \gdef\Arefs#1{\textsuperscript{\ref{LA#1}}} %% \Aref short (without comma)
427   \gdef\Idef#1{\label{LI#1}\gdef\INTlatex{#1}}
428   \gdef\Irefn#1{\textsuperscript{\ref{LI#1}}}
429   \gdef\Irefnn#1#2{\textsuperscript{\ref{LI#1},\ref{LI#2}}}
430   \gdef\Idefs#1{\label{LI\INTlatex#1}\textsuperscript{(#1)}}
431   \gdef\Irefs#1#2{\textsuperscript{\ref{LI#1#2}#2}}
432   \gdef\Irefss#1#2#3#4{\textsuperscript{\ref{LI#1#2}#2,\ref{LI#3#4}#4}}
433   \gdef\And{, }
434   \gdef\NNospacing{\labelsep=0pt\itemsep=0pt\topsep=0pt\partopsep=0pt\parskip=0pt\parsep=0pt}
435   \renewenvironment{Authlist}{\vspace*{-1.5ex}\enumerate\NNospacing}
436                               {\endlist\vspace*{-1.5ex}}
437 }{}
438  
439 % End of titlepage
440 \def\endtitlepage{%% Reset counters
441 \setcounter{footnote}{0}\let\titlepage\relax\vfill
442 \ifthenelse{\equal{\CLEARPAGE}{yes}}{% Commands for long author lists
443 \clearpage\setcounter{page}{2}}{\cleardoublepage\setcounter{page}{3}}%
444 \pagestyle{plain}\pagenumbering{arabic}%
445 \gdef\@thanks{}\gdef\@author{}\gdef\@title{}\let\thanks\relax\endgroup}
446
447 % Local CERN stuff
448  
449 \newcommand{\bra}[1]{\left\langle #1\right|} % <bra|
450 \newcommand{\ket}[1]{\left| #1\right\rangle} % |ket>
451 \newcommand{\braket}[2]{\left\langle#1 | #2\right\rangle} % <bra|ket>
452  
453 % Figure placement
454
455 \setcounter{topnumber}{5}
456 \setcounter{totalnumber}{6}
457 \renewcommand{\topfraction}{0.99}
458 \renewcommand{\dbltopfraction}{0.99}
459 \renewcommand{\bottomfraction}{0.99}
460 \renewcommand{\textfraction}{0.15}
461
462 \setlength{\intextsep}{10pt plus 2pt minus 4pt}  % Space between in-text figures and text.
463 \setlength{\floatsep}{10pt plus 2pt minus 4pt}   % Space between adjacent floats moved to top or bottom of text page.
464 \setlength{\textfloatsep}{10pt plus 2pt minus 4pt}% Space between main text and floats at top or bottom of page.
465 \setlength{\dblfloatsep}{10pt plus 2pt minus 4pt} % Same for double column
466 \setlength{\dbltextfloatsep}{10pt plus 2pt minus 4pt}
467
468 \parskip.5\baselineskip
469 \parindent0mm
470
471 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
472 %  Equations                                                       %
473 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
474
475 \allowdisplaybreaks
476
477 % page headers
478
479 %\usepackage[fit]{truncate}
480 %\usepackage{fancyhdr}
481 %\pagestyle{fancy}
482 %\fancyhf{}
483 %\fancyhead[LE,RO]{\thepage}
484 %\fancyhead[RE]{\small\leftmark}
485 %\fancyhead[LO]{\small\rightmark}
486 %\fancyhead[LO]{\truncate{.85\headwidth}{\Title}}
487 %\fancyhead[RE]{\truncate{.85\headwidth}{\Authors}}
488
489
490 \def\@alph#1{%
491   \ifcase#1\or a\or b\or c\or d\or e\or f\or g\or h\or i\or j\or k\or
492   l\or m\or n\or o\or p\or q\or r\or s\or t\or u\or v\or w\or x\or
493   y\or z%
494   \or aa\or ab\or ac\or ad\or ae\or af\or ag\or ah\or ai\or aj\or
495   ak\or al\or am\or an\or ao\or ap\or aq\or ar\or as\or at\or au\or
496   av\or aw\or ax\or ay\or az%
497   \or ba\or bb\or bc\or bd\or be\or bf\or bg\or bh\or bi\or bj\or
498   bk\or bl\or bm\or bn\or bo\or bp\or bq\or br\or bs\or bt\or bu\or
499   bv\or bw\or bx\or by\or bz%
500   \or ca\or cb\or cc\or cd\or ce\or cf\or cg\or ch\or ci\or cj\or
501   ck\or cl\or cm\or cn\or co\or cp\or cq\or cr\or cs\or ct\or cu\or
502   cv\or cw\or cx\or cy\or cz%
503   \or da\or db\or dc\or dd\or de\or df\or dg\or dh\or di\or dj\or
504   dk\or dl\or dm\or dn\or do\or dp\or dq\or dr\or ds\or dt\or du\or
505   dv\or dw\or dx\or dy\or dz%
506   \or ea\or eb\or ec\or ed\or ee\or ef\or eg\or eh\or ei\or ej\or
507   ek\or el\or em\or en\or eo\or ep\or eq\or er\or es\or et\or eu\or
508   ev\or ew\or ex\or ey\or ez%
509   \or fa\or fb\or fc\or fd\or fe\or ff\or fg\or fh\or fi\or fj\or
510   fk\or fl\or fm\or fn\or fo\or fp\or fq\or fr\or fs\or ft\or fu\or
511   fv\or fw\or fx\or fy\or fz%
512   \or ga\or gb\or gc\or gd\or ge\or gf\or gg\or gh\or gi\or gj\or
513   gk\or gl\or gm\or gn\or go\or gp\or gq\or gr\or gs\or gt\or gu\or
514   gv\or gw\or gx\or gy\or gz%
515   \else\@ctrerr\fi}
516
517
518
519 \endinput
520  
521 %% \CharacterTable
522 %%  {Upper-case    \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
523 %%   Lower-case    \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
524 %%   Digits        \0\1\2\3\4\5\6\7\8\9
525 %%   Exclamation   \!     Double quote  \"     Hash (number) \#
526 %%   Dollar        \$     Percent       \%     Ampersand     \&
527 %%   Acute accent  \'     Left paren    \(     Right paren   \)
528 %%   Asterisk      \*     Plus          \+     Comma         \,
529 %%   Minus         \-     Point         \.     Solidus       \/
530 %%   Colon         \:     Semicolon     \;     Less than     \<
531 %%   Equals        \=     Greater than  \>     Question mark \?
532 %%   Commercial at \@     Left bracket  \[     Backslash     \\
533 %%   Right bracket \]     Circumflex    \^     Underscore    \_
534 %%   Grave accent  \`     Left brace    \{     Vertical bar  \|
535 %%   Right brace   \}     Tilde         \~}
536 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%