]> Creatis software - creaRigidRegistration.git/blob - doc/config.tex
*** empty log message ***
[creaRigidRegistration.git] / doc / config.tex
1 % ==========================================
2 \newif\ifpdf 
3 \ifx\pdfoutput\undefined \pdffalse % we are not running PDFLaTeX 
4 \else 
5 \pdfoutput=1 \pdftrue % we are running PDFLaTeX 
6 \fi
7 % ==========================================
8 \usepackage[a4paper,textwidth=14cm]{geometry}
9 \usepackage[latin1]{inputenc}
10 \usepackage{varioref}
11 \usepackage{url}
12 \usepackage{multicol}
13 \usepackage{colortbl}
14 %\usepackage[active]{srcltx}
15 \usepackage{color}
16 \usepackage[english]{babel}
17 %\usepackage{picins}
18 %\usepackage{fancyhdr}
19 %\usepackage{picins}
20 \usepackage{xspace}
21 % ==========================================
22 %%% Math
23 \usepackage{amsmath,amsfonts,amssymb}
24 \usepackage{bm}
25 \usepackage{theorem}
26 \usepackage{stmaryrd}
27
28 % ==========================================
29 %%% Graphics
30 \usepackage{graphics}
31 \ifpdf
32 \usepackage[pdftex]{graphicx} 
33 \else
34 \usepackage[ps2pdf]{graphicx} 
35 \fi
36 \graphicspath{{figs/}}
37
38 % ==========================================
39 % bib
40 \usepackage{natbib}
41 %\bibliographystyle{abbrvnat}
42 \bibliographystyle{plainnat}
43
44 %\bibliographystyle{plain}
45
46 % http://merkel.zoneo.net/Latex/natbib.php?lang=fr
47
48 % ==========================================
49 %% PDF configuration 
50 % http://www.p-joeckel.de/pdflatex/)
51 % http://ringlord.com/publications/latex-pdf-howto/
52
53 %%%% Options of pdflatex
54 \ifpdf
55 \DeclareGraphicsExtensions{.pdf,.jpg,.mps,.png,.eps}
56 \usepackage[pdftex,                %
57     bookmarks         = true,%     % Signets
58     bookmarksnumbered = true,%     % Signets numérotés
59     pdfpagemode       = None,%     % Signets/vignettes fermé à l'ouverture
60     pdfstartview      = FitH,%     % La page prend toute la largeur
61     pdfpagelayout     = SinglePage,% Vue par page
62     colorlinks        = true,%     % Liens en couleur
63     urlcolor          = magenta,%  % Couleur des liens externes
64     pdfborder         = {0 0 0}%   % Style de bordure : ici, pas de bordure
65     ]{hyperref}%                   % Utilisation de HyperTeX
66 %\usepackage[pdftex,bookmarks,pagebackref]{hyperref}
67 \pdfadjustspacing=1
68
69 %%%% Options for latex + dvips -Ppdf + ps2pdf
70 \else
71 \DeclareGraphicsExtensions{.eps,.ps}
72 \usepackage[ps2pdf,bookmarks,pagebackref]{hyperref}
73 \fi
74
75 %%%% Commun options
76 \hypersetup{
77   linktocpage,%
78   %%------------- Color Links ------------------------------ 
79   colorlinks=true,% 
80   linkcolor=myred,%
81   citecolor=mydarkblue,% 
82   urlcolor=myblue,%
83   menucolor=red,%
84   %%------------- Doc Info --------------------------------- 
85   pdftitle={The Black Box Toolkit},%
86   pdfauthor={},%
87   %%------------ Doc View ----------------------------------}
88   pdfhighlight=/P,%
89   bookmarksopen=false,%
90   plainpages=false,
91   pdfpagemode=None}
92
93 \hyperbaseurl{http://www.creatis.insa-lyon.fr/creatools/bbtk}
94
95 \definecolor{myblue}{rgb}{0,0,0.7}
96 \definecolor{myred}{rgb}{0.7,0,0}
97 \definecolor{mygreen}{rgb}{0,0.7,0}
98 \definecolor{mydarkblue}{rgb}{0,0,0.5} 
99
100 % ==========================================
101 \def\bbtkVersion{@BBTK_VERSION@}
102 \def\bbtkVersionDate{@BBTK_VERSION_DATE@}
103 \def\todo{\scriptsize\fbox{\bf TODO !!}\normalsize}
104 \def\x{\bm{x}}
105 \def\BBTK{{\xspace}The {\bf Black Box Toolkit} }
106 \def\bbtk{{\xspace}$\texttt{bbtk}$ }
107 \def\bbi{{\xspace}$\texttt{bbi}$ }
108 \def\bbStudio{{\xspace}$\texttt{bbStudio}$ }
109 \def\bbfy{{\xspace}$\texttt{bbfy}$ }
110 \def\bbdoc{{\xspace}$\texttt{bbdoc}$ }
111 \def\bbCreatePackage{{\xspace}$\texttt{bbCreatePackage}$ }
112 \def\bbPackageBrowser{{\xspace}$\texttt{bbPackageBrowser}$ }
113 \def\bbCreateBlackBox{{\xspace}$\texttt{bbCreateBlackBox}$ }
114 \def\bbs{{\xspace}$\texttt{bbs}$ }
115 \def\bbc{{\xspace}$\texttt{bbc}$ }
116 \def\bbRegeneratePackageDoc{{\xspace}$\texttt{bbRegeneratePackageDoc}$ }
117 \def\bbRegenerateBoxesLists{{\xspace}$\texttt{bbRegenerateBoxesLists}$ }
118 \def\bbPlugPackage{{\xspace}$\texttt{bbPlugPackage}$ }
119
120 \def\bb{{\xspace}$\texttt{bb}$ }
121 %\def\bbp{{\xspace}$\texttt{bbp}$\xspace}
122
123 \def\cmake{{\xspace}$\texttt{cmake}$ }
124
125 \def\C{{\xspace}$\texttt{C}$ }
126 \def\CPP{{\xspace}$\texttt{C++}$ }
127
128 \def\xml{{\xspace}$\texttt{xml}$ }
129
130 \def\itk{{\xspace}$\texttt{itk}$ }
131 \def\vtk{{\xspace}$\texttt{vtk}$ }
132 \def\gdcm{{\xspace}$\texttt{gdcm}$ }
133 \def\gsmis{{\xspace}$\texttt{gsmis}$ }
134 \def\wx{{\xspace}$\texttt{wxWidgets}$ }
135
136 \def\lin{{\xspace}\textit{Linux} }
137 \def\win{{\xspace}\textit{Windows} }
138
139 % the same macros with no space at the end
140
141 \def\BBTKns{{\xspace}The {\bf Black Box Toolkit}}
142 \def\bbtkns{{\xspace}$\texttt{bbtk}$}
143 \def\bbins{{\xspace}$\texttt{bbi}$}
144 \def\bbfyns{{\xspace}$\texttt{bbfy}$}
145 \def\bbdocns{{\xspace}$\texttt{bbdoc}$}
146 \def\bbStudions{{\xspace}$\texttt{bbStudio}$}
147 \def\bbCreatePackagens{{\xspace}$\texttt{bbCreatePackage}$}
148 \def\bbPackageBrowserns{{\xspace}$\texttt{bbPackageBrowser}$}
149 \def\bbCreateBlackBoxns{{\xspace}$\texttt{bbCreateBlackBox}$}
150 \def\bbsns{{\xspace}$\texttt{bbs}$}
151 \def\bbns{{\xspace}$\texttt{bb}$}
152 \def\bbcns{{\xspace}$\texttt{bbc}$}
153 %\def\bbp{{\xspace}$\texttt{bbp}$\xspace}
154 \def\bbRegeneratePackageDocns{{\xspace}$\texttt{bbRegeneratePackageDoc}$}
155 \def\bbRegenerateBoxesListsns{{\xspace}$\texttt{bbRegenerateBoxesLists}$}
156 \def\bbPlugPackagens{{\xspace}$\texttt{bbPlugPackage}$}
157
158
159 \def\cmakens{{\xspace}$\texttt{cmake}$}
160
161 \def\Cns{{\xspace}$\texttt{C}$}
162 \def\CPPns{{\xspace}$\texttt{C++}$}
163
164 \def\xmlns{{\xspace}$\texttt{xml}$}
165
166 \def\itkns{{\xspace}$\texttt{itk}$}
167 \def\vtkns{{\xspace}$\texttt{vtk}$}
168 \def\gdcmns{{\xspace}$\texttt{gdcm}$}
169 \def\gsmisns{{\xspace}$\texttt{gsmis}$}
170 \def\wxns{{\xspace}$\texttt{wxWidgets}$}
171
172 \def\linns{{\xspace}\textit{Linux}}
173 \def\winns{{\xspace}\textit{Windows}}
174
175
176 \def\bbtkGuide [#1]{
177 \begin{center}
178 {\Large \BBTK}
179 \vspace{1cm}
180
181 {\Huge #1}
182 \vspace{1cm}
183
184 \bbtk version \bbtkVersion \hspace{2mm}(\bbtkVersionDate)
185 \vspace{0.5cm}
186
187 Generated on : \today 
188 \vspace{0.5cm}
189
190 Eduardo D\'avila, Laurent Guigues, Jean-Pierre Roux
191 \vspace{0.3cm}
192
193 CREATIS-LRMN, Centre de Recherche en Imagerie M\'edicale \\ 
194 CNRS UMR 5220, INSERM U620, INSA Lyon, Universit\'e Claude-Bernard Lyon 1
195
196 http://www.creatis.insa-lyon.fr/creatools/bbtk 
197 \end{center}
198 \tableofcontents
199 \listoftables
200 \listoffigures
201 }
202
203 % ==========================================
204 %%% mode: latex
205 %%% TeX-master: "bbtkUsersGuide"
206 %%% End: 
207
208 \newcounter{Ctrfile}
209 %% env
210 \newenvironment{file}[1]
211 {
212 \bigskip\hrule\smallskip
213 \stepcounter{Ctrfile}
214 \textbf{File #1}
215 %\hspace{0.2cm}\arabic{Ctrfile}\hfill \textbf{#1}
216 \smallskip\hrule\medskip
217 %\algocaption{#1}
218 }
219 {
220 \hrule\smallskip
221 \hfill\textbf{End of file}
222 \smallskip\hrule
223 \bigskip
224 }