\documentclass[letterpaper]{article}
%
% My working notes on unfolding force distributions.
%
%     Copyright (C) 2008, William Trevor King
%
%     Permission is granted to copy, distribute and/or modify this
%     document under the terms of the GNU Free Documentation License,
%     Version 1.2 or any later version published by the Free Software
%     Foundation; with no Invariant Sections, no Front-Cover Texts and
%     no Back-Cover Texts.  A copy of the license is available at
%      http://www.physics.drexel.edu/~wking/shared/GNU_FLD.txt
%


%% Document setup, hyperlinking and
% compatability with latex, pdflatex, latex2html

% html includes the hypperref package, so pick options here
\PassOptionsToPackage{
        colorlinks,             % color links instead of boxing them
%	backref,	% `backlink' from bibliography to text as list of section numbers
% pdf information options
	pdftitle={Theoretical unfolding force distributions},
	pdfauthor={Trevor King},
	pdfsubject={Mechanical protein unfolding},
% pdf display options
	pdfstartview=FitH	% fit page to window (Fit, page; FitH, width; FitV, height)
	}{hyperref}

% pdflatex and latex2html work fine without this, but latex misses \url somehow
% must be included before html, which overwrites it somehow...
%\usepackage{url}

% For making Web pages using LaTeX2HTML
\usepackage{html}       % defines \url{}, \latex{}, \html{}, etc
\usepackage{ifpdf}      % allow selection based on pdflatex or latex

\newcommand{\pdflatex}[1]{\ifpdf\latex{#1}\fi}
% latex2html doesn't recognize the ifpdf macro, so we need \latex{} inside.

%% Formatting packages and includes

% setup the margins, in ~/texmf/tex/latex/ (see ~/howto/texmf)
\usepackage{wtk_format}
% allow colored text (usenames -> with 68 dvips named colors)
\usepackage[dvipsnames, usenames]{color}

%% Citation packages

\usepackage{doc}    % BibTeX
\usepackage[super,sort&compress]{natbib} % fancy citation extensions
% super selects citations in superscript mode
% sort&compress automatically sorts and compresses compound citations (\cite{a,b,...})

%\bibliographystyle{ieeetr} % pick the bibliography style, short and sweet
%\bibliographystyle{plain} % pick the bibliography style, includes dates
\bibliographystyle{plainnat}

%% Debugging packages

% print labels in margins for debugging
%\usepackage{showkeys}


%% Math packages

% environments for multiline displayed equations, and other enhancements
\usepackage{amsmath}
% proof environment and extensions for the \newtheorem command
\usepackage{amsthm}
% fonts like mathbb (blackboard)
\usepackage{amsfonts}


%% Graphics packages

\usepackage{graphicx}   % to include images
% if pdftex doesn't recognize the type, it's mps
% DeclareGraphicsRule{ext}{type}{sizefile}{command}
\pdflatex{\DeclareGraphicsRule{*}{mps}{*}{}}
% latex and latex2html can handle Metapost's eps output without modification


%% Other stuff

\usepackage{pslatex}    % use PostScript fonts

\usepackage{wtk_cmmds}  % common personal macros, in ~/texmf/tex/latex/

%\providecommand{\url}[1]{\verb+#1+}

\input{local_cmmds}

% Lots of equations makes for short paragraphs.
% I like short paragraphs to not be indented.
\setlength{\parindent}{0pt}
\setlength{\parskip}{6pt}


%-----------------------end preamble-------------------------

\begin{document}

\begin{center}
{\Large Theoretical unfolding distributions}
\end{center}

\copytitle

\input{overview}
\input{review}
\input{singledomain_constantloading}
\input{kramers}

\phantomsection
\addcontentsline{toc}{section}{References}
\bibliography{main}

\end{document}
