Minor change to pingpong example
[charm.git] / doc / pplmanual.tex
1 %%% Commonly Needed packages
2 \usepackage{graphicx,color,calc}
3 \usepackage{fancyvrb}
4 \usepackage{makeidx}
5 \usepackage{alltt}
6 %\usepackage{html}
7 \usepackage{listings}
8 \usepackage[linkbordercolor={0 0 1},citebordercolor={0 1 0}]{hyperref}
9
10 %%\usepackage{xspace} <- creates problems with other hyperlink packages like "html"
11
12 %%% Commands for uniform looks of C++, Charm++, and Projections
13 \newcommand{\CC}{C\hbox{++}}
14 \newcommand{\emCC}{C\hbox{\em++}}
15 \newcommand{\charmpp}{\textsc{Charm++}}
16 \newcommand{\charmc}{\texttt{charmc}}
17 \newcommand{\projections}{\textsc{Projections}}
18 \newcommand{\converse}{\textsc{Converse}}
19 \newcommand{\ampi}{\textsc{AMPI}}
20 \newcommand{\tempo}{\textsc{TeMPO}}
21 \newcommand{\irecv}{\textsl{iRecv}}
22 \newcommand{\sdag}{\textsl{Structured Dagger}}
23 \newcommand{\jade}{Jade}
24
25 %%% Commands to produce margin symbols
26 \newcommand{\new}{\marginpar{\fbox{\bf$\mathcal{NEW}$}}}
27 \newcommand{\important}{\marginpar{\fbox{\bf\Huge !}}}
28 \newcommand{\experimental}{\marginpar{\fbox{\bf\Huge $\beta$}}}
29
30 %%% Commands for manual elements
31 \newcommand{\zap}[1]{ }
32 \newcommand{\function}[1]{{\noindent{\textsf{#1}}\\}}
33 \newcommand{\cmd}[1]{{\noindent{\textsf{#1}}\\}}
34 \newcommand{\args}[1]{\hspace*{2em}{\texttt{#1}}\\}
35 \newcommand{\prototype}[1]{\vspace{0.2in}\index{#1}}
36 \newcommand{\param}[1]{{\texttt{#1}}}
37 \newcommand{\kw}[1]{{\textsf{#1}\index{#1}}}
38 \newcommand{\uw}[1]{{\textsl{#1}}}
39 \newcommand{\desc}[1]{\indent{#1}}
40 \newcommand{\note}[1]{(\textbf{Note:} #1)}
41 \newcommand{\term}[1]{{\bf #1}\index{#1}}
42
43 \makeindex