source: trunk/docs/Guide.tex @ 331

Last change on this file since 331 was 331, checked in by MatthewWhiting, 17 years ago

Updated the version number for the Guide, and updated the spectral plots used so that they have the correct greyscale.

File size: 6.9 KB
RevLine 
[303]1% -----------------------------------------------------------------------
2% Guide.tex: Base latex file for the User's Guide.
3% -----------------------------------------------------------------------
4% Copyright (C) 2006, Matthew Whiting, ATNF
5%
6% This program is free software; you can redistribute it and/or modify it
7% under the terms of the GNU General Public License as published by the
8% Free Software Foundation; either version 2 of the License, or (at your
9% option) any later version.
10%
11% Duchamp is distributed in the hope that it will be useful, but WITHOUT
12% ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
13% FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
14% for more details.
15%
16% You should have received a copy of the GNU General Public License
17% along with Duchamp; if not, write to the Free Software Foundation,
18% Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA
19%
20% Correspondence concerning Duchamp may be directed to:
21%    Internet email: Matthew.Whiting [at] atnf.csiro.au
22%    Postal address: Dr. Matthew Whiting
23%                    Australia Telescope National Facility, CSIRO
24%                    PO Box 76
25%                    Epping NSW 1710
26%                    AUSTRALIA
27% -----------------------------------------------------------------------
[231]28\documentclass[11pt,a4paper]{article}
[158]29%\documentclass[12pt,a4paper]{report}
[18]30
[103]31%%%%%% LINE SPACING %%%%%%%%%%%%
32\usepackage{setspace}
33\singlespacing
34%\onehalfspacing
35%\doublespacing
36
[18]37%Define a test for doing PDF format -- use different code below
38\newif\ifPDF
39\ifx\pdfoutput\undefined\PDFfalse
40\else\ifnum\pdfoutput > 0\PDFtrue
41     \else\PDFfalse
42     \fi
43\fi
44
[231]45%\textwidth=165 mm
46%\textheight=245 mm
47%\topmargin=0 mm
48%\oddsidemargin=0 mm
49%\parindent=6 mm
[3]50
[231]51\usepackage{amsmath}
[232]52\usepackage{amsfonts}
[258]53\usepackage{xspace}
[18]54\usepackage[sort]{natbib}
55\bibpunct[,]{(}{)}{;}{a}{}{,}
56
[158]57%\newcommand{\secA}{\chapter}
58%\newcommand{\secB}{\section}
59%\newcommand{\secC}{\subsection}
60
61\newcommand{\secA}{\section}
62\newcommand{\secB}{\subsection}
63\newcommand{\secC}{\subsubsection}
64
65
[3]66\newcommand{\eg}{e.g.\ }
67\newcommand{\ie}{i.e.\ }
[258]68\newcommand{\hi}{H\textsc{i}\xspace}
69\newcommand{\hipass}{\textsc{hipass}\xspace}
70\newcommand{\duchamp}{\emph{Duchamp}\xspace}
71\newcommand{\atrous}{\textit{{\`a} trous}\xspace}
72\newcommand{\Atrous}{\textit{{\`A} trous}\xspace}
[3]73\newcommand{\diff}{{\rm d}}
[306]74\newcommand{\entrylabel}[1]{\mbox{\texttt{#1:}}\hfil}
[3]75\newenvironment{entry}
76        {\begin{list}{}%
77                {\renewcommand{\makelabel}{\entrylabel}%
[306]78                        \setlength{\leftmargin}{33mm}%
79                        \setlength{\labelwidth}{33mm}%
80                        \setlength{\labelsep}{0pt}%
81                        \setlength{\itemsep}{3pt}%
[3]82                        \setlength{\parsep}{2pt}%
83                }%
84        }%
85{\end{list}}
86
[306]87%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
88
89\newlength{\MyLen}
90\newcommand{\Lentrylabel}[1]{%
91  \settowidth{\MyLen}{\texttt{#1:}}%
92%  \setlength{\labelwidth}{30mm}%
93  \ifthenelse{\lengthtest{\MyLen > \labelwidth}}%
94    {\parbox[b]{\labelwidth}% term > labelwidth
95      {\makebox[0pt][l]{\texttt{#1:}}\\}}%
96    {\texttt{#1:}}% term < labelwidth
97    \hfil\relax}
98
99\newenvironment{Lentry}%
100               {\renewcommand{\entrylabel}{\Lentrylabel}\begin{entry}
[330]101                   \setlength{\itemsep}{3pt}%
[306]102%                  \setlength{\leftmargin}{25mm}%
103%                  \setlength{\itemindent}{0mm}%
104%                  \setlength{\listparindent}{0mm}%
[330]105                   \setlength{\labelsep}{0mm}%
[306]106               }%
107               {\end{entry}%
108               }
109
110%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
111
112\newcommand{\Mentrylabel}[1]%
113           {\raisebox{0pt}[1ex][0pt]{\makebox[\labelwidth][l]%
114               {\parbox[t]{\labelwidth}{\hspace{0pt}\texttt{#1}}}}}
115\newenvironment{Mentry}
116               {\renewcommand{\entrylabel}{\Mentrylabel}\begin{entry}%
117                   \setlength{\labelwidth}{33mm}%
118                   \setlength{\leftmargin}{35mm}%
119               }%
120               {\end{entry}%
121               }
122%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
123
124
[158]125%%%%%%% FANCY HEADINGS %%%%%%%%%%
126%\usepackage{fancyheadings}
127%\pagestyle{fancyplain}
128%\addtolength{\headheight}{1.6pt}
129%\addtolength{\headwidth}{\marginparsep}
130%\addtolength{\headwidth}{\marginparwidth}
131%\renewcommand{\secAmark}[1]
132%                {\markboth{#1}{}}
133%\renewcommand{\secBmark}[1]
134%                {\markright{\thesection\ #1}}
135%\lhead[\fancyplain{}{\bfseries\thepage}]
136%      {\fancyplain{}{\bfseries\rightmark}}
137%\rhead[\fancyplain{}{\bfseries\leftmark}]
138%      {\fancyplain{}{\bfseries\thepage}}
139%\cfoot{}
[18]140
141% If we are creating a PDF, use different options for graphicx, hyperref.
142\ifPDF
143  \usepackage[pdftex]{graphicx,color}
[158]144  \usepackage[pdftex,bookmarks]{hyperref}
[18]145  \hypersetup{colorlinks=true,%             
[80]146              citecolor=red,%
147              filecolor=red,%
148              linkcolor=red,%
149              urlcolor=red,%
150              }
[18]151\else
152  \usepackage[dvips]{graphicx}
153  \usepackage[dvips]{hyperref}
154\fi
155
[231]156\usepackage{lscape}
157\usepackage[dvips]{rotating}
158%\rotdriver{dvips}
159
[80]160\pagestyle{headings}
[3]161\begin{document}
162
[158]163\ifPDF
[162]164\pdfbookmark[2]{Title Page}{title}
[158]165\fi
166\newlength{\centreoff}
167\setlength{\centreoff}{-0.5\oddsidemargin}
168\addtolength{\centreoff}{0.5\evensidemargin}
[80]169\thispagestyle{empty}
[158]170\vspace*{\stretch{1}}
171\noindent\hspace*{\centreoff}%
172\makebox[0pt][l]{\begin{minipage}{\textwidth}
173\flushright
[231]174{\Huge\bfseries Source Detection with \duchamp\\[2ex]}
175{\huge\bfseries A User's Guide
[158]176
177}
178\noindent\rule[-1ex]{\textwidth}{3pt}
[231]179%\noindent\rule[-1ex]{\textwidth}{3pt}
180%{\huge\bfseries A User's Guide}
[158]181\end{minipage}}
182
183\vspace{\stretch{1}}
184\noindent\hspace*{\centreoff}%
185\makebox[0pt][l]{\begin{minipage}{\textwidth}
186\flushright
187{\bfseries
188Matthew Whiting\\
189Australia Telescope National Facility\\
190CSIRO\\[3ex]}
[331]191Duchamp version~1.1.1\\
192July 20, 2007
[158]193\end{minipage}}
194
[80]195\begin{figure}[!h]
[162]196%\begin{center}
[80]197\includegraphics[width=\textwidth]{cover_image}
[162]198%\end{center}
[80]199\end{figure}
200
[158]201%\newpage
[162]202\ifPDF
203\pdfbookmark[2]{Contents}{contents}
204\fi
[3]205\tableofcontents
206
[208]207\newpage
[158]208\input{intro} %Introduction and getting going quickly
[3]209\newpage
[158]210\input{userInputs} %User Inputs
[3]211\newpage
[258]212\input{executionFlow} %What \duchamp is doing
[110]213\newpage
[158]214\input{outputs} %Outputs
[3]215\newpage
[158]216\input{hints} %Notes and hints on the use of \duchamp
[3]217\newpage
[158]218\input{future} %Future developments
[3]219
[171]220%\bibliographystyle{plainnat}
221%\bibliographystyle{mn2e}
222%\bibliography{guide}
[3]223
[171]224\newpage
225\ifPDF
226\pdfbookmark[1]{References}{references}
227\fi
228\ifPDF
229\input{Guide-URL-bib}
230\else
231\input{Guide-noURL-bib}
232\fi
[3]233
[158]234\appendix
[3]235\newpage
[158]236\input{app-install} %Obtaining and installing \duchamp
[87]237\newpage
[158]238\input{app-param} %Available parameters
[87]239\newpage
[158]240\input{app-paramEx} %Example parameter files
[231]241\newpage
[158]242\input{app-resultsEx} %Example results files
[231]243\newpage
[158]244\input{app-VOTable} %Example VOTable output
[231]245\newpage
[158]246\input{app-Karma} %Example Karma annotation file output
[24]247\newpage
[158]248\input{app-stats} %Robust statistics for a Normal distribution
[231]249\newpage
[158]250\input{app-waveletNoise} %How Gaussian noise changes with wavelet scale
[24]251
252
253\end{document}
Note: See TracBrowser for help on using the repository browser.