source: trunk/docs/Guide.tex @ 1016

Last change on this file since 1016 was 992, checked in by MatthewWhiting, 12 years ago

Updating various appendices in the Guide, as well as the release date (still a bit nominal).

File size: 7.0 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[10pt,a4paper]{article}
30%\documentclass[12pt,a4paper]{report}
31
32%%%%%% LINE SPACING %%%%%%%%%%%%
33\usepackage{setspace}
34\singlespacing
35%\onehalfspacing
36%\doublespacing
37
38%Define a test for doing PDF format -- use different code below
39\newif\ifPDF
40\ifx\pdfoutput\undefined\PDFfalse
41\else\ifnum\pdfoutput > 0 \PDFtrue
42     \else\PDFfalse
43     \fi
44\fi
45
46%\textwidth=165 mm
47%\textheight=245 mm
48%\topmargin=0 mm
49%\oddsidemargin=0 mm
50%\parindent=6 mm
51
52\usepackage{amsmath}
53\usepackage{amsfonts}
54\usepackage{xspace}
55\usepackage[sort]{natbib}
56\bibpunct[,]{(}{)}{;}{a}{}{,}
57
58%\newcommand{\secA}{\chapter}
59%\newcommand{\secB}{\section}
60%\newcommand{\secC}{\subsection}
61
62\newcommand{\secA}{\section}
63\newcommand{\secB}{\subsection}
64\newcommand{\secC}{\subsubsection}
65
66\newcommand{\version}{1.2}
67
68\newcommand{\eg}{e.g.\ }
69\newcommand{\ie}{i.e.\ }
70\newcommand{\hi}{H\textsc{i}\xspace}
71\newcommand{\hipass}{\textsc{hipass}\xspace}
72\newcommand{\duchamp}{\emph{Duchamp}\xspace}
73\newcommand{\atrous}{\textit{{\`a} trous}\xspace}
74\newcommand{\Atrous}{\textit{{\`A} trous}\xspace}
75\newcommand{\diff}{{\rm d}}
76\newcommand{\entrylabel}[1]{\mbox{\texttt{#1:}}\hfil}
77\newenvironment{entry}
78        {\begin{list}{}%
79                {\renewcommand{\makelabel}{\entrylabel}%
80                        \setlength{\leftmargin}{33mm}%
81                        \setlength{\labelwidth}{33mm}%
82                        \setlength{\labelsep}{0pt}%
83                        \setlength{\itemsep}{3pt}%
84                        \setlength{\parsep}{2pt}%
85                }%
86        }%
87{\end{list}}
88
89%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
90
91\newlength{\MyLen}
92\newcommand{\Lentrylabel}[1]{%
93  \settowidth{\MyLen}{\texttt{#1:}}%
94%  \setlength{\labelwidth}{30mm}%
95  \ifthenelse{\lengthtest{\MyLen > \labelwidth}}%
96    {\parbox[b]{\labelwidth}% term > labelwidth
97      {\makebox[0pt][l]{\texttt{#1:}}\\}}%
98    {\texttt{#1:}}% term < labelwidth
99    \hfil\relax}
100
101\newenvironment{Lentry}%
102               {\renewcommand{\entrylabel}{\Lentrylabel}\begin{entry}
103                   \setlength{\itemsep}{3pt}%
104%                  \setlength{\leftmargin}{25mm}%
105%                  \setlength{\itemindent}{0mm}%
106%                  \setlength{\listparindent}{0mm}%
107                   \setlength{\labelsep}{0mm}%
108               }%
109               {\end{entry}%
110               }
111
112%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
113
114\newcommand{\Mentrylabel}[1]%
115           {\raisebox{0pt}[1ex][0pt]{\makebox[\labelwidth][l]%
116               {\parbox[t]{\labelwidth}{\hspace{0pt}\texttt{#1}}}}}
117\newenvironment{Mentry}
118               {\renewcommand{\entrylabel}{\Mentrylabel}\begin{entry}%
119                   \setlength{\labelwidth}{33mm}%
120                   \setlength{\leftmargin}{35mm}%
121               }%
122               {\end{entry}%
123               }
124%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
125
126
127%%%%%%% FANCY HEADINGS %%%%%%%%%%
128%\usepackage{fancyheadings}
129%\pagestyle{fancyplain}
130%\addtolength{\headheight}{1.6pt}
131%\addtolength{\headwidth}{\marginparsep}
132%\addtolength{\headwidth}{\marginparwidth}
133%\renewcommand{\secAmark}[1]
134%                {\markboth{#1}{}}
135%\renewcommand{\secBmark}[1]
136%                {\markright{\thesection\ #1}}
137%\lhead[\fancyplain{}{\bfseries\thepage}]
138%      {\fancyplain{}{\bfseries\rightmark}}
139%\rhead[\fancyplain{}{\bfseries\leftmark}]
140%      {\fancyplain{}{\bfseries\thepage}}
141%\cfoot{}
142
143% If we are creating a PDF, use different options for graphicx, hyperref.
144\ifPDF
145  \usepackage[pdftex]{graphicx,color}
146  \usepackage[pdftex,bookmarks]{hyperref}
147  \hypersetup{colorlinks=true,%             
148              citecolor=red,%
149              filecolor=red,%
150              linkcolor=red,%
151              urlcolor=red,%
152              }
153\else
154  \usepackage[dvips]{graphicx}
155  \usepackage[dvips]{hyperref}
156\fi
157
158\usepackage{lscape}
159\usepackage[dvips]{rotating}
160%\rotdriver{dvips}
161
162\pagestyle{headings}
163\begin{document}
164
165\ifPDF
166\pdfbookmark[2]{Title Page}{title}
167\fi
168\newlength{\centreoff}
169\setlength{\centreoff}{-0.5\oddsidemargin}
170\addtolength{\centreoff}{0.5\evensidemargin}
171\thispagestyle{empty}
172\vspace*{\stretch{1}}
173\noindent\hspace*{\centreoff}%
174\makebox[0pt][l]{\begin{minipage}{\textwidth}
175\flushright
176{\Huge\bfseries Source Detection with \duchamp\\[2ex]}
177{\huge\bfseries A User's Guide
178
179}
180\noindent\rule[-1ex]{\textwidth}{3pt}
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~\version\\
192July 31, 2012
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\newpage
217\input{hints} %Notes and hints on the use of \duchamp
218\newpage
219\input{future} %Future developments
220
221%\newpage
222%%\bibliographystyle{plainnat}
223%\bibliographystyle{mn2e}
224%\bibliography{mnemonic,MasterBibliography}
225%%\bibliography{Guide-new}
226
227\newpage
228\ifPDF
229\pdfbookmark[1]{References}{references}
230\fi
231\ifPDF
232\input{Guide-URL-bib}
233\else
234\input{Guide-noURL-bib}
235\fi
236
237\appendix
238\newpage
239\input{app-install} %Obtaining and installing \duchamp
240\newpage
241\input{app-param} %Available parameters
242\newpage
243\input{app-paramEx} %Example parameter files
244\newpage
245\input{app-resultsEx} %Example results files
246\newpage
247\input{app-VOTable} %Example VOTable output
248\newpage
249\input{app-Karma} %Example Karma annotation file output
250\newpage
251\input{app-stats} %Robust statistics for a Normal distribution
252\newpage
253\input{app-waveletNoise} %How Gaussian noise changes with wavelet scale
254
255
256\end{document}
Note: See TracBrowser for help on using the repository browser.