# numpy book

Fernando Perez fperez.net at gmail.com
Thu Nov 2 10:00:31 CST 2006

On 11/2/06, Travis Oliphant <oliphant at ee.byu.edu> wrote:
>
> >Note that this is not a request to Travis to send me the latest version
> >by private email. That would be inefficient and my need is not that
> >urgent. Nevertheless I think that issue should be settled.
> >
> >
> There will be an update, soon. I'm currently working on the index,
> corrections, and formatting issues.

If I may make a suggestion, it would greatly increase the usability of
the PDF if it had internal and external clickable links, as well as a

Since I know the original is in Lyx, here's my standard preamble for
these kinds of documents, which includes all the goodies for
generating such a PDF, with some color and formatting tweaks so that
it prints legibly on black and white as well as looking nice on
should work.  I'll be happy to help if you have any issues.

Cheers,

f

%%% My preamble; tweak and season to taste:

% This gives us a better font in URL links (otherwise the default
% MonoSpace font is bitmapped, and it looks horrible in PDF)
\usepackage{courier}

\usepackage{fullpage}

\usepackage{color}  % so we can use red for the fixme warnings

% The hyperref package gives us a pdf with properly built

% 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
urlcolor=blue,
citecolor=darkgreen,
]{hyperref}

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

% Define a \fixme command to mark visually things needing fixing in the draft.
% For final printing or to simply disable these bright warnings, simply
% uncomment the \renewcommand redefinition below

\newcommand{\fixme}[1] {
\textcolor{red}{
{\fbox{ {\bf FIX}
\ensuremath{\blacktriangleright \blacktriangleright \blacktriangleright}}
{\bf #1}
\fbox{\ensuremath{ \blacktriangleleft \blacktriangleleft \blacktriangleleft }
} } }
}
% Uncomment the next line to make the \fixme command be a no-op
%\renewcommand{\fixme}[1]{}

%%% If you also want to use the listings package for nicely formatted
%%% Python source code, this configuration produces good on-paper and
%%% on-screen results:

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

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier