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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 3232 - (show annotations)
Fri Oct 1 02:08:38 2010 UTC (8 years, 11 months ago) by ahallam
File MIME type: application/x-tex
File size: 3093 byte(s)
Updates to cookbook, new chapter DC Resis and IP. Using new packages hyperref, natbib
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 \usepackage{subfigure}
15 \usepackage{epsfig}
16
17 \usepackage{graphicx,color}
18 % \usepackage[pdftex]{graphicx,color}
19 \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 \usepackage{amsmath,amsfonts,amssymb} % this is handy for mathematicians and physici % see http://www.ams.org/tex/amslatex.html
24 \usepackage{alltt} % handy verbatim stuff
25 \usepackage{textcomp}
26 \usepackage{setspace}
27 %\usepackage{movie15}
28 % Special Formatting Packages
29 % Colour Package
30 \usepackage[usenames,dvipsnames]{xcolor}
31 % Assignm Colour Names and import hyperlinks.
32 \usepackage{float}
33 \usepackage[unicode,colorlinks=true,linkcolor=NavyBlue,citecolor=OliveGreen,urlcolor=Plum]{hyperref}
34
35 % Fancy Verb
36
37
38 \usepackage[numbers]{natbib}
39 \usepackage{chapterbib}
40 \renewcommand{\bibname}{References}
41
42 \doublespacing
43
44 \include{pythonlisting}
45
46
47 %Ensures that latex doesn't have an error if we don't specify the version
48 \providecommand{\RepVersion}{Unknown\xspace}
49
50 %Tony's Commands
51 \newcommand{\editor}[1] {\textit{EDITORIAL: {#1}}}
52 \newcommand{\fileex}[1]{\module{examples\textbackslash {#1}}\xspace}
53 \newcommand{\TODO}[1]{\textbf{TODO}:\xspace\textit{#1} }
54 \newcommand{\TBA}[1]{\textbf{TO BE ADDED: \begin{enumerate} {#1} \end{enumerate}}}
55 %\newcommand{\eqref}[1] {(\ref{#1})}
56
57 % text names
58 \newcommand{\esys}{\textit{esys}\xspace}
59 \newcommand{\pyt}{\textit{python}\xspace}
60 \newcommand{\esc}{\textit{escript}\xspace}
61 \newcommand{\FINLEY}{\textit{finley}\xspace}
62 \newcommand{\exf}{\textit{doc/examples/cookbook/}\xspace}
63 \newcommand{\mayavi}{\textit{Mayavi2}\xspace}
64
65 %referencing
66 \newcommand{\reffig}[1]{Figure~(\ref{#1})}
67 \newcommand{\refeq}[1]{equation~(\ref{#1})}
68 \newcommand{\refEq}[1]{Equation~(\ref{#1})}
69 \newcommand{\refCh}[1]{Chapter~\ref{#1}}
70 \newcommand{\refSec}[1]{Section~\ref{#1}}
71
72
73 %modules
74 \newcommand{\modesys}{\module{esys}\xspace}
75 \newcommand{\modescript}{\module{esys.escript}\xspace}
76 \newcommand{\modLPDE}{\module{esys.escript.LinearPDEs}\xspace}
77 \newcommand{\modfinley}{\module{esys.finley}\xspace}
78 \newcommand{\modpycad}{\module{esys.pycad}\xspace}
79 \newcommand{\modvtk}{\module{vtk}\xspace}
80 \newcommand{\modnumpy}{\module{numpy}\xspace}
81 \newcommand{\modmpl}{\module{matplotlib}\xspace}
82 \newcommand{\pycad}{\module{esys.pycad}\xspace}
83 \newcommand{\gmsh}{\module{esys.pycad.gmsh}\xspace}
84 \newcommand{\pylab}{\module{pylab}\xspace}
85 \newcommand{\mpl}{\module{matplotlib}\xspace}
86 \newcommand{\numpy}{\module{numpy}\xspace}
87
88 %list scripts
89 \newcommand{\sslist}[1]{\textbf{The scripts referenced in this section are; #1} \newline \newline}

  ViewVC Help
Powered by ViewVC 1.1.26