summaryrefslogtreecommitdiff
path: root/doc/UsersGuide/UsersGuide.tex
diff options
context:
space:
mode:
authorjthorn <jthorn@17b73243-c579-4c4c-a9d2-2d5706c11dac>2002-03-23 21:11:27 +0000
committerjthorn <jthorn@17b73243-c579-4c4c-a9d2-2d5706c11dac>2002-03-23 21:11:27 +0000
commit61a686f28b3f3d917be14ab9c316f268bed8587a (patch)
tree857274670409ef47d386b550d0f44caf6d852dec /doc/UsersGuide/UsersGuide.tex
parentadd41523d6c86929e400e9adaef03c6d850feb3c (diff)
UsersGuide.tex
add \Cplusplus macro to properly typeset "C++" FunctionReference.tex in CCTK_InterpLocalUniform() example, fix array initializations that were valid C++ but not C, and add a paragraph outlining the problem (thanks to Ian Hawke for pointing this out!) git-svn-id: http://svn.cactuscode.org/flesh/trunk@2662 17b73243-c579-4c4c-a9d2-2d5706c11dac
Diffstat (limited to 'doc/UsersGuide/UsersGuide.tex')
-rw-r--r--doc/UsersGuide/UsersGuide.tex3
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/UsersGuide/UsersGuide.tex b/doc/UsersGuide/UsersGuide.tex
index bec84f11..7de4ad8d 100644
--- a/doc/UsersGuide/UsersGuide.tex
+++ b/doc/UsersGuide/UsersGuide.tex
@@ -48,6 +48,9 @@
\def\t{\tt \obeylines }
\def\ie{\hbox{i.e.\hbox{}}}
+% nicely typeset "C++" (adapted from a comp.lang.C++ FAQ entry)
+\def\Cplusplus{\hbox{C\hspace{-.05em}\raisebox{.4ex}{\tiny\bf ++}}}
+
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\newenvironment{CCTKroutine}{\newpage}{}
\newenvironment{CCTKsyn}{\noindent\begin{tabular}{@{}p{3cm}cp{11cm}}&&\\{\bf Synopsis} \hfill&&\\}{\end{tabular}}