/[escript]/branches/stage3.1/doc/user/guide_defs.tex
ViewVC logotype

Annotation of /branches/stage3.1/doc/user/guide_defs.tex

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2573 - (hide annotations)
Mon Aug 3 04:30:09 2009 UTC (10 years, 3 months ago) by gross
Original Path: trunk/doc/user/guide_defs.tex
File MIME type: application/x-tex
File size: 16190 byte(s)
some more fixes on solver options.
1 ksteube 1811
2     %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
3 ksteube 1316 %
4 jfenwick 2548 % Copyright (c) 2003-2009 by University of Queensland
5 ksteube 1811 % Earth Systems Science Computational Center (ESSCC)
6     % http://www.uq.edu.au/esscc
7 gross 625 %
8 ksteube 1811 % Primary Business: Queensland, Australia
9     % Licensed under the Open Software License version 3.0
10     % http://www.opensource.org/licenses/osl-3.0.php
11 gross 625 %
12 ksteube 1811 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
13 jgs 82
14 ksteube 1811
15 lgraham 2128 \usepackage{subfigure}
16 jgs 82 \usepackage{epsfig}
17     \usepackage{graphicx,color}
18     \usepackage{makeidx} % handle the index properly
19     \usepackage{xspace} % handle spaces after commands more nicely
20     % use the ams math stuff, as it makes the maths easier to code, and
21     % nicer output than the standard LaTeX stuff
22 gross 2573 \usepackage{amsmath,amsfonts,amssymb} % this is handy for mathematicians and physici
23     % see http://www.ams.org/tex/amslatex.html
24 jgs 82 \usepackage{alltt} % handy verbatim stuff
25    
26    
27     % define some handy commands for escript stuff
28 gross 565 \newcommand{\LINUX}{{\it Linux}\xspace}
29 gross 2316 \newcommand{\WINDOWS}{{\it MS Windows}\xspace}
30     \newcommand{\PYTHON}{{\it python}\xspace}
31 jfenwick 2331 % \newcommand{\netCDF}{{\it netCDF}\cite{NETCDF}\index{netCDF} \xspace}
32     \newcommand{\netCDF}{{\it netCDF}\index{netCDF}\xspace}
33 jgs 107 \newcommand{\escript}{\module{esys.escript}\xspace}
34     \newcommand{\finley}{\module{esys.finley}\xspace}
35 gross 999 \newcommand{\esys}{\module{esys}\xspace}
36 gross 565 \newcommand{\pyvisi}{\module{esys.pyvisi}\xspace}
37 gross 993 \newcommand{\pycad}{\module{esys.pycad}\xspace}
38 gross 999 \newcommand{\gmsh}{\module{esys.pycad.gmsh}\xspace}
39     \newcommand{\gmshextern}{{\it Gmsh}\cite{GMSH}\index{Gmsh} \xspace}
40 gross 2316 \newcommand{\env}[1]{\textbf{\mbox{#1}}\index{Environment!#1}}
41 jfenwick 2331 % \newcommand{\MPI}{{\it MPI}\xspace\index{Message Passing Interface!MPI}\cite{MPI}\xspace}
42     % \newcommand{\OPENMP}{{\it OpenMP}\xspace\index{OpenMP!threading}\cite{OPENMP}\xspace}
43     \newcommand{\MPI}{{\it MPI}\xspace\index{Message Passing Interface!MPI}\xspace}
44     \newcommand{\OPENMP}{{\it OpenMP}\xspace\index{OpenMP!threading}\xspace}
45 gross 565 \newcommand{\linearPDEs}{\module{esys.escript.linearPDEs}\xspace}
46 jgs 102 \newcommand{\LinearPDE}{\class{LinearPDE}\xspace}
47 jgs 121 \newcommand{\modelframe}{\module{esys.modelframe}\xspace}
48     \newcommand{\pdetools}{\module{esys.pdetools}\xspace}
49 jfenwick 2331 \newcommand{\esysxml}{{\it esysxml}}
50 gross 565
51 gross 2474 \newcommand{\SolverOptions}{\class{SolverOptions}\xspace}
52 jgs 102 \newcommand{\Poisson}{\class{Poisson}\xspace}
53 gross 568 \newcommand{\Helmholtz}{\class{Helmholtz}\xspace}
54 gross 653 \newcommand{\Lame}{\class{Lame}\xspace}
55 jgs 82 \newcommand{\Data}{\class{Data}\xspace}
56 jfenwick 1955 \newcommand{\EmptyData}{empty \class{Data}\index{empty Data}\xspace}
57 jgs 102 \newcommand{\Domain}{\class{Domain}\xspace}
58 jongui 1002 %\newcommand{\VTK}{{\it vtk} \cite{VTK}\index{visualization!vtk} \xspace}
59 gross 606 \newcommand{\GnuPlot}{{\it gnuplot} \cite{GNUPLOT}\index{visualization!gnuplot}\index{gnuplot}}
60 jfenwick 1955 \newcommand{\mayavi}{{\it mayavi}\index{visualization!mayavi}\index{mayavi}}
61 gross 599 \newcommand{\OpenDX}{{\it OpenDX} \cite{OPENDX}\xspace}
62 jgs 102 \newcommand{\finleyelement}[1]{{\it #1}\index{finley!#1}}
63     \newcommand{\False}{\constant{False}\xspace}
64     \newcommand{\True}{\constant{True}\xspace}
65 gross 2573 \newcommand{\PCG}{\member{SolverOptions.PCG}\xspace\index{linear solver!PCG}\index{PCG}}
66     \newcommand{\BiCGStab}{\member{SolverOptions.BICGSTAB}\xspace\index{linear solver!BiCGStab}\index{BiCGStab}}
67     \newcommand{\Direct}{\member{SolverOptions.DIRECT}\xspace\index{linear solver!Direct}\index{Direct solver}}
68     \newcommand{\GMRES}{\member{SolverOptions.GMRES}\xspace\index{linear solver!GMRES}\index{GMRES}}
69     \newcommand{\PRESTWENTY}{\member{SolverOptions.PRES20}\xspace\index{linear solver!PRES20}\index{PRES20}}
70     \newcommand{\JACOBI}{\member{SolverOptions.JACOBI}\xspace\index{preconditioner!Jacobi}\index{Jacobi}}
71     \newcommand{\ILU}{\member{SolverOptions.ILU0}\xspace\index{preconditioner!ILU0}\index{ILU0}}
72     \newcommand{\ILUT}{\member{SolverOptions.ILUT}\xspace\index{preconditioner!ILUT}\index{ILUT}}
73     \newcommand{\RILU}{\member{SolverOptions.RILU}\xspace\index{preconditioner!RILU}\index{RILU}}
74     \newcommand{\LUMPING}{\member{SolverOptions.LUMPING}\xspace\index{linear solver!lumping}\index{lumping}}
75     \newcommand{\NOREORDERING}{\member{SolverOptions.NO\hackscore REORDERING}\xspace}
76     \newcommand{\MINIMUMFILLIN}{\member{SolverOptions.MINIMUM\hackscore FILL\hackscore IN}\xspace
77     \index{linear solver!minimum fill-in ordering}\index{minimum fill-in ordering}}
78     \newcommand{\NESTEDDESCTION}{\member{SolverOptions.NESTED\hackscore DISSECTION}\xspace\index{linear solver!nested dissection ordering}\index{nested dissection}}
79     \newcommand{\AMG}{\member{SolverOptions.AMG}\xspace\index{linear solver!AMG}\index{algebraic Multi-grid}\index{AMG}}
80     \newcommand{\GAUSSSEIDEL}{\member{SolverOptions.GAUSS\hackscore SEIDEL}\xspace\index{linear solver!Gauss-Seidel}\index{preconditioner!Gauss-Seidel}\index{Gauss-Seidel Scheme}}
81 gross 2558 \newcommand{\MKL}{\texttt{MKL}\xspace\index{packages!MKL}\index{MKL}}
82     \newcommand{\UMFPACK}{\texttt{UMFPACK}\xspace\index{packages!UMFPACK}\index{UMFPACK}}
83     \newcommand{\PASO}{\texttt{PASO}\xspace\index{packages!PASO}\index{PASO}}
84 jgs 82
85 jgs 102 \newcommand{\FunctionSpace}{\class{FunctionSpace}\xspace}
86     \newcommand{\Operator}{\class{Operator}\xspace}
87     \newcommand{\SolutionFS}{solution \class{FunctionSpace}\index{solution}\xspace}
88     \newcommand{\ReducedSolutionFS}{reduced solution \class{FunctionSpace}\index{solution!reduced}\xspace}
89     \newcommand{\FunctionOnBoundary}{boundary \class{FunctionSpace}\xspace}
90     \newcommand{\Function}{general \class{FunctionSpace}\xspace}
91     \newcommand{\FunctionOnContactZero}{contact \class{FunctionSpace} on side 0\xspace}
92     \newcommand{\FunctionOnContactOne}{contact \class{FunctionSpace} on side 1\xspace}
93     \newcommand{\ContinuousFunction}{continuous \class{FunctionSpace}\xspace}
94 gross 565 \newcommand{\RankOne}{{rank-1 \Data object}\xspace}
95 jgs 102 \newcommand{\RankTwo}{{rank-2 \Data object}\xspace}
96     \newcommand{\RankThree}{{rank-3 \Data object}\xspace}
97     \newcommand{\RankFour}{{rank-4 \Data object}\xspace}
98 gross 660 \newcommand{\Tensor}{{tensor \Data object}\xspace}
99     \newcommand{\Vector}{{vector \Data object}\xspace}
100 jgs 102 \newcommand{\Scalar}{{scalar \Data object}\xspace}
101 jfenwick 1955 \newcommand{\DataSample}{{data sample}\index{data sample}\xspace}
102     \newcommand{\DataSamplePoints}{{data sample points}\index{data sample!points}\xspace}
103 jfenwick 2463 \newcommand{\numpy}{\module{numpy}\xspace}
104     \newcommand{\numpyNDA}{\module{numpy.\class{ndarray}\xspace}}
105    
106 jgs 102 \newcommand{\Shape}{shape\xspace\index{shape}}
107 gross 565 \newcommand{\Rank}{rank\xspace\index{shape}}
108 jgs 102 \newcommand{\ExampleDirectory}{example directory\xspace}
109 gross 2446 \newcommand{\ReferenceGuide}{\url{http://esys.esscc.uq.edu.au/docs.html}\xspace}
110 gross 999 \newcommand{\Point}{\class{Point} \xspace}
111     \newcommand{\PropertySet}{\class{PropertySet} \xspace}
112     \newcommand{\Design}{\class{Design} \xspace}
113     \newcommand{\TagMap}{\class{TagMap} \xspace}
114     \newcommand{\ManifoldOneD}{\class{Manifold1D} \xspace}
115     \newcommand{\ManifoldTwoD}{\class{Manifold2D} \xspace}
116     \newcommand{\ManifoldThreeD}{\class{Manifold3D} \xspace}
117 jgs 102
118 jongui 879 % handy commands for pyvisi
119 jongui 1002 \newcommand{\VTK}{{\it VTK} \xspace}
120     \newcommand{\VTKUrl}{\url{http://www.vtk.org/}\xspace}
121 jongui 879 \newcommand{\Scene}{\class{Scene}\xspace}
122     \newcommand{\Camera}{\class{Camera}\xspace}
123 jongui 886 \newcommand{\Light}{\class{Light}\xspace}
124 jongui 1035 \newcommand{\DataCollector}{\class{DataCollector}\xspace}
125     \newcommand{\ImageReader}{\class{ImageReader}\xspace}
126     \newcommand{\TextTwoD}{\class{Text2D}\xspace}
127     \newcommand{\ActorTwoD}{\class{Actor2D}\xspace}
128     \newcommand{\ActorThreeD}{\class{Actor3D}\xspace}
129     \newcommand{\Transform}{\class{Transform}\xspace}
130     \newcommand{\Clipper}{\class{Clipper}\xspace}
131 jongui 879 \newcommand{\Map}{\class{Map}\xspace}
132 jongui 1035 \newcommand{\MapOnPlaneCut}{\class{MapOnPlaneCut}\xspace}
133     \newcommand{\MapOnPlaneClip}{\class{MapOnPlaneClip}\xspace}
134 jongui 886 \newcommand{\MapOnScalarClip}{\class{MapOnScalarClip}\xspace}
135 jongui 1211 \newcommand{\MapOnScalarClipWithRotation}{\class{MapOnScalarClipWithRotation}\xspace}
136 jongui 1035 \newcommand{\GlyphThreeD}{\class{Glyph3D}\xspace}
137 jongui 1078 \newcommand{\MaskPoints}{\class{MaskPoints}\xspace}
138 jongui 1035 \newcommand{\Velocity}{\class{Velocity}\xspace}
139     \newcommand{\VelocityOnPlaneCut}{\class{VelocityOnPlaneCut}\xspace}
140     \newcommand{\VelocityOnPlaneClip}{\class{VelocityOnPlaneClip}\xspace}
141     \newcommand{\Sphere}{\class{Sphere}\xspace}
142     \newcommand{\TensorGlyph}{\class{TensorGlyph}\xspace}
143     \newcommand{\Ellipsoid}{\class{Ellipsoid}\xspace}
144     \newcommand{\EllipsoidOnPlaneCut}{\class{EllipsoidOnPlaneCut}\xspace}
145     \newcommand{\EllipsoidOnPlaneClip}{\class{EllipsoidOnPlaneClip}\xspace}
146     \newcommand{\ContourModule}{\class{ContourModule}\xspace}
147 jongui 879 \newcommand{\Contour}{\class{Contour}\xspace}
148 jongui 1035 \newcommand{\ContourOnPlaneCut}{\class{ContourOnPlaneCut}\xspace}
149     \newcommand{\ContourOnPlaneClip}{\class{ContourOnPlaneClip}\xspace}
150     \newcommand{\PointSource}{\class{PointSource}\xspace}
151     \newcommand{\StreamLineModule}{\class{StreamLineModule}\xspace}
152     \newcommand{\Tube}{\class{Tube}\xspace}
153     \newcommand{\StreamLine}{\class{StreamLine}\xspace}
154     \newcommand{\Warp}{\class{Warp}\xspace}
155 jongui 879 \newcommand{\Carpet}{\class{Carpet}\xspace}
156 jongui 1035 \newcommand{\PlaneSource}{\class{PlaneSource}\xspace}
157     \newcommand{\Image}{\class{Image}\xspace}
158 jongui 1112 \newcommand{\Logo}{\class{Logo}\xspace}
159     \newcommand{\ImageReslice}{\class{ImageReslice}\xspace}
160 jongui 879 \newcommand{\Position}{\class{Position}\xspace}
161 jongui 1194 \newcommand{\DataSetMapper}{\class{DataSetMapper}\xspace}
162     \newcommand{\Legend}{\class{Legend}\xspace}
163     \newcommand{\ScalarBar}{\class{ScalarBar}\xspace}
164     \newcommand{\Movie}{\class{Movie}\xspace}
165 jongui 1205 \newcommand{\CubeSource}{\class{CubeSource}\xspace}
166     \newcommand{\Rectangle}{\class{Rectangle}\xspace}
167     \newcommand{\LocalPosition}{\class{LocalPosition}\xspace}
168     \newcommand{\GlobalPosition}{\class{GlobalPosition}\xspace}
169 jongui 1211 \newcommand{\Rotation}{\class{Rotation}\xspace}
170 jongui 1081 \newcommand{\thumbnailwidth}{50mm}
171 jgs 102
172 jgs 82 % default width for figures
173     \newcommand{\figwidth}{100mm}
174     % commands useful in cross-referencing
175     \newcommand {\Ref}[1] {Reference~\cite{#1}}
176     \newcommand {\Sec}[1] {Section~\ref{#1}}
177     \newcommand {\App}[1] {Appendix~\ref{#1}}
178     \newcommand {\Chap}[1] {Chapter~\ref{#1}}
179     \newcommand {\etal} {\emph{~et~al.}}
180     \newcommand {\fig}[1] {Figure~\ref{#1}}
181     \newcommand {\eqn}[1] {Equation~(\ref{#1})}
182     \newcommand {\tab}[1] {Table~\ref{#1}}
183    
184 jgs 102 % this stops one figure taking up a whole page and lets more text onto
185     % the one page when a figure exists
186     \renewcommand{\floatpagefraction}{0.8} % Default = 0.5
187    
188 jgs 82 % improved version of caption handling
189     \usepackage{ccaption}
190     \captionnamefont{\scshape}
191     \captionstyle{}
192     \makeatletter
193     \renewcommand{\fnum@figure}[1]{\quad\small\textsc{\figurename~\thefigure}:}
194     \renewcommand{\@makecaption}[2]{%
195     \vskip\abovecaptionskip
196     \sbox\@tempboxa{#1: #2}%
197     \ifdim \wd\@tempboxa >\hsize
198     \def\baselinestretch{1}\@normalsize
199     #1: #2\par
200     \def\baselinestretch{1.5}\@normalsize
201     \else
202     \global \@minipagefalse
203     \hb@xt@\hsize{\hfil\box\@tempboxa\hfil}%
204     \fi
205     \vskip\belowcaptionskip}
206     \makeatother
207    
208 gross 572 % \usepackage{fancyvrb} % fancy verbatim stuff. Needed so code below goes
209 jgs 82 %%% this code grabbed from the PyScript docs
210     %%% pyscript.sourceforge.net
211    
212     % --------------------------------------------------------------
213     % Code format within \Verb
214     % --------------------------------------------------------------
215    
216 gross 572 % \definecolor{pycolor}{rgb}{0,0.4,0}
217 jgs 82
218 jgs 102 %% \DefineVerbatimEnvironment{python}{Verbatim}
219     %% {frame=leftline,framerule=.5mm,rulecolor=\color{pycolor},
220     %% formatcom=\color{pycolor}\small,fontshape=rm}
221 jgs 82
222     %\DefineShortVerb[formatcom=\color{dgreen}\small,fontshape=sl]{\|}
223    
224 gross 572 % \RecustomVerbatimCommand{\Verb}{Verb}{formatcom=\color{pycolor}\small,fontshape=rm}
225 jgs 82
226     %%% end of grabbed code
227    
228     % this is for when one uses pdflatex and therefore needs to load pdf
229     % figures into \includegraphics
230     \ifpdf
231     \DeclareGraphicsExtensions{.pdf} % this command defined in graphicx
232     \pdfcompresslevel=9 % 0: no compression, 9: highest compression
233     % or, set compress_level 9 in file pdftex.cfg
234     \else
235     \DeclareGraphicsExtensions{.eps}
236     \fi
237 jgs 102
238     % defines the colour for the background of code examples
239     \definecolor{LightGrey}{gray}{0.9}
240    
241     % add the listings package to pretty print the code output
242     \usepackage{listings}
243    
244 jfenwick 2335
245     %Some colour definitions added to keep pdflatex happy
246     %I make no claim that these values are particularly good
247     \definecolor{Purple}{rgb}{0.7, 0, 0.6}
248     \definecolor{Tan}{rgb}{0.5,0.5,0.5}
249     \definecolor{BrickRed}{rgb}{0.7, 0.2, 0.2}
250 jfenwick 2463 \definecolor{Black}{rgb}{0, 0, 0}
251 jfenwick 2335
252     % All the \color{x} used to be \color[named]{x}
253     %end color defs
254    
255 jgs 102 \lstdefinestyle{myC++}{%
256     %\lstset{%
257     language=C++,
258     showstringspaces=false,
259     basicstyle=\small\ttfamily,
260 jfenwick 2335 commentstyle=\color{BrickRed}\ttfamily,
261     keywordstyle=\color{Purple}\ttfamily,
262     %identifierstyle=\color{Blue}\ttfamily,
263     %functionstyle=\color{Blue}\ttfamily,
264     %typestyle=\color{ForestGreen}\ttfamily,
265     stringstyle=\color{Tan}\ttfamily,%
266 jgs 102 morekeywords={,complex,}%
267     frame=none,%
268     backgroundcolor=\color{LightGrey}%
269     }
270    
271     \lstdefinestyle{myMatlab}{%
272     %\lstset{%
273     language=Matlab,
274     showstringspaces=false,
275     basicstyle=\small\ttfamily,
276 jfenwick 2335 commentstyle=\color{BrickRed}\ttfamily,
277     keywordstyle=\color{Purple}\ttfamily,
278     %identifierstyle=\color{Blue}\ttfamily,
279     %functionstyle=\color{Blue}\ttfamily,
280     %typestyle=\color{ForestGreen}\ttfamily,
281     stringstyle=\color{Tan}\ttfamily,%
282 jgs 102 frame=none,%
283     backgroundcolor=\color{LightGrey}%
284     }
285    
286     \lstdefinestyle{myScilab}{%
287     %\lstset{%
288     language=Scilab,
289     showstringspaces=false,
290     basicstyle=\small\ttfamily,
291 jfenwick 2335 commentstyle=\color{BrickRed}\ttfamily,
292     keywordstyle=\color{Purple}\ttfamily,
293     %identifierstyle=\color{Blue}\ttfamily,
294     %functionstyle=\color{Blue}\ttfamily,
295     %typestyle=\color{ForestGreen}\ttfamily,
296     stringstyle=\color{Tan}\ttfamily,%
297 jgs 102 frame=none,%
298     backgroundcolor=\color{LightGrey}%
299     }
300    
301     \lstdefinestyle{myShell}{%
302     %\lstset{%
303     language=ksh,
304     showstringspaces=false,
305     basicstyle=\small\ttfamily,
306 jfenwick 2335 commentstyle=\color{Black}\ttfamily,
307     keywordstyle=\color{Black}\ttfamily,
308     %identifierstyle=\color{Blue}\ttfamily,
309     %functionstyle=\color{Blue}\ttfamily,
310     %typestyle=\color{ForestGreen}\ttfamily,
311     stringstyle=\color{Black}\ttfamily,%
312 jgs 102 frame=none,%
313     backgroundcolor=\color{LightGrey}%
314     }
315    
316     \lstdefinestyle{myPython}{%
317     %\lstset{%
318     language=python,
319     showstringspaces=false,
320     basicstyle=\small\ttfamily,
321 jfenwick 2335 commentstyle=\color{BrickRed}\ttfamily,
322     keywordstyle=\color{Purple}\ttfamily,
323     %identifierstyle=\color{Blue}\ttfamily,
324     %functionstyle=\color{Blue}\ttfamily,
325     %typestyle=\color{ForestGreen}\ttfamily,
326     stringstyle=\color{Tan}\ttfamily,%
327 jgs 102 frame=none,%
328     %backgroundcolor=\color{LightGrey}%
329     }
330    
331     \lstdefinestyle{myhtml}{%
332     %\lstset{%
333     language=xml,
334     showstringspaces=false,
335     basicstyle=\small\ttfamily,
336 jfenwick 2335 commentstyle=\color{BrickRed}\ttfamily,
337     keywordstyle=\color{Purple}\ttfamily,
338     %identifierstyle=\color{Blue}\ttfamily,
339     %functionstyle=\color{Blue}\ttfamily,
340     %typestyle=\color{ForestGreen}\ttfamily,
341     stringstyle=\color{Tan}\ttfamily,
342 jgs 102 morekeywords={,simulation,prop_dim,error_check,stochastic,%
343     globals,field,dimensions,lattice,domains,samples,vector,%
344     components,fourier_space,sequence,integrate,algorithm,%
345     interval,k_operators,constant,operator_names,vectors,%
346     output,filename,group,sampling,moments,benchmark,use_double,%
347     use_wisdom,use_prefs,binary_output,cycles,filter,post_propagation,%
348     default_value,argv,arg,iterations,cross_propagation,%
349     use_mpi,paths,seed,noises,author,description,name,type,%
350     }
351     frame=none,%
352     %framerule=2pt,%
353     backgroundcolor=\color{LightGrey}%
354     }
355    
356     % this implements producing nice code blocks
357     % it also saves time, typing and
358     % *should* reduce errors in the text by removing doubling up of code
359     \lstnewenvironment{xmdsCode}[1][]{\lstset{style=myhtml}\lstset{#1}}{}
360    
361     % this implements nicely formatted shell code
362     \lstnewenvironment{shellCode}[1][]{\lstset{style=myShell}\lstset{#1}}{}
363    
364     % this implements nicely formatted Perl code
365     \lstnewenvironment{perlCode}[1][]{\lstset{style=myPerl}\lstset{#1}}{}
366    
367     % this implements nicely formatted Python code
368     \lstnewenvironment{python}[1][]{\lstset{style=myPython}\lstset{#1}}{}
369    
370     % this implements nicely formatted C++ code
371     \lstnewenvironment{CCode}{\lstset{style=myC++}}{}
372    
373     % this implements nicely formatted matlab code
374     \lstnewenvironment{matlabCode}{\lstset{style=myMatlab}}{}
375    
376     % this implements nicely formatted scilab code
377     \lstnewenvironment{scilabCode}{\lstset{style=myScilab}}{}
378    
379 jfenwick 2338 %Ensures that latex doesn't have an error if we don't specify the version
380     \providecommand{\RepVersion}{Unknown\xspace}
381     % to set this value use:
382     % (pdf)latex '\newcommand{\RepVersion}{version\xspace}\input{guide.tex}'
383 gross 2372 % as your command-line

Properties

Name Value
svn:eol-style native
svn:keywords Author Date Id Revision

  ViewVC Help
Powered by ViewVC 1.1.26