source: tags/release-1.1/docs/Guide.tex @ 1391

Last change on this file since 1391 was 310, checked in by Matthew Whiting, 17 years ago

Minor changes to verification data, and setting the correct date for the release.

File size: 6.9 KB
Line 
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% -----------------------------------------------------------------------
28\documentclass[11pt,a4paper]{article}
29%\documentclass[12pt,a4paper]{report}
30
31%%%%%% LINE SPACING %%%%%%%%%%%%
32\usepackage{setspace}
33\singlespacing
34%\onehalfspacing
35%\doublespacing
36
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
45%\textwidth=165 mm
46%\textheight=245 mm
47%\topmargin=0 mm
48%\oddsidemargin=0 mm
49%\parindent=6 mm
50
51\usepackage{amsmath}
52\usepackage{amsfonts}
53\usepackage{xspace}
54\usepackage[sort]{natbib}
55\bibpunct[,]{(}{)}{;}{a}{}{,}
56
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
66\newcommand{\eg}{e.g.\ }
67\newcommand{\ie}{i.e.\ }
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}
73\newcommand{\diff}{{\rm d}}
74\newcommand{\entrylabel}[1]{\mbox{\texttt{#1:}}\hfil}
75\newenvironment{entry}
76        {\begin{list}{}%
77                {\renewcommand{\makelabel}{\entrylabel}%
78                        \setlength{\leftmargin}{33mm}%
79                        \setlength{\labelwidth}{33mm}%
80                        \setlength{\labelsep}{0pt}%
81                        \setlength{\itemsep}{3pt}%
82                        \setlength{\parsep}{2pt}%
83                }%
84        }%
85{\end{list}}
86
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}
101%                  \setlength{\itemsep}{3pt}%
102%                  \setlength{\leftmargin}{25mm}%
103%                  \setlength{\itemindent}{0mm}%
104%                  \setlength{\listparindent}{0mm}%
105%                  \setlength{\labelsep}{0mm}%
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
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{}
140
141% If we are creating a PDF, use different options for graphicx, hyperref.
142\ifPDF
143  \usepackage[pdftex]{graphicx,color}
144  \usepackage[pdftex,bookmarks]{hyperref}
145  \hypersetup{colorlinks=true,%             
146              citecolor=red,%
147              filecolor=red,%
148              linkcolor=red,%
149              urlcolor=red,%
150              }
151\else
152  \usepackage[dvips]{graphicx}
153  \usepackage[dvips]{hyperref}
154\fi
155
156\usepackage{lscape}
157\usepackage[dvips]{rotating}
158%\rotdriver{dvips}
159
160\pagestyle{headings}
161\begin{document}
162
163\ifPDF
164\pdfbookmark[2]{Title Page}{title}
165\fi
166\newlength{\centreoff}
167\setlength{\centreoff}{-0.5\oddsidemargin}
168\addtolength{\centreoff}{0.5\evensidemargin}
169\thispagestyle{empty}
170\vspace*{\stretch{1}}
171\noindent\hspace*{\centreoff}%
172\makebox[0pt][l]{\begin{minipage}{\textwidth}
173\flushright
174{\Huge\bfseries Source Detection with \duchamp\\[2ex]}
175{\huge\bfseries A User's Guide
176
177}
178\noindent\rule[-1ex]{\textwidth}{3pt}
179%\noindent\rule[-1ex]{\textwidth}{3pt}
180%{\huge\bfseries A User's Guide}
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]}
191Duchamp version~1.1\\
192May 17, 2007
193\end{minipage}}
194
195\begin{figure}[!h]
196%\begin{center}
197\includegraphics[width=\textwidth]{cover_image}
198%\end{center}
199\end{figure}
200
201%\newpage
202\ifPDF
203\pdfbookmark[2]{Contents}{contents}
204\fi
205\tableofcontents
206
207\newpage
208\input{intro} %Introduction and getting going quickly
209\newpage
210\input{userInputs} %User Inputs
211\newpage
212\input{executionFlow} %What \duchamp is doing
213\newpage
214\input{outputs} %Outputs
215\newpage
216\input{hints} %Notes and hints on the use of \duchamp
217\newpage
218\input{future} %Future developments
219
220%\bibliographystyle{plainnat}
221%\bibliographystyle{mn2e}
222%\bibliography{guide}
223
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
233
234\appendix
235\newpage
236\input{app-install} %Obtaining and installing \duchamp
237\newpage
238\input{app-param} %Available parameters
239\newpage
240\input{app-paramEx} %Example parameter files
241\newpage
242\input{app-resultsEx} %Example results files
243\newpage
244\input{app-VOTable} %Example VOTable output
245\newpage
246\input{app-Karma} %Example Karma annotation file output
247\newpage
248\input{app-stats} %Robust statistics for a Normal distribution
249\newpage
250\input{app-waveletNoise} %How Gaussian noise changes with wavelet scale
251
252
253\end{document}
Note: See TracBrowser for help on using the repository browser.