resetting manifest requested domain to floor
[platform/upstream/libbullet.git] / docs / BulletQuickstart.tex
1
2 % Bullet Physics manual
3 % http://bulletphysics.org
4 % Written by Erwin Coumans
5
6 % Preamble (global definitions of the book/manual)
7 % Use openany option for documentclass to avoid empty page after TOC
8
9 %\documentclass[openany]{book}
10 %scrbook is easier on the eyes, and use a bigger font
11 \documentclass[openany,DIV=calc,16pt]{scrbook}
12
13 % The english package can help breaking words
14 \usepackage[english]{babel}
15
16 %The Charter or Utopia font is easier on the eyes for screen
17 \renewcommand{\familydefault}{bch}%Charter font
18 %\renewcommand{\familydefault}{put} %Utopia font
19
20
21 % Titlepic allows us to use a picture on the frontpage
22 \usepackage{titlepic}
23 \usepackage{graphicx}
24
25 \usepackage[a4paper, left=2cm, right=1cm,  top=2cm, bottom=3.5cm]{geometry}
26 \usepackage[latin1]{inputenc}
27
28 % If using \doublespacing include the setspace package
29 % \usepackage{setspace}
30 \usepackage{fancyhdr}
31 \usepackage{tocloft}
32
33
34 % The hyperref package already include package url
35 \usepackage[colorlinks=true]{hyperref}
36 % \setcounter{secnumdepth}{4}
37 \usepackage{makeidx}\makeindex
38
39 %support for C++ source code snippets
40 %you can even import existing C++ code as-is
41 %or a range of lines within markers beween rangeprefix/rangesuffix
42 \usepackage{listings}
43 \usepackage{color}
44 \renewcommand{\lstlistingname}{Source Code}
45 \renewcommand{\lstlistlistingname}{Source Code Listings}
46 \lstset{
47         tabsize=2,      language=C++, keywordstyle=\color[rgb]{0,0,1},
48          commentstyle=\color[rgb]{0.133,0.545,0.133},
49      stringstyle=\color[rgb]{0.627,0.126,0.941},
50       breaklines=true,
51      numberstyle=\tiny,
52         basicstyle=\ttfamily\tiny,
53         rangeprefix=///-----,   rangesuffix=-----,
54         includerangemarker=false,
55         numbers=left,   stepnumber=1,
56         frame=single,
57 }
58
59
60 % Set the tolerance so TeX really breaks the line
61 % and don't run into the right margin (avoid overfull boxes)
62 \tolerance=10000
63
64 %end of preamble
65
66 \begin{document}
67
68 %       \pagestyle{fancy}
69
70 %\pagenumbering{}
71 %
72         \title{\textbf{Bullet 2.81 Quickstart Guide}}
73         \titlepic{\includegraphics[width=0.7\textwidth]{bullet_logo_2010_9.eps}}
74 %
75         \author{Erwin Coumans}
76         \maketitle
77
78
79         \renewcommand{\cftchapdotsep}{\cftdotsep}
80         \tableofcontents
81         
82         
83         \pagenumbering{arabic}
84
85 %       \fancyhf{}
86 %       \doublespacing
87
88 % include all the chapters as separate tex files
89 % on Mac OSX it is really nice to use the Texpad application for automatic navigation
90
91         \include{intro}
92         \include{building}
93         \include{helloworld}
94         \include{faq}
95         
96         \clearpage
97         \addcontentsline{toc}{chapter}{Source code listings}
98         \lstlistoflistings
99
100         \clearpage
101         \addcontentsline{toc}{chapter}{Index}
102         \printindex
103
104         
105 \end{document}
106