\documentclass[11pt,a4paper]{article} %\documentclass[12pt,a4paper]{report} %%%%%% LINE SPACING %%%%%%%%%%%% \usepackage{setspace} \singlespacing %\onehalfspacing %\doublespacing %Define a test for doing PDF format -- use different code below \newif\ifPDF \ifx\pdfoutput\undefined\PDFfalse \else\ifnum\pdfoutput > 0\PDFtrue \else\PDFfalse \fi \fi %\textwidth=165 mm %\textheight=245 mm %\topmargin=0 mm %\oddsidemargin=0 mm %\parindent=6 mm \usepackage{amsmath} \usepackage{amsfonts} \usepackage{xspace} \usepackage[sort]{natbib} \bibpunct[,]{(}{)}{;}{a}{}{,} %\newcommand{\secA}{\chapter} %\newcommand{\secB}{\section} %\newcommand{\secC}{\subsection} \newcommand{\secA}{\section} \newcommand{\secB}{\subsection} \newcommand{\secC}{\subsubsection} \newcommand{\eg}{e.g.\ } \newcommand{\ie}{i.e.\ } \newcommand{\hi}{H\textsc{i}\xspace} \newcommand{\hipass}{\textsc{hipass}\xspace} \newcommand{\duchamp}{\emph{Duchamp}\xspace} \newcommand{\atrous}{\textit{{\`a} trous}\xspace} \newcommand{\Atrous}{\textit{{\`A} trous}\xspace} \newcommand{\diff}{{\rm d}} \newcommand{\entrylabel}[1]{\mbox{\textsf{\bf{#1:}}}\hfil} \newenvironment{entry} {\begin{list}{}% {\renewcommand{\makelabel}{\entrylabel}% \setlength{\labelwidth}{30mm}% \setlength{\labelsep}{5pt}% \setlength{\itemsep}{2pt}% \setlength{\parsep}{2pt}% \setlength{\leftmargin}{35mm}% }% }% {\end{list}} %%%%%%% FANCY HEADINGS %%%%%%%%%% %\usepackage{fancyheadings} %\pagestyle{fancyplain} %\addtolength{\headheight}{1.6pt} %\addtolength{\headwidth}{\marginparsep} %\addtolength{\headwidth}{\marginparwidth} %\renewcommand{\secAmark}[1] % {\markboth{#1}{}} %\renewcommand{\secBmark}[1] % {\markright{\thesection\ #1}} %\lhead[\fancyplain{}{\bfseries\thepage}] % {\fancyplain{}{\bfseries\rightmark}} %\rhead[\fancyplain{}{\bfseries\leftmark}] % {\fancyplain{}{\bfseries\thepage}} %\cfoot{} % If we are creating a PDF, use different options for graphicx, hyperref. \ifPDF \usepackage[pdftex]{graphicx,color} \usepackage[pdftex,bookmarks]{hyperref} \hypersetup{colorlinks=true,% citecolor=red,% filecolor=red,% linkcolor=red,% urlcolor=red,% } \else \usepackage[dvips]{graphicx} \usepackage[dvips]{hyperref} \fi \usepackage{lscape} \usepackage[dvips]{rotating} %\rotdriver{dvips} \pagestyle{headings} \begin{document} \ifPDF \pdfbookmark[2]{Title Page}{title} \fi \newlength{\centreoff} \setlength{\centreoff}{-0.5\oddsidemargin} \addtolength{\centreoff}{0.5\evensidemargin} \thispagestyle{empty} \vspace*{\stretch{1}} \noindent\hspace*{\centreoff}% \makebox[0pt][l]{\begin{minipage}{\textwidth} \flushright {\Huge\bfseries Source Detection with \duchamp\\[2ex]} {\huge\bfseries A User's Guide } \noindent\rule[-1ex]{\textwidth}{3pt} %\noindent\rule[-1ex]{\textwidth}{3pt} %{\huge\bfseries A User's Guide} \end{minipage}} \vspace{\stretch{1}} \noindent\hspace*{\centreoff}% \makebox[0pt][l]{\begin{minipage}{\textwidth} \flushright {\bfseries Matthew Whiting\\ Australia Telescope National Facility\\ CSIRO\\[3ex]} Duchamp version~1.1b\\ April 3, 2007 \end{minipage}} \begin{figure}[!h] %\begin{center} \includegraphics[width=\textwidth]{cover_image} %\end{center} \end{figure} %\newpage \ifPDF \pdfbookmark[2]{Contents}{contents} \fi \tableofcontents \newpage \input{intro} %Introduction and getting going quickly \newpage \input{userInputs} %User Inputs \newpage \input{executionFlow} %What \duchamp is doing \newpage \input{outputs} %Outputs \newpage \input{hints} %Notes and hints on the use of \duchamp \newpage \input{future} %Future developments %\bibliographystyle{plainnat} %\bibliographystyle{mn2e} %\bibliography{guide} \newpage \ifPDF \pdfbookmark[1]{References}{references} \fi \ifPDF \input{Guide-URL-bib} \else \input{Guide-noURL-bib} \fi \appendix \newpage \input{app-install} %Obtaining and installing \duchamp \newpage \input{app-param} %Available parameters \newpage \input{app-paramEx} %Example parameter files \newpage \input{app-resultsEx} %Example results files \newpage \input{app-VOTable} %Example VOTable output \newpage \input{app-Karma} %Example Karma annotation file output \newpage \input{app-stats} %Robust statistics for a Normal distribution \newpage \input{app-waveletNoise} %How Gaussian noise changes with wavelet scale \end{document}