]> git.uio.no Git - u/mrichter/AliRoot.git/blame - PWGLF/FORWARD/doc/pwglfforward.sty
Fix some documentation issues
[u/mrichter/AliRoot.git] / PWGLF / FORWARD / doc / pwglfforward.sty
CommitLineData
ebb28d24 1\ProvidesPackage{pwglfforward}
2
3\renewcommand{\rmdefault}{ptm}
4\RequirePackage{mathptmx}
5\RequirePackage[margin=2cm,twoside,a4paper]{geometry}
6\RequirePackage{amstext}
7\RequirePackage{amsmath}
8\RequirePackage[ruled,vlined,linesnumbered]{algorithm2e}
9\RequirePackage{graphicx}
10\RequirePackage{color}
11\RequirePackage{url}
12\RequirePackage{units}
13\RequirePackage{listings}
14\RequirePackage[colorlinks,urlcolor=black,hyperindex,%
15 linktocpage,a4paper,bookmarks=true,%
16 bookmarksopen=true,bookmarksopenlevel=2,%
17 bookmarksnumbered=true]{hyperref}
18%% \RequirePackage{bookmark}
19\def\AlwaysText#1{\ifmmode\relax\text{#1}\else #1\fi}
20\newcommand{\AbbrName}[1]{\AlwaysText{{\scshape #1}}}
21\newcommand{\CERN}{\AbbrName{cern}}
22\newcommand{\ALICE}{\AbbrName{alice}}
23\newcommand{\SPD}{\AbbrName{spd}}
24\newcommand{\ESD}{\AbbrName{esd}}
25\newcommand{\AOD}{\AbbrName{aod}}
26\newcommand{\INEL}{\AbbrName{inel}}
27\newcommand{\INELONE}{$\AbbrName{inel}>0$}
28\newcommand{\NSD}{\AbbrName{nsd}}
29\newcommand{\FMD}[1][]{\AbbrName{fmd\ifx|#1|\else#1\fi}}
30\newcommand{\OCDB}{\AbbrName{ocdb}}
31\newcommand{\mult}[1][]{\ensuremath N_{\text{ch}#1}}
32\newcommand{\dndetadphi}[1][]{{\ensuremath%
33 \ifx|#1|\else\left.\fi%
34 \frac{d^2\mult{}}{d\eta\,d\varphi}%
35 \ifx|#1|\else\right|_{#1}\fi%
36}}
37\newcommand{\landau}[1]{{\ensuremath%
38 \text{landau}\left(#1\right)}}
39\newcommand{\dndeta}[1][]{{\ensuremath%
40 \ifx|#1|\else\left.\fi%
41 \frac{1}{N}\frac{d\mult{}}{d\eta}%
42 \ifx|#1|\else\right|_{#1}\fi%
43}}
44\newcommand{\dndphi}[1][]{{\ensuremath%
45 \ifx|#1|\else\left.\fi%
46 \frac{1}{N}\frac{d\mult{}}{d\varphi}%
47 \ifx|#1|\else\right|_{#1}\fi%
48}}
49\newcommand{\MC}{\AlwaysText{MC}}
50\newcommand{\N}[2]{{\ensuremath N_{#1#2}}}
51\newcommand{\NV}[1][]{\N{\text{V}}{#1}}
52\newcommand{\NnotV}{\N{\not{\text{V}}}}
53\newcommand{\NT}{\N{\text{T}}{}}
54\newcommand{\NA}{\N{\text{A}}{}}
55\newcommand{\Ngood}{{\ensuremath N_{\text{good}}}}
56\newcommand{\GeV}[1]{\unit[#1]{\AlwaysText{GeV}}}
57\newcommand{\TeV}[1]{\unit[#1]{\AlwaysText{TeV}}}
58\newcommand{\cm}[1]{\unit[#1]{\AlwaysText{cm}}}
59\newcommand{\secref}[1]{Section~\ref{#1}}
60\newcommand{\figref}[1]{Figure~\ref{#1}}
61\newcommand{\etaphi}{\ensuremath(\eta,\varphi)}
62% Azimuthal acceptance
63\newcommand{\Corners}{\ensuremath A^{\varphi}_{t}}
64% Acceptance due to dead strips
65\newcommand{\DeadCh}{\ensuremath A^{\eta}_{v,i}\etaphi}
66\newcommand{\SecMap}{\ensuremath S_v\etaphi}
67\setlength{\parskip}{1ex}
68\setlength{\parindent}{0em}
69
e9db7f43 70\newcommand\figinput[2][\textwidth]{%
71 \includegraphics[keepaspectratio,width=#1]{\jobname-#2}}
72
ebb28d24 73\endinput