%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % % % This file is in two parts % % the top part is a direct copy of cmspaper.cls % % the bottom part contains additions...(L. Taylor, Feb 2001) % % % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % Name: cmspaper.cls % % % % Purpose: Set LaTeX parameters for CMS note. % % % % This files is based on the Document Style 'CERNART' % % by Michel Goossens CN/ASD % % % % - requires packages: graphics % % - special treatment of title page % % % % Last mod : 25.11.1996 % % Updated for new CMS logo May 97 / JPP % % % % Grzegorz Wrochna, CERN/PPE % % % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \def\fileversion{0.4}\def\filedate{25 Nov. 1996} \typeout{CMS paper style Version <\fileversion>, <\filedate>} \typeout{based on Document Style 'CERNART' Version <2.1>, <1 May 1995>} % -------------------------------- identification --------------------------- \NeedsTeXFormat{LaTeX2e} \ProvidesClass{cmspaper}[1996/11/25] % --------------------------- declaration of options -- \DeclareOption*{\PassOptionsToClass{\CurrentOption}{article}} % ---------------------------- execution of options ------------------------ \ProcessOptions % --------------------------------package loading --------------------------- \LoadClass{article} %%%%%%%% page size to be printable on both A4 and US Letter %%%%%%% \setlength{\hoffset}{-1in} \setlength{\voffset}{-1in} \setlength{\oddsidemargin}{25mm} \setlength{\evensidemargin}{25mm} \setlength{\marginparwidth}{25mm} \setlength{\marginparsep}{\baselineskip} \setlength{\topmargin}{20mm} \setlength{\headheight}{0mm} \setlength{\headsep}{0mm} \setlength{\footskip}{6mm} \setlength{\textwidth}{16cm} \ifcase \@ptsize %JPP-\setlength{\textheight}{58\baselineskip} \setlength{\textheight}{57\baselineskip} \or %JPP-\setlength{\textheight}{52\baselineskip} \setlength{\textheight}{51\baselineskip} \or %JPP-\setlength{\textheight}{47\baselineskip} \setlength{\textheight}{46\baselineskip} \fi \addtolength{\textheight}{\topskip} %%%%% floats handling parameters for better placing of figures %%%%%%% \renewcommand{\topfraction}{1.0} \renewcommand{\dbltopfraction}{1.0} \renewcommand{\bottomfraction}{1.0} \renewcommand{\textfraction}{0.2} \setlength{\intextsep}{6pt} \setlength{\floatsep}{6pt} \setlength{\textfloatsep}{6pt} \setlength{\dblfloatsep}{6pt} \setlength{\dbltextfloatsep}{6pt} %%%%%%%%%%%%%%%% nonindented paragraphs %%%%%%%%%%%%%%% \setlength{\parindent}{0pt} \setlength{\parskip}{0.5\baselineskip} %%%%%%%%%%%%%%%%%%%%% section headings %%%%%%%%%%%%%%%%%%%%%%%%%% \def\section{\@startsection {section}{1}{\z@}% { 1\baselineskip plus .5\baselineskip minus .25\baselineskip}% {+0.1pt plus +0.1pt minus +0.1pt}{\reset@font\Large\bfseries}} \def\subsection{\@startsection{subsection}{2}{\z@}% { 1\baselineskip plus .5\baselineskip minus .25\baselineskip}% {+0.1pt plus +0.1pt minus +0.1pt}{\reset@font\large\bfseries}} \def\subsubsection{\@startsection{subsubsection}{3}{\z@}% { 1\baselineskip plus .5\baselineskip minus .25\baselineskip}% {+0.1pt plus +0.1pt minus +0.1pt}{\reset@font\normalsize\bfseries}} %%%%%%%%%%%%%%%% define PostScript fonts %%%%%%%%%%%%%%% \renewcommand{\sfdefault}{phv} % sansserif = helvetica \renewcommand{\rmdefault}{ptm} % roman = times \renewcommand{\ttdefault}{pcr} % typewriter = courier \newcommand{\hm}{\sf} % helvetica medium \newcommand{\hb}{\bfseries\sffamily} % helvetica bold \newcommand{\Hb}{\hb\fontsize{44pt}{46pt}\selectfont} % HUGE helvetica bold %%%%%%%%%%%%%%%% two floating figures, side by side %%%%%%%%%%%%%%% \newenvironment{2figures}[1]{\begin{figure}[#1] \begin{center} \begin{tabular}{p{.47\textwidth}p{.47\textwidth}} } { \end{tabular} \end{center} \end{figure} } %%%%%%%%%%%%%%%%%%%%%% footnotes %%%%%%%%%%%%%%%%%%%%% \def\footnoterule{\kern-3\p@ \hrule width .4\columnwidth \kern 2.6\p@} %%%%%%%%%%%% Environment makefntext %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \long\def\@makefntext#1{\parindent=\z@ \begin{list}{}% {\labelwidth1.5em\leftmargin\labelwidth% set global width \labelsep3pt% horizontal separation between term and item \itemsep0pt% vertical separation between two items \parsep0pt% vertical separation two paragraphs in an item \topsep0pt% vertical separation text/list \small} % \footnotesize} \item [\hfill $^{\mathrm{\@thefnmark)}}$] #1\end{list}}% ***** end of makefntext %%%%%%%%%%%% Environment Figlist %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \newenvironment{Figlist}[1]{% Give highest figure number as parameter \vskip2mm\begin{center}{\bf FIGURE CAPTIONS}\end{center} \begin{list}{\bf Fig.\hfill\arabic{figure} : }{\usecounter{figure} \settowidth{\labelwidth}{\bf Fig . #1 : }% define global width \leftmargin\labelwidth \labelsep0pt \itemsep0pt plus 0.1ex minus 0.1ex \parsep0pt plus 0.1ex minus 0.1ex \topsep\baselineskip}}% {\end{list}\setcounter{figure}{0}% Reset figure counter }% ***** end of environment{Figlist} **** %%%%%%%%%%%% Environment CERNfig %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \newenvironment{CERNfig}{\begingroup % figures, one per page \def\@makecaption##1##2{\hbox to\hsize{\hfil##1\hfil}}}% {\endgroup} % ***** end of environment{CERNfig} **** %%%%%%%%%%%% Environment Tablist %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \newenvironment{Tablist}[1]{% Give highest table number as parameter \vskip2mm\begin{center}{\bf TABLE CAPTIONS}\end{center} \begin{list}{\bf Tab.\hfill\arabic{table} : }{\usecounter{table} \settowidth{\labelwidth}{\bf Fig . #1 : }% define global width \leftmargin\labelwidth \labelsep0pt \itemsep0pt plus 0.1ex minus 0.1ex \parsep0pt plus 0.1ex minus 0.1ex \topsep\baselineskip}}% {\end{list}\setcounter{table}{0}% Reset table counter }% ***** end of environment{Tablist} **** %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % % \begin{titlepage} % \cmsnote{yyyy-xxx} % \date{} % \title{ first line \\ % second line \\ % etc...} % \author{B.B.Auth\Instref{xx} M.M.~Auth2\Bothref{I1}{A2} % C.D.user\Instref{yy} ...} % \submitted{} % \collaboration{} % \conference{} % \note{} % \dedication{} % \Instfoot{xx}{text text} % \Instfoot{yy}{text text} % \end{titlepage} % %%%%%%%%%%%%%%%%%%%%%%%%%%%% title page %%%%%%%%%%%%%%%%%%%%%%%%%5 \def\maketitle{% Dummy maketitle \typeout{Dummy maketitle --- Use titlepage instead}} % Definition of environment "titlepage" \def\titlepage{\clearpage% %JPP-or maybe pagestyle{plain} ?? \setcounter{footnote}{0}\pagestyle{empty}}% End of \titlepage tag % CMS NOTE header \cmsnote \def\cmsnote#1{{Available on CMS information server \hfill\Large\bf CMS NOTE #1} \begin{center}\includegraphics{cms_note.eps}\end{center}\vspace*{0mm}} % CMS INTERNAL NOTE header \internalnote \def\internalnote#1{{Available on CMS information server \hfill\Large\bf CMS IN #1} \begin{center}\includegraphics{cms_in.eps}\end{center}} % CMS CONFERENCE REPORT header \conferencereport \def\conferencereport#1{{Available on CMS information server \hfill\Large\bf CMS CR #1} \begin{center}\includegraphics{cms_cr.eps}\end{center}} % Date (flushright) \def\date#1{{\large\bf\hfill #1}} %\def\date#1{\edef\@temp{#1}\ifx\@temp\@empty\def\@temp{\today}\fi %\hbox to \hsize{\hskip123mm\hbox{\@temp}\hss}} % Submitted{} \def\submitted#1{\vskip1em\begin{center}#1\end{center}} % collaboration{} \def\collaboration#1{\vskip1em\begin{center}\bfseries\itshape#1\end{center}} % conference{} \def\conference#1{\vskip1em\begin{center}#1\end{center}} % note{} \def\note#1{\vskip1em\begin{center}#1\end{center}} % dedication{} \def\dedication#1{\vskip1em\begin{center}\it#1\end{center}} % Title \def\title#1{\vskip1.5cm\begin{center}\huge\sf#1\end{center}\vskip1.5em} % Author %\def\@makefnmark{\hbox to 0pt{$^{\@thefnmark)\,}$\hss}} \def\@makefnmark{\hbox{$^{\@thefnmark)}$}} \def\author#1{%% Treat the list of authors \setcounter{footnote}{0}\def\@currentlabel{}% \begingroup\def\thefootnote{\arabic{footnote}} \def\@makefnmark{\hbox{$^{\rm\@thefnmark)}$}} \global\@topnum\z@ \begin{center}{\lineskip.5em \begin{tabular}[t]{c}#1\end{tabular}\par} \end{center}\par\vskip1.5em\@thanks\endgroup} % \newenvironment{Authlist}{\center}{\endcenter} % Abstract \def\abstract{\begin{center}{\vskip1.5em\bf Abstract}\\[\baselineskip]% \end{center}\quotation\noindent% \setlength{\parindent}{0pt}% \setlength{\parskip}{0.5\baselineskip}% \ignorespaces} \def\endabstract{\endquotation\par} % %%%%%%%%%%%% Institute definitions %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \@ifundefined{c@instfoot}{\newcounter{instfoot}}{} \def\Iref#1{$^{\Inst{#1})}$} \let\Instref=\Iref \def\Inst#1{\@ifundefined{r@#1}{{\bf ??}}% {\edef\@tempa{\@nameuse{r@#1}}\expandafter\@car\@tempa \@nil\null}} % %%AS If we found `Instfoot' inside `Authlist' env, we will changes the % formatting. % \def\Instfoot#1#2{\def\@temp{Authlist}% \ifx\@temp\@currenvir \par {\small\it#2} \\[2ex]% \else \refstepcounter{instfoot}\label{#1}% \xdef\@thefnmark{\arabic{instfoot}}\@footnotetext{#2}% \fi } % %%%%%%%%%%%% Anotation definitions %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%\@ifundefined{c@anotfoot}{\newcounter{anotfoot}}{} \@ifundefined{mathrm}{\newcommand{\mathrm}[1]{{\rm#1}}}{} \def\Aref#1{$^{\mathrm{#1})}$} \let\Anotref=\Aref \def\Anotfoot#1#2{\xdef\@thefnmark{#1}\@footnotetext{#2}} % %%%%%%%%%%%% Anotation references %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \def\AAref#1#2{$^{\mathrm{#1,#2)}}$} \let\AnotAnotref=\AAref \def\IAref#1#2{$^{\Inst{#1},\mathrm{#2)}}$}\let\InstAnotref=\IAref \def\IIref#1#2{$^{\Inst{#1},\Inst{#2})}$} \let\InstInstref=\IIref \def\IIIref#1#2#3{$^{\Inst{#1},\Inst{#2},\Inst{#3})}$} \def\IIAref#1#2#3{$^{\Inst{#1},\Inst{#2},\mathrm{#3)}}$} %%%%%%%%%%%% Annospec environment %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \newenvironment{Annospec}[1]{% Give width for offset of text \vskip2mm\bgroup %\def\@makefnmark{\hbox{$^{\mathrm{\@thefnmark)}}$}} \long\def\@makefntext##1{\parindent=\z@ \begin{list}{}% {\labelwidth=#1\leftmargin\labelwidth% set global width \labelsep3pt% horizontal separation between term and item \itemsep0pt% vertical separation between two items \parsep0pt% vertical separation two paragraphs in an item \topsep0pt% vertical separation text/list \small} % \footnotesize} \item [\hfill $^{\mathrm{\@thefnmark)}}$] ##1\end{list}}}% ***** end of makefntext {\egroup}% ***** end of environment{Annospec} ***** % End of titlepage \def\endtitlepage{%% Reset counters \setcounter{footnote}{0}\let\titlepage\relax\vfill %JPP-this is not the proper place for secounter{page}, must be in the tex file %JPP-\newpage\setcounter{page}{1}\pagestyle{plain}\pagenumbering{arabic}% \newpage\pagestyle{plain}\pagenumbering{arabic}% \gdef\@thanks{}\gdef\@author{}\gdef\@title{}\let\thanks\relax} \RequirePackage{graphics} % Local CERN stuff \newcommand{\bra}[1]{\left\langle #1\right|} % \newcommand{\braket}[2]{\left\langle#1 | #2\right\rangle} % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % % Start of additions (L. Taylor) % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % % Start of additions (L. Taylor) % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \RequirePackage[usenames]{pstcol} \usepackage{epsfig} \usepackage{pifont} \usepackage{color} \usepackage{multicol} % used in the appendix of conventions % \psdraft %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % % Define new colours % ------------------- % \definecolor{darkred}{rgb}{0.75,0.0,0.0}% \definecolor{darkgreen}{rgb}{0.0,0.6,0.0}% \definecolor{darkblue}{rgb}{0.0,0.0,0.6}% % \definecolor{darkcyan}{rgb}{0.0,0.6,0.6}% \definecolor{darkmagenta}{rgb}{0.6,0.0,0.6}% \definecolor{darkyellow}{rgb}{0.6,0.6,0.0}% % \definecolor{lightred}{rgb}{1.0,0.9,0.9}% \definecolor{lightgreen}{rgb}{0.9,1.0,0.9}% \definecolor{lightblue}{rgb}{0.9,0.9,1.0}% % \definecolor{lightcyan}{rgb}{0.8,1.0,1.0}% \definecolor{lightmagenta}{rgb}{1.0,0.8,1.0}% \definecolor{lightyellow}{rgb}{1.0,1.0,0.8}% % \definecolor{paleyellow}{rgb}{1.00,1.0,0.80}% \definecolor{amber}{rgb}{1.0,0.8,0.0}% \definecolor{darkamber}{rgb}{1.0,0.5,0.0}% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % % Define short aliases for colours % --------------------------------- % \renewcommand{\black}{\color{black}}% \renewcommand{\white}{\color{white}}% % \renewcommand{\red}{\color{red}}% \renewcommand{\green}{\color{green}}% \renewcommand{\blue}{\color{blue}}% % \renewcommand{\cyan}{\color{cyan}}% \renewcommand{\magenta}{\color{magenta}}% \renewcommand{\yellow}{\color{yellow}}% % \newcommand{\darkred}{\color{darkred}}% \newcommand{\darkgreen}{\color{darkgreen}}% \newcommand{\darkblue}{\color{darkblue}}% % \newcommand{\darkcyan}{\color{darkcyan}}% \newcommand{\darkmagenta}{\color{darkmagenta}}% \newcommand{\darkyellow}{\color{darkyellow}}% % \newcommand{\lightred}{\color{lightred}}% \newcommand{\lightgreen}{\color{lightgreen}}% \newcommand{\lightblue}{\color{lightblue}}% % \newcommand{\lightcyan}{\color{lightcyan}}% \newcommand{\lightmagenta}{\color{lightmagenta}}% \newcommand{\lightyellow}{\color{lightyellow}}% % \newcommand{\paleyellow}{\color{paleyellow}}% \newcommand{\amber}{\color{amber}}% \newcommand{\darkamber}{\color{darkamber}}% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %------------------------------------------------------------------------ %%% \setcounter{tocdepth}{3} \parindent 0mm \parskip 5pt plus 1pt minus 1pt %------------------------------------------------------------------------ \newcommand{\EMBOX}[1]{{\protect{\mbox{\fcolorbox{yellow}{yellow}{#1}}}}}%%% % \newcommand{\EMBOX}[1]{#1}%%% %------------------------------------------------------------------------ \newcommand{\FIXME}[1]{~{\magenta\sl{#1}}}%%% % \newcommand{\FIXME}[1]{\protect{\EMBOX{*** Fill this in ***}}~{#1}}%%% % \newcommand{\FIXME}[1]{#1}%%% \newcommand{\blah}{\FIXME{blah }}% \newcommand{\yack}{\FIXME{yack }}% \newcommand{\rabbit}{\FIXME{rabbit }}% \newcommand{\blahblah}% {% \blah\blah\blah\blah\yack\yack\yack\yack\rabbit\rabbit\rabbit% \blah\blah\blah\blah\yack\yack\yack\yack\rabbit\rabbit\rabbit% \blah\blah\blah\blah\yack\yack\yack\yack\rabbit\rabbit\rabbit% \blah\blah\blah\blah\yack\yack\yack\yack\rabbit\rabbit\rabbit% }% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % % Make a ``Task Breakdown'' (just perturb the table of contents) % \renewcommand{\contentsname}{Task Breakdown} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % % Make a ``List of Tasks'' (like a table of contents) % \newcommand{\listoftasks}{\section*{List of Tasks}\@starttoc{tsk}} %%% \newcommand{\tcaption}[1]{\addcontentsline{tsk}{subsubsection}{\protect{#1}}} \newcommand{\l@task}[2]{\par\noindent#1 {\itshape #2}}% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % % Make a ``List of Deliverables'' (like a table of contents) % \newcommand{\listofdeliverables}{\section*{List of Deliverables}\@starttoc{dlv}} \newcommand{\dcaption}[1]{\addcontentsline{dlv}{subsubsection}{\protect{#1}}} \newcommand{\l@deliverable}[2]{\par\noindent#1 {\itshape #2}}% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \newcommand{\task}[3] {%--------------------------------- \typeout{=============================================================================}% \typeout{Processing task: #1}% \typeout{---------------}% \clearpage% \section{#1\hspace*{\fill}{\em{(#2)}}\hspace*{0.001mm}}% \addcontentsline{tsk}{section}{{\thesection}~~#1\hspace*{\fill}{\em{(#2)}}\hspace*{0.001mm}}% \addcontentsline{dlv}{section}{{\thesection}~~#1\hspace*{\fill}{\em{(#2)}}\hspace*{0.001mm}}% %% \subsection*{Coordinator:~~#2}% Coordinator {#3}% Brief description % \vskip% -0.5ex% plus 0.1ex% minus 0.1ex% \bigbreak }%--------------------------------- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \newcommand{\subtask}[3] {%--------------------------------- % \typeout{Processing subtask: #1}% \subsection{#1\hspace*{\fill}{\em{(#2)}}\hspace*{0.001mm}}% Task name \addcontentsline{tsk}{subsection}{{\thesubsection}~~#1~~{\em{(#2)}}}% \addcontentsline{dlv}{subsection}{{\thesubsection}~~#1~~{\em{(#2)}}}% %% \subsection*{Coordinator:~~#2}% Coordinator {#3}% Brief description % \vskip% -0.5ex% plus 0.1ex% minus 0.1ex% \bigbreak }%--------------------------------- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % % Command to define deliverable % \newcounter{thedeliverable}[subsection] % {xxx} counter gets reset when [yyy] counter increments \newcommand{\thedeliverablelabel}{\thesubsection-\roman{thedeliverable} }% N.B. leave this trailing space!! \renewcommand{\thesubsubsection}{\thedeliverablelabel} \newcommand{\deliverable}[6] {%--------------------------------- \refstepcounter{thedeliverable}% Increment the counter \dcaption{{\bf{\thedeliverablelabel}}~~#1}% Add it to the "List of Deliverables" file % \begin{tabular}{|p{0.13\textwidth}p{0.82\textwidth}|}\hline {{{\bf{Deliverable:}}}} &{\bf{\thedeliverablelabel~~#1}} \\[0.5ex] % {\em{Description:}} & #5 \\ % {\em{Responsible:}} & #2 \\ % {\em{Client/Sponsor:}} & #3 \\ % {\em{Completion:}} & #4 \\ % {\em{Risks/Resources:}} & #6 \\ % \hline% \end{tabular}% % \vspace*{-2.0ex plus 0.5ex minus 0.5ex}% \bigbreak }%--------------------------------- % % alternative version of the above... % % \renewcommand{\deliverable}[6]...... %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % % Commands to define a resource (it just gets written to the .rsc file) % \newcommand{\resource}[7] {%----------------------------------------------------------- % ~\newline% finish previous line ~\newline% insert blank line \noindent% \makebox[0.16\textwidth][l]{\bf{Resource:}} #7\newline \makebox[0.16\textwidth][l]{\bf{Period:}} #1 $-$ #2\newline \makebox[0.16\textwidth][l]{\bf{FTE's:}} #4 (needed),~~#5 (available)\newline \makebox[0.16\textwidth][l]{\bf{Resource type:}} #3, \makebox[0.16\textwidth][l]{\bf{Funding source:}} #6% % \addtocontents{rsc}{% \thedeliverablelabel % , % #1 , % #2 , % #3 , % #4 , % #5 , % #6 , % #7 , % \newline% } % }%----------------------------------------------------------- % Usage (within scope of \deliverable command): %% \resource %% {xxx}% start dd/mm/yyyy e.g. 01/01/2001 %% {xxx}% end dd/mm/yyyy e.g. 31/12/2002 %% {xxx}% type of resource e.g. FTE-SE=sw engineer, FTE-SA=sys admin, FTE-DA=data aid, FTE-PH=physicist,... %% {xxx}% amount needed e.g. a real number of FTE's (e.g. 1.5) %% {xxx}% amount available e.g. a real number of FTE's (e.g. 0.5) %% {xxx}% source of funding e.g. CERN-IT, CMS-CE-CMS, CMS-US-DOE, etc. %% {xxx}% label/comment e.g. the name of the real person % % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % % Command to make a table of resources (needs work...) % \newcommand{\listofresources} {%---------------------------------------------------------- \section*{CCS Project: Core Personnel Requirements (in FTE-years)} \noindent{\bf{Notes:}} \begin{enumerate} \item Currently available personnel are shown in parentheses \item {\em\red{Red italic}} denotes a shortfall in resources \item {\em\green{Green italic}} denotes an excess of resources \item Computing centre operations staff are not shown in this table \end{enumerate} \@starttoc{rsc}% }%---------------------------------------------------------- %%% \newcommand{\tcaption}[1]{\addcontentsline{rsc}{subsubsection}{\protect{#1}}} %%% \newcommand{\l@resource}[2]{\par\noindent#1 {\itshape #2}}% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % % Make task group command (sort of like a cosmetic \chapter) % but only cosmetics for table of contetns etc. % \newcommand{\taskgroup}[1]% {% \addcontentsline{toc}{section}{\mbox{\large\sffamily\bfseries\scshape{{\hspace*{\fill}#1\hspace*{\fill}}}}}% \addcontentsline{tsk}{section}{\mbox{\large\sffamily\bfseries\scshape{{\hspace*{\fill}#1\hspace*{\fill}}}}}% \addcontentsline{dlv}{section}{\mbox{\large\sffamily\bfseries\scshape{{\hspace*{\fill}#1\hspace*{\fill}}}}}% }% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % % New (more compact) itemize % -------------------------- % \newenvironment{myitemize}% % % definition of environment beginning % {% % \begin{list}% {$\bullet$}% {% % % Vertical spacing parameters % \setlength{\topsep}{0.5ex}% \setlength{\itemsep}{-\parsep}\addtolength{\itemsep}{0.15em}% \setlength{\partopsep}{0.5ex}% % % Horizontal spacing parameters % \setlength{\labelwidth}{4.5ex}% \setlength{\labelsep}{1.5ex}% \setlength{\leftmargin}{6.0ex}% \setlength{\rightmargin}{0.0ex}% }% }% % % definition of environment ending % {% \end{list}% }% \newcommand{\Cafe}{Caf{\'{e}}} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % % Re-definition of macros to reduce boilerplate to a minimum % (to see how much ``real'' content there is \renewcommand{\blahblah}{...some text here...}% %\renewcommand{\deliverable}[6] %{%--------------------------------- %\refstepcounter{thedeliverable}% Increment the counter %\dcaption{{\bf{\thedeliverablelabel}}~~#1}% Add it to the "List of Deliverables" file %% %{{{\bf{Deliverable:}}}} {\bf{\thedeliverablelabel~~#1}}\\ %{\em{Description:}} ~#5 \\ % %{\em{Responsible:}} ~#2 % %{\em{Client/Sponsor:}} ~#3 \\ % %{\em{Completion:}} ~#4 % %{\em{Risks/Resources:}} ~#6 \\ % %% %}%--------------------------------- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % % End of additions (L. Taylor) % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \endinput %% \CharacterTable %% {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 %% 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 %% Digits \0\1\2\3\4\5\6\7\8\9 %% Exclamation \! Double quote \" Hash (number) \# %% Dollar \$ Percent \% Ampersand \& %% Acute accent \' Left paren \( Right paren \) %% Asterisk \* Plus \+ Comma \, %% Minus \- Point \. Solidus \/ %% Colon \: Semicolon \; Less than \< %% Equals \= Greater than \> Question mark \? %% Commercial at \@ Left bracket \[ Backslash \\ %% Right bracket \] Circumflex \^ Underscore \_ %% Grave accent \` Left brace \{ Vertical bar \| %% Right brace \} Tilde \~}