1 |
|
2 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
3 |
% |
4 |
% Copyright (c) 2003-2010 by University of Queensland |
5 |
% 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 |
|
18 |
\usepackage{graphicx,color} |
19 |
% \usepackage[pdftex]{graphicx,color} |
20 |
\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 |
\usepackage{amsmath,amsfonts,amssymb} % this is handy for mathematicians and physici % see http://www.ams.org/tex/amslatex.html |
25 |
\usepackage{alltt} % handy verbatim stuff |
26 |
\usepackage{textcomp} |
27 |
\usepackage{setspace} |
28 |
%\doublespacing |
29 |
|
30 |
\include{pythonlisting} |
31 |
|
32 |
|
33 |
%Ensures that latex doesn't have an error if we don't specify the version |
34 |
\providecommand{\RepVersion}{Unknown\xspace} |
35 |
|
36 |
%Tony's Commands |
37 |
\newcommand{\editor}[1] {\textit{EDITORIAL: {#1}}} |
38 |
\newcommand{\fileex}[1]{\module{examples\textbackslash {#1}}\xspace} |
39 |
\newcommand{\TODO}[1]{\textbf{TODO}:\xspace\textit{#1} } |
40 |
\newcommand{\TBA}[1]{\textbf{TO BE ADDED: \begin{enumerate} {#1} \end{enumerate}}} |
41 |
%\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 |
\newcommand{\exf}{\textit{doc/examples/cookbook/}\xspace} |
49 |
\newcommand{\mayavi}{\textit{Mayavi2}\xspace} |
50 |
|
51 |
%referencing |
52 |
\newcommand{\reffig}[1]{Figure~(\ref{#1})} |
53 |
\newcommand{\refeq}[1]{equation~(\ref{#1})} |
54 |
\newcommand{\refEq}[1]{Equation~(\ref{#1})} |
55 |
\newcommand{\refCh}[1]{Chapter~\ref{#1}} |
56 |
\newcommand{\refSec}[1]{Section~\ref{#1}} |
57 |
|
58 |
|
59 |
%modules |
60 |
\newcommand{\modesys}{\module{esys}\xspace} |
61 |
\newcommand{\modescript}{\module{esys.escript}\xspace} |
62 |
\newcommand{\modLPDE}{\module{esys.escript.LinearPDEs}\xspace} |
63 |
\newcommand{\modfinley}{\module{esys.finley}\xspace} |
64 |
\newcommand{\modpycad}{\module{esys.pycad}\xspace} |
65 |
\newcommand{\modvtk}{\module{vtk}\xspace} |
66 |
\newcommand{\modnumpy}{\module{numpy}\xspace} |
67 |
\newcommand{\modmpl}{\module{matplotlib}\xspace} |
68 |
\newcommand{\pycad}{\module{esys.pycad}\xspace} |
69 |
\newcommand{\gmsh}{\module{esys.pycad.gmsh}\xspace} |
70 |
\newcommand{\pylab}{\module{pylab}\xspace} |
71 |
\newcommand{\mpl}{\module{matplotlib}\xspace} |
72 |
\newcommand{\numpy}{\module{numpy}\xspace} |
73 |
|
74 |
%list scripts |
75 |
\newcommand{\sslist}[1]{\textbf{The scripts referenced in this section are; #1} \newline \newline} |