Update to 2.0.0 tree from current Fremantle build
[opencv] / doc / opencv.tex
1 \documentclass[11pt]{book}
2
3 \usepackage{cite} 
4 \usepackage[pdftex]{graphicx}
5 \usepackage{titlesec}
6 \usepackage{listings}
7 \usepackage{fancyvrb}
8 \usepackage[svgnames]{xcolor}
9 \usepackage{framed}
10 \usepackage{amsmath}
11 \usepackage{amssymb}
12 \usepackage{bbm}
13 \usepackage{hyperref}
14 \usepackage{makeidx}
15 \usepackage{color}
16
17 \definecolor{shadecolor}{gray}{0.95}  % Background color of title bars
18 \lstset{
19 language=C,
20 basicstyle=\small\ttfamily,
21 backgroundcolor=\color{shadecolor}
22 }
23
24 \definecolor{cvlinkcolor}{rgb}{0.0 0.3 0.8}
25
26 % taken from http://en.wikibooks.org/wiki/LaTeX/Hyperlinks
27 \hypersetup{
28     bookmarks=true,         % show bookmarks bar?
29     unicode=false,          % non-Latin characters in Acrobat’s bookmarks
30     %pdftoolbar=true,        % show Acrobat’s toolbar?
31     %pdfmenubar=true,        % show Acrobat’s menu?
32     %pdffitwindow=false,     % window fit to page when opened
33     %pdfstartview={FitH},    % fits the width of the page to the window
34     %pdftitle={My title},    % title
35     %pdfauthor={Author},     % author
36     %pdfsubject={Subject},   % subject of the document
37     %pdfcreator={Creator},   % creator of the document
38     %pdfproducer={Producer}, % producer of the document
39     %pdfkeywords={keywords}, % list of keywords
40     %pdfnewwindow=true,      % links in new window
41     colorlinks=true,       % false: boxed links; true: colored links
42     linkcolor=cvlinkcolor,  % color of internal links
43     citecolor=cvlinkcolor,        % color of links to bibliography
44     filecolor=magenta,      % color of file links
45     urlcolor=cyan           % color of external links
46 }
47
48 \makeindex
49
50 \newcommand{\piRsquare}{\pi r^2}                % This is my own macro !!!
51
52 \usepackage{helvetica}
53 \usepackage{ifthen}
54 \usepackage{alltt}
55 \usepackage{opencv}
56
57 %%% Margins %%%
58 \oddsidemargin 0.0in
59 \evensidemargin 0.0in
60 \textwidth 6.5in
61 %\headheight 1.0in
62 %\topmargin 0.5in
63 %\textheight 9.0in
64 %\footheight 1.0in 
65 %%%%%%%%%%%%%%%
66
67 \title{OpenCV Documentation}                    % used by \maketitle
68 \author{Authors}                % used by \maketitle
69 \date{May 7, 2009}                                      % used by \maketitle
70
71 \begin{document}
72 \maketitle                                              % automatic title!
73
74 \setcounter{tocdepth}{8}
75 \tableofcontents
76
77 \titleformat{\subsubsection}
78 {\titlerule
79 \vspace{.8ex}%
80 \normalfont\bfseries\Large}
81 {\thesection.}{.5em}{}
82
83 %%% Define these to get rid of warnings
84 \def\genc{true}
85 \def\genpy{true}
86 \def\targetlang{c}
87
88 \newif\ifC
89 \newif\ifPython
90 \ifthenelse{\equal{\targetlang}{c}}{\Ctrue}{\Pythontrue}
91
92 %%% Chapters %%%
93 \include{CxCore}
94 \include{CvReference}
95 \include{CvAux}
96 \include{HighGui}
97 \include{MachineLearning}
98 \include{CxCore-cpp}
99 \include{Cv-cpp}
100 \include{CvAux-cpp}
101 \include{HighGui-cpp}
102 %\include{FAQ}
103 %%%%%%%%%%%%%%%%
104
105 \addcontentsline{toc}{chapter}{Bibliography}
106 \bibliographystyle{plain}
107 {\small
108 \bibliography{opencv}
109 }
110
111 \addcontentsline{toc}{chapter}{Index}
112 \printindex
113
114 \end{document}             % End of document.