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

  ViewVC Help
Powered by ViewVC 1.1.26