/[escript]/trunk/doc/cookbook/cookbook_defs.tex
ViewVC logotype

Annotation of /trunk/doc/cookbook/cookbook_defs.tex

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2801 - (hide annotations)
Thu Dec 3 01:45:48 2009 UTC (9 years, 8 months ago) by ahallam
File MIME type: application/x-tex
File size: 2682 byte(s)
Final updates to first 3 chapters of cookbook before moving on to linear elastic wave equation examples.
1 ahallam 2411
2     %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
3     %
4 jfenwick 2548 % Copyright (c) 2003-2009 by University of Queensland
5 ahallam 2411 % Earth Systems Science Computational Center (ESSCC)
6     % http://www.uq.edu.au/esscc
7     %
8     % 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     %
12     %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
13    
14    
15     \usepackage{subfigure}
16     \usepackage{epsfig}
17 ahallam 2681
18 ahallam 2411 \usepackage{graphicx,color}
19 ahallam 2681 % \usepackage[pdftex]{graphicx,color}
20 ahallam 2411 \usepackage{makeidx} % handle the index properly
21     \usepackage{xspace} % handle spaces after commands more nicely
22     % use the ams math stuff, as it makes the maths easier to code, and
23     % nicer output than the standard LaTeX stuff
24 gross 2477 \usepackage{amsmath,amsfonts,amssymb} % this is handy for mathematicians and physici % see http://www.ams.org/tex/amslatex.html
25 ahallam 2411 \usepackage{alltt} % handy verbatim stuff
26 ahallam 2495 \usepackage{textcomp}
27 ahallam 2775 \usepackage{setspace}
28 ahallam 2801 %\doublespacing
29 ahallam 2411
30 ahallam 2775 \include{pythonlisting}
31 jfenwick 2667
32 ahallam 2775
33 jfenwick 2667 %Ensures that latex doesn't have an error if we don't specify the version
34     \providecommand{\RepVersion}{Unknown\xspace}
35    
36 ahallam 2411 %Tony's Commands
37     \newcommand{\editor}[1] {\textit{EDITORIAL: {#1}}}
38 ahallam 2426 \newcommand{\fileex}[1]{\module{\textbackslash examples\textbackslash {#1}}\xspace}
39 gross 2477 \newcommand{\TODO}[1]{\textbf{TODO}:\xspace\textit{#1} }
40 ahallam 2634 \newcommand{\TBA}[1]{\textbf{TO BE ADDED: \begin{enumerate} {#1} \end{enumerate}}}
41 ahallam 2775 %\newcommand{\eqref}[1] {(\ref{#1})}
42    
43     % text names
44     \newcommand{\esys}{\textit{esys}\xspace}
45     \newcommand{\pyt}{\textit{python}\xspace}
46     \newcommand{\esc}{\textit{escript}\xspace}
47     \newcommand{\FINLEY}{\textit{finley}\xspace}
48 ahallam 2634 \newcommand{\exf}{\textit{/doc/examples/cookbook/}\xspace}
49     \newcommand{\mayavi}{\textit{Mayavi2}\xspace}
50 ahallam 2411
51 ahallam 2495 %referencing
52     \newcommand{\reffig}[1]{(Figure \ref{#1})}
53     \newcommand{\refeq}[1]{equation \ref{#1}}
54     \newcommand{\refEq}[1]{Equation \ref{#1}}
55 ahallam 2634 \newcommand{\refCh}[1]{Chapter \ref{#1}}
56 ahallam 2495
57     %modules
58     \newcommand{\modesys}{\module{esys}\xspace}
59     \newcommand{\modescript}{\module{esys.escript}\xspace}
60 ahallam 2634 \newcommand{\modLPDE}{\module{esys.escript.LinearPDEs}\xspace}
61 ahallam 2495 \newcommand{\modfinley}{\module{esys.finley}\xspace}
62     \newcommand{\modpycad}{\module{esys.pycad}\xspace}
63     \newcommand{\modvtk}{\module{vtk}\xspace}
64     \newcommand{\modnumpy}{\module{numpy}\xspace}
65     \newcommand{\modmpl}{\module{matplotlib}\xspace}
66 ahallam 2589 \newcommand{\pycad}{\module{esys.pycad}\xspace}
67     \newcommand{\gmsh}{\module{esys.pycad.gmsh}\xspace}
68 ahallam 2606 \newcommand{\pylab}{\module{pylab}\xspace}
69     \newcommand{\mpl}{\module{matplotlib}\xspace}
70     \newcommand{\numpy}{\module{numpy}\xspace}
71 ahallam 2495
72 ahallam 2658 %list scripts
73 ahallam 2775 \newcommand{\sslist}[1]{\textit{The scripts referenced in this section are; #1} \newline \newline}

  ViewVC Help
Powered by ViewVC 1.1.26