/[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 2290 by jfenwick, Thu Feb 26 06:38:16 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 54  Line 44 
44    
45  % defines the colour for the background of code examples  % defines the colour for the background of code examples
46  \definecolor{LightGrey}{gray}{0.9}  \definecolor{LightGrey}{gray}{0.9}
47  % add the listings package to pretty print the code output  
 \usepackage{listings}  
48    
49  \lstdefinestyle{myShell}{%  \lstdefinestyle{myShell}{%
50  %\lstset{%  %\lstset{%
# Line 73  backgroundcolor=\color{LightGrey}% Line 62  backgroundcolor=\color{LightGrey}%
62  }  }
63    
64  % this implements nicely formatted shell code  % this implements nicely formatted shell code
 \lstnewenvironment{shellCode}[1][]{\lstset{style=myShell}\lstset{#1}}{}  
65    \lstnewenvironment{shellCode}[1][]{\lstset{style=myShell}\lstset{#1}}{}
66    

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

  ViewVC Help
Powered by ViewVC 1.1.26