source: trunk/docs/Guide.tex @ 853

Last change on this file since 853 was 853, checked in by MatthewWhiting, 13 years ago

Updating version to 1.1.13. Other minor updates to README as well.

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
[703]40\else\ifnum\pdfoutput > 0 \PDFtrue
[18]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
[853]65\newcommand{\version}{1.1.13}
[158]66
[3]67\newcommand{\eg}{e.g.\ }
68\newcommand{\ie}{i.e.\ }
[258]69\newcommand{\hi}{H\textsc{i}\xspace}
70\newcommand{\hipass}{\textsc{hipass}\xspace}
71\newcommand{\duchamp}{\emph{Duchamp}\xspace}
72\newcommand{\atrous}{\textit{{\`a} trous}\xspace}
73\newcommand{\Atrous}{\textit{{\`A} trous}\xspace}
[3]74\newcommand{\diff}{{\rm d}}
[306]75\newcommand{\entrylabel}[1]{\mbox{\texttt{#1:}}\hfil}
[3]76\newenvironment{entry}
77        {\begin{list}{}%
78                {\renewcommand{\makelabel}{\entrylabel}%
[306]79                        \setlength{\leftmargin}{33mm}%
80                        \setlength{\labelwidth}{33mm}%
81                        \setlength{\labelsep}{0pt}%
82                        \setlength{\itemsep}{3pt}%
[3]83                        \setlength{\parsep}{2pt}%
84                }%
85        }%
86{\end{list}}
87
[306]88%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
89
90\newlength{\MyLen}
91\newcommand{\Lentrylabel}[1]{%
92  \settowidth{\MyLen}{\texttt{#1:}}%
93%  \setlength{\labelwidth}{30mm}%
94  \ifthenelse{\lengthtest{\MyLen > \labelwidth}}%
95    {\parbox[b]{\labelwidth}% term > labelwidth
96      {\makebox[0pt][l]{\texttt{#1:}}\\}}%
97    {\texttt{#1:}}% term < labelwidth
98    \hfil\relax}
99
100\newenvironment{Lentry}%
101               {\renewcommand{\entrylabel}{\Lentrylabel}\begin{entry}
[330]102                   \setlength{\itemsep}{3pt}%
[306]103%                  \setlength{\leftmargin}{25mm}%
104%                  \setlength{\itemindent}{0mm}%
105%                  \setlength{\listparindent}{0mm}%
[330]106                   \setlength{\labelsep}{0mm}%
[306]107               }%
108               {\end{entry}%
109               }
110
111%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
112
113\newcommand{\Mentrylabel}[1]%
114           {\raisebox{0pt}[1ex][0pt]{\makebox[\labelwidth][l]%
115               {\parbox[t]{\labelwidth}{\hspace{0pt}\texttt{#1}}}}}
116\newenvironment{Mentry}
117               {\renewcommand{\entrylabel}{\Mentrylabel}\begin{entry}%
118                   \setlength{\labelwidth}{33mm}%
119                   \setlength{\leftmargin}{35mm}%
120               }%
121               {\end{entry}%
122               }
123%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
124
125
[158]126%%%%%%% FANCY HEADINGS %%%%%%%%%%
127%\usepackage{fancyheadings}
128%\pagestyle{fancyplain}
129%\addtolength{\headheight}{1.6pt}
130%\addtolength{\headwidth}{\marginparsep}
131%\addtolength{\headwidth}{\marginparwidth}
132%\renewcommand{\secAmark}[1]
133%                {\markboth{#1}{}}
134%\renewcommand{\secBmark}[1]
135%                {\markright{\thesection\ #1}}
136%\lhead[\fancyplain{}{\bfseries\thepage}]
137%      {\fancyplain{}{\bfseries\rightmark}}
138%\rhead[\fancyplain{}{\bfseries\leftmark}]
139%      {\fancyplain{}{\bfseries\thepage}}
140%\cfoot{}
[18]141
142% If we are creating a PDF, use different options for graphicx, hyperref.
143\ifPDF
144  \usepackage[pdftex]{graphicx,color}
[158]145  \usepackage[pdftex,bookmarks]{hyperref}
[18]146  \hypersetup{colorlinks=true,%             
[80]147              citecolor=red,%
148              filecolor=red,%
149              linkcolor=red,%
150              urlcolor=red,%
151              }
[18]152\else
153  \usepackage[dvips]{graphicx}
154  \usepackage[dvips]{hyperref}
155\fi
156
[231]157\usepackage{lscape}
158\usepackage[dvips]{rotating}
159%\rotdriver{dvips}
160
[80]161\pagestyle{headings}
[3]162\begin{document}
163
[158]164\ifPDF
[162]165\pdfbookmark[2]{Title Page}{title}
[158]166\fi
167\newlength{\centreoff}
168\setlength{\centreoff}{-0.5\oddsidemargin}
169\addtolength{\centreoff}{0.5\evensidemargin}
[80]170\thispagestyle{empty}
[158]171\vspace*{\stretch{1}}
172\noindent\hspace*{\centreoff}%
173\makebox[0pt][l]{\begin{minipage}{\textwidth}
174\flushright
[231]175{\Huge\bfseries Source Detection with \duchamp\\[2ex]}
176{\huge\bfseries A User's Guide
[158]177
178}
179\noindent\rule[-1ex]{\textwidth}{3pt}
180\end{minipage}}
181
182\vspace{\stretch{1}}
183\noindent\hspace*{\centreoff}%
184\makebox[0pt][l]{\begin{minipage}{\textwidth}
185\flushright
186{\bfseries
187Matthew Whiting\\
188Australia Telescope National Facility\\
189CSIRO\\[3ex]}
[364]190Duchamp version~\version\\
[853]191April 10, 2011
[158]192\end{minipage}}
193
[80]194\begin{figure}[!h]
[162]195%\begin{center}
[80]196\includegraphics[width=\textwidth]{cover_image}
[162]197%\end{center}
[80]198\end{figure}
199
[158]200%\newpage
[162]201\ifPDF
202\pdfbookmark[2]{Contents}{contents}
203\fi
[3]204\tableofcontents
205
[208]206\newpage
[158]207\input{intro} %Introduction and getting going quickly
[3]208\newpage
[158]209\input{userInputs} %User Inputs
[3]210\newpage
[258]211\input{executionFlow} %What \duchamp is doing
[110]212\newpage
[158]213\input{outputs} %Outputs
[3]214\newpage
[447]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.