Menu

[r4612]: / trunk / py4science / book / main.lyx  Maximize  Restore  History

Download this file

277 lines (193 with data), 4.5 kB

#LyX 1.4.3 created this file. For more info see http://www.lyx.org/
\lyxformat 245
\begin_document
\begin_header
\textclass amsbook
\begin_preamble
% This gives us a better font in URL links (otherwise the default 
% MonoSpace font is bitmapped, and it looks horrible in PDF)
\usepackage{courier}

% Special-purpose color definitions
\usepackage{color}
\definecolor{orange}{cmyk}{0,0.4,0.8,0.2}

% The hyperref package gives us a pdf with properly built 
% internal navigation ('pdf bookmarks' for the table of contents,
% internal cross-reference links, web links for URLs, etc.)

% A few colors to replace the defaults for certain link types
\definecolor{darkorange}{rgb}{.71,0.21,0.01}
\definecolor{darkgreen}{rgb}{.12,.54,.11}

\usepackage[pdftex,  % needed for pdflatex
  breaklinks=true,  % so long urls are correctly broken across lines
  colorlinks=true,
  urlcolor=blue,
  linkcolor=darkorange,
  citecolor=darkgreen,
  ]{hyperref}

% This helps prevent overly long lines that stretch beyond the margins
\sloppy

% Use and configure listings package for nicely formatted code
\usepackage{listings}
\lstset{
  language=Python,
  basicstyle=\small\ttfamily,
  commentstyle=\ttfamily\color{blue},
  stringstyle=\ttfamily\color{orange},
  showstringspaces=false,
  breaklines=true,
  postbreak = \space\dots
}

% Some extra commands

\newcommand{\fig}[4]
{\begin{figure}[ht]
\begin{center}
\includegraphics[width=#1]{#2}
\caption{\label{#4} #3}
\end{center}
\end{figure}}

\newcommand{\matlab}[0]{matlab{\texttrademark}}
\newcommand{\fname}[1]{{\tt #1}}
\newcommand{\func}[1]{{\tt #1}}
\newcommand{\class}[1]{{\tt #1}}
\newcommand{\mpldoc}[1]{{\tt #1}}

\newcommand{\code}[1]{{\tt #1}}
\newcommand{\prompt}[1]{\code{>>> #1}}
\newcommand{\carg}[1]{\textit{#1}} % command argument
\newcommand{\val}[1]{\textit{#1}}
\newcommand{\rc}[1]{{\tt #1}}

% no-op for a sequence that was created when importing the
% mayavi chapter.  This prevents latex errors.
\newcommand{\dbz}{ }
\end_preamble
\language english
\inputencoding auto
\fontscheme default
\graphics default
\paperfontsize default
\spacing single
\papersize letterpaper
\use_geometry true
\use_amsmath 2
\cite_engine basic
\use_bibtopic false
\paperorientation portrait
\leftmargin 1.15in
\topmargin 1in
\rightmargin 1.15in
\bottommargin 1in
\secnumdepth 3
\tocdepth 3
\paragraph_separation indent
\defskip medskip
\quotes_language english
\papercolumns 1
\papersides 2
\paperpagestyle fancy
\tracking_changes false
\output_changes true
\end_header

\begin_body

\begin_layout Title
\begin_inset ERT
status collapsed

\begin_layout Standard

 
\backslash
vspace{3cm} 
\end_layout

\end_inset

Practical Scientific Computing
\newline
in Python
\end_layout

\begin_layout Author
\begin_inset ERT
status collapsed

\begin_layout Standard

 
\backslash
vspace{1cm} 
\end_layout

\end_inset

John D.
 Hunter
\newline
Fernando Pérez
\begin_inset ERT
status collapsed

\begin_layout Standard

 
\backslash
vspace{1cm} 
\end_layout

\end_inset


\newline
with contributions from
\begin_inset ERT
status collapsed

\begin_layout Standard

 
\backslash
vspace{1cm} 
\end_layout

\end_inset


\newline
Perry Greenfield
\newline
Travis E.
 Oliphant
\newline
Prabhu Ramachandran
\end_layout

\begin_layout Standard
\begin_inset LatexCommand \tableofcontents{}

\end_inset


\end_layout

\begin_layout Standard

\end_layout

\begin_layout Standard
\begin_inset Include \input{why_python.lyx}
preview false

\end_inset


\end_layout

\begin_layout Standard
\begin_inset Include \input{intro_to_python.lyx}
preview false

\end_inset


\end_layout

\begin_layout Standard
\begin_inset Include \input{ipython_tut.lyx}
preview false

\end_inset


\end_layout

\begin_layout Standard
\begin_inset Include \input{numeric_tut.lyx}
preview false

\end_inset


\end_layout

\begin_layout Standard
\begin_inset Include \input{matplotlib_tut.lyx}
preview false

\end_inset


\end_layout

\begin_layout Standard
\begin_inset Include \input{scipy_tour.lyx}
preview false

\end_inset


\end_layout

\begin_layout Standard
\begin_inset Include \input{mayavi_tut.lyx}
preview false

\end_inset


\end_layout

\begin_layout Standard
\begin_inset Include \input{vtk_tut.lyx}
preview false

\end_inset


\end_layout

\begin_layout Standard
\begin_inset Include \input{wrapping.lyx}
preview false

\end_inset


\end_layout

\begin_layout Standard
\begin_inset LatexCommand \bibtex[plain]{python,python2,cyber}

\end_inset


\end_layout

\end_body
\end_document
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.