/[escript]/trunk/doc/install/install_defs.tex
ViewVC logotype

Diff of /trunk/doc/install/install_defs.tex

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2289 by jfenwick, Wed Feb 25 03:38:59 2009 UTC revision 2294 by jfenwick, Mon Mar 2 03:44:27 2009 UTC
# Line 22  Line 22 
22  % (pdf)latex '\newcommand{\RepVersion}{version\xspace}\input{install.tex}'  % (pdf)latex '\newcommand{\RepVersion}{version\xspace}\input{install.tex}'
23  % as your command-line  % as your command-line
24    
25    \usepackage{listings}        % add the listings package to pretty print the code output
26    
27    
28  % block to include  % Try to make this the last \usepackage
29    \usepackage[colorlinks=true, pdftitle={Escript/Finley install guide}, pdfauthor={Escript development team}
30  \usepackage{subfigure}  ,pdfpagelayout=TwoColumnRight]{hyperref}
 \usepackage{epsfig}  
 \usepackage{makeidx}  % handle the index properly  
 \usepackage{xspace}   % handle spaces after commands more nicely  
 % use the ams math stuff, as it makes the maths easier to code, and  
 % nicer output than the standard LaTeX stuff  
 \usepackage{amsmath,amsfonts,amssymb} % this is handy for mathematicians and physicists  
                           % see http://www.ams.org/tex/amslatex.html  
 \usepackage{alltt}   % handy verbatim stuff  
   
 %End block to include  
   
31    
32  \newcommand{\escript}{\module{esys.escript}\xspace}  \newcommand{\escript}{\module{esys.escript}\xspace}
33  \newcommand{\finley}{\module{esys.finley}\xspace}  \newcommand{\finley}{\module{esys.finley}\xspace}
# Line 48  Line 38 
38  \newcommand{\macosx}{MacOSX\xspace}  \newcommand{\macosx}{MacOSX\xspace}
39  \newcommand{\winxp}{Windows~XP\xspace}  \newcommand{\winxp}{Windows~XP\xspace}
40  \newcommand{\openmp}{OpenMP\xspace}  \newcommand{\openmp}{OpenMP\xspace}
41    \newcommand{\mpi}{MPI\xspace}
42    
43  \newcommand{\Sec}[1] {Section~\ref{#1}}  \newcommand{\Sec}[1] {Section~\ref{#1}}
44  \newcommand*{\filename}[1]{\texttt{#1}\xspace}  \newcommand*{\filename}[1]{\texttt{#1}\xspace}
45    
46  % defines the colour for the background of code examples  % defines the colour for the background of code examples
47  \definecolor{LightGrey}{gray}{0.9}  \definecolor{LightGrey}{gray}{0.9}
48  % add the listings package to pretty print the code output  
 \usepackage{listings}  
49    
50  \lstdefinestyle{myShell}{%  \lstdefinestyle{myShell}{%
51  %\lstset{%  %\lstset{%
# Line 73  backgroundcolor=\color{LightGrey}% Line 63  backgroundcolor=\color{LightGrey}%
63  }  }
64    
65  % this implements nicely formatted shell code  % this implements nicely formatted shell code
 \lstnewenvironment{shellCode}[1][]{\lstset{style=myShell}\lstset{#1}}{}  
66    \lstnewenvironment{shellCode}[1][]{\lstset{style=myShell}\lstset{#1}}{}
67    

Legend:
Removed from v.2289  
changed lines
  Added in v.2294

  ViewVC Help
Powered by ViewVC 1.1.26