]> Creatis software - bbtkGEditor.git/blob - doc/config.tex
Feature #1771 Add licence terms for all files.
[bbtkGEditor.git] / doc / config.tex
1 % ---------------------------------------------------------------------
2 %
3 % Copyright (c) CREATIS (Centre de Recherche en Acquisition et Traitement de l'Image 
4 %                        pour la Santé)
5 % Authors : Eduardo Davila, Frederic Cervenansky, Claire Mouton
6 % Previous Authors : Laurent Guigues, Jean-Pierre Roux
7 % CreaTools website : www.creatis.insa-lyon.fr/site/fr/creatools_accueil
8 %
9 %  This software is governed by the CeCILL-B license under French law and 
10 %  abiding by the rules of distribution of free software. You can  use, 
11 %  modify and/ or redistribute the software under the terms of the CeCILL-B 
12 %  license as circulated by CEA, CNRS and INRIA at the following URL 
13 %  http://www.cecill.info/licences/Licence_CeCILL-B_V1-en.html 
14 %  or in the file LICENSE.txt.
15 %
16 %  As a counterpart to the access to the source code and  rights to copy,
17 %  modify and redistribute granted by the license, users are provided only
18 %  with a limited warranty  and the software's author,  the holder of the
19 %  economic rights,  and the successive licensors  have only  limited
20 %  liability. 
21 %
22 %  The fact that you are presently reading this means that you have had
23 %  knowledge of the CeCILL-B license and that you accept its terms.
24 % ------------------------------------------------------------------------                                                                          
25
26
27 % ==========================================
28 \newif\ifpdf 
29 \ifx\pdfoutput\undefined \pdffalse % we are not running PDFLaTeX 
30 \else 
31 \pdfoutput=1 \pdftrue % we are running PDFLaTeX 
32 \fi
33 % ==========================================
34 \usepackage[a4paper,textwidth=14cm]{geometry}
35 \usepackage[latin1]{inputenc}
36 \usepackage{varioref}
37 \usepackage{url}
38 \usepackage{multicol}
39 \usepackage{colortbl}
40 %\usepackage[active]{srcltx}
41 \usepackage{color}
42 \usepackage[english]{babel}
43 %\usepackage{picins}
44 %\usepackage{fancyhdr}
45 %\usepackage{picins}
46 \usepackage{xspace}
47 % ==========================================
48 %%% Math
49 \usepackage{amsmath,amsfonts,amssymb}
50 \usepackage{bm}
51 \usepackage{theorem}
52 \usepackage{stmaryrd}
53
54 % ==========================================
55 %%% Graphics
56 \usepackage{graphics}
57 \ifpdf
58 \usepackage[pdftex]{graphicx} 
59 \else
60 \usepackage[ps2pdf]{graphicx} 
61 \fi
62 \graphicspath{{figs/}}
63
64 % ==========================================
65 % bib
66 \usepackage{natbib}
67 %\bibliographystyle{abbrvnat}
68 \bibliographystyle{plainnat}
69
70 %\bibliographystyle{plain}
71
72 % http://merkel.zoneo.net/Latex/natbib.php?lang=fr
73
74 % ==========================================
75 %% PDF configuration 
76 % http://www.p-joeckel.de/pdflatex/)
77 % http://ringlord.com/publications/latex-pdf-howto/
78
79 %%%% Options of pdflatex
80 \ifpdf
81 \DeclareGraphicsExtensions{.pdf,.jpg,.mps,.png,.eps}
82 \usepackage[pdftex,                %
83     bookmarks         = true,%     % Signets
84     bookmarksnumbered = true,%     % Signets numérotés
85     pdfpagemode       = None,%     % Signets/vignettes fermé à l'ouverture
86     pdfstartview      = FitH,%     % La page prend toute la largeur
87     pdfpagelayout     = SinglePage,% Vue par page
88     colorlinks        = true,%     % Liens en couleur
89     urlcolor          = magenta,%  % Couleur des liens externes
90     pdfborder         = {0 0 0}%   % Style de bordure : ici, pas de bordure
91     ]{hyperref}%                   % Utilisation de HyperTeX
92 %\usepackage[pdftex,bookmarks,pagebackref]{hyperref}
93 \pdfadjustspacing=1
94
95 %%%% Options for latex + dvips -Ppdf + ps2pdf
96 \else
97 \DeclareGraphicsExtensions{.eps,.ps}
98 \usepackage[ps2pdf,bookmarks,pagebackref]{hyperref}
99 \fi
100
101 %%%% Commun options
102 \hypersetup{
103   linktocpage,%
104   %%------------- Color Links ------------------------------ 
105   colorlinks=true,% 
106   linkcolor=myred,%
107   citecolor=mydarkblue,% 
108   urlcolor=myblue,%
109   menucolor=red,%
110   %%------------- Doc Info --------------------------------- 
111   pdftitle={The Black Box Toolkit},%
112   pdfauthor={},%
113   %%------------ Doc View ----------------------------------}
114   pdfhighlight=/P,%
115   bookmarksopen=false,%
116   plainpages=false,
117   pdfpagemode=None}
118
119 \hyperbaseurl{http://www.creatis.insa-lyon.fr/creatools/}
120
121 \definecolor{myblue}{rgb}{0,0,0.7}
122 \definecolor{myred}{rgb}{0.7,0,0}
123 \definecolor{mygreen}{rgb}{0,0.7,0}
124 \definecolor{mydarkblue}{rgb}{0,0,0.5} 
125
126 % ==========================================
127 \def\UserProyectVersion{@PROJECT_VERSION@}
128 \def\UserProyectVersionDate{@PROJECT_VERSION_DATE@}
129 \def\todo{\scriptsize\fbox{\bf TODO !!}\normalsize}
130 \def\x{\bm{x}}
131 \def\UserProyect{{\xspace}$\texttt{@PROYECT_NAME@}$ }
132
133 \def\bb{{\xspace}$\texttt{bb}$ }
134 %\def\bbp{{\xspace}$\texttt{bbp}$\xspace}
135
136 \def\cmake{{\xspace}$\texttt{cmake}$ }
137
138 \def\C{{\xspace}$\texttt{C}$ }
139 \def\CPP{{\xspace}$\texttt{C++}$ }
140
141 \def\xml{{\xspace}$\texttt{xml}$ }
142
143
144 \def\lin{{\xspace}\textit{Linux} }
145 \def\win{{\xspace}\textit{Windows} }
146
147
148 \def\UserDocumentGuide [#1]{
149 \begin{center}
150 {\Large \UserProyect}
151 \vspace{1cm}
152
153 {\Huge #1}
154 \vspace{1cm}
155
156 \UserProyect version \UserProyectVersion \hspace{2mm}(\UserProyectVersionDate)
157 \vspace{0.5cm}
158
159 Generated on : \today 
160 \vspace{0.5cm}
161
162 Eduardo D\'avila, Jean-Pierre Roux, Juan Carlos Prieto
163 \vspace{0.3cm}
164
165 CREATIS, Centre de Recherche en Imagerie M\'edicale \\ 
166 CNRS UMR 5220, INSERM U620, INSA Lyon, Universit\'e Claude-Bernard Lyon 1
167
168 \end{center}
169 \tableofcontents
170 \listoftables
171 \listoffigures
172 }
173
174 % ==========================================
175 %%% mode: latex
176 %%% TeX-master: "UserProyectUsersGuide"
177 %%% End: 
178
179 \newcounter{Ctrfile}
180 %% env
181 \newenvironment{file}[1]
182 {
183 \bigskip\hrule\smallskip
184 \stepcounter{Ctrfile}
185 \textbf{File #1}
186 %\hspace{0.2cm}\arabic{Ctrfile}\hfill \textbf{#1}
187 \smallskip\hrule\medskip
188 %\algocaption{#1}
189 }
190 {
191 \hrule\smallskip
192 \hfill\textbf{End of file}
193 \smallskip\hrule
194 \bigskip
195 }