1 %%% Commonly Needed packages
2 \usepackage{graphicx,
color,calc
}
5 \usepackage[linkbordercolor=(
0 0 1),citebordercolor=(
0 1 0)
]{hyperref
}
8 %%% Commands for uniform looks of C++, Charm++, and Projections
9 \newcommand{\CC}{C
\hbox{++
}}
10 \newcommand{\emCC}{C
\hbox{\em++
}}
11 \newcommand{\charmpp}{\textsc{Charm++
}}
12 \newcommand{\charmc}{\texttt{charmc
}}
13 \newcommand{\projections}{\textsc{Projections
}}
14 \newcommand{\converse}{\textsc{Converse
}}
15 \newcommand{\ampi}{\textsc{AMPI
}}
16 \newcommand{\tempo}{\textsc{TeMPO
}}
17 \newcommand{\irecv}{\textsl{iRecv
}}
18 \newcommand{\sdag}{\textsl{Structured Dagger
}}
19 \newcommand{\jade}{Jade
\xspace}
21 %%% Commands to produce margin symbols
22 \newcommand{\new}{\marginpar{\fbox{\bf$
\mathcal{NEW
}$
}}}
23 \newcommand{\important}{\marginpar{\fbox{\bf\Huge !
}}}
24 \newcommand{\experimental}{\marginpar{\fbox{\bf\Huge $
\beta$
}}}
26 %%% Commands for manual elements
27 \newcommand{\zap}[1]{ }
28 \newcommand{\function}[1]{{\noindent{\textsf{#1}}\\
}}
29 \newcommand{\cmd}[1]{{\noindent{\textsf{#1}}\\
}}
30 \newcommand{\args}[1]{\hspace*
{2em
}{\texttt{#1}}\\
}
31 \newcommand{\prototype}[1]{\vspace{0.2in
}\index{#1}}
32 \newcommand{\param}[1]{{\texttt{#1}}}
33 \newcommand{\kw}[1]{{\textsf{#1}\index{#1}}}
34 \newcommand{\uw}[1]{{\textsl{#1}}}
35 \newcommand{\desc}[1]{\indent{#1}}
36 \newcommand{\note}[1]{(
\textbf{Note:
} #1)
}
37 \newcommand{\term}[1]{{\bf #1}\index{#1}}