]> AND Private Git Repository - book_gpu.git/blob - BookGPU/BookGPU.tex
Logo AND Algorithmique Numérique Distribuée

Private GIT Repository
fab2a67befe268b85bac975761b1bb7872004c6a
[book_gpu.git] / BookGPU / BookGPU.tex
1 \documentclass[sunil1,ChapterTOCs]{sunil}
2 \usepackage[utf8]{inputenc}
3 \usepackage{amssymb}
4 \usepackage{amsfonts,amssymb}
5 \usepackage{amsmath}
6 \usepackage{amscd}
7 \usepackage{graphicx}
8 \usepackage{subfigure}
9 \usepackage{makeidx}
10 \usepackage{listings}
11 \usepackage{caption}
12 \usepackage{courier}
13 \usepackage{color}
14 \usepackage[sectionbib]{bibunits}
15 \usepackage{multicol}
16 \usepackage{cite}
17 %\usepackage{algorithm}
18 %\usepackage{algorithmic}
19 \usepackage[ruled,lined,linesnumbered]{algorithm2e}
20 \usepackage{epstopdf}
21 \usepackage{url}
22 \usepackage{multirow}
23 \usepackage{layouts}
24 \usepackage{comment}
25 \usepackage{xcolor}
26 \usepackage{upquote}
27 \usepackage{framed}
28 \usepackage{pgfplots}
29 \usepackage{pgf}
30 \usepackage{tikz}
31 \usepackage{url}
32 \usepackage{dsfont}
33 \usepackage{commath}
34 \usepackage{stmaryrd}
35 \usepackage{moreverb}
36 \usepackage{commath}
37 %% \usepackage{listings}
38 %% \usepackage{subfigure}
39
40 %% \usepackage{graphicx}
41
42 \frenchspacing
43 \tolerance=5000
44
45 \include{Chapters/chapter1/preamble}
46 \include{Chapters/chapter5/preamble}
47
48
49
50 \makeatletter
51
52
53 \makeatother
54
55 \newtheorem{proposition}{Proposition}
56 \newtheorem{theorem}{Theorem}
57 \newtheorem{exercise}{Exercise}[chapter]
58 \newtheorem{example}{Example}
59 \newtheorem{definition}{Definition}
60 \newtheorem{proof}{Proof}
61
62 \newcommand{\mymat}[1]{\mathcal{#1}}
63 \newcommand{\myvec}[1]{\mathbf{#1}} 
64
65
66  \lstset{
67          basicstyle=\footnotesize\ttfamily, % Standardschrift
68          %numbers=left,               % Ort der Zeilennummern
69          numberstyle=\tiny,          % Stil der Zeilennummern
70          %stepnumber=2,               % Abstand zwischen den Zeilennummern
71          numbersep=5pt,              % Abstand der Nummern zum Text
72          tabsize=2,                  % Groesse von Tabs
73          extendedchars=true,         %
74          breaklines=true,            % Zeilen werden Umgebrochen
75          keywordstyle=\color{red},
76                 frame=b,         
77  %        keywordstyle=[1]\textbf,    % Stil der Keywords
78  %        keywordstyle=[2]\textbf,    %
79  %        keywordstyle=[3]\textbf,    %
80  %        keywordstyle=[4]\textbf,   \sqrt{\sqrt{}} %
81          stringstyle=\color{white}\ttfamily, % Farbe der String
82          showspaces=false,           % Leerzeichen anzeigen ?
83          showtabs=false,             % Tabs anzeigen ?
84          xleftmargin=17pt,
85          framexleftmargin=17pt,
86          framexrightmargin=5pt,
87          framexbottommargin=4pt,
88          %backgroundcolor=\color{lightgray},
89          showstringspaces=false      % Leerzeichen in Strings anzeigen ?        
90  }
91  \lstloadlanguages{% Check Dokumentation for further languages ...
92          %[Visual]Basic
93          %Pascal
94          C
95          %C++
96          %XML
97          %HTML
98          %Java
99  }
100   %\DeclareCaptionFont{blue}{\color{blue}} 
101
102   %\captionsetup[lstlisting]{singlelinecheck=false, labelfont={blue}, textfont={blue}}
103 \DeclareCaptionFont{white}{\color{white}}
104 \DeclareCaptionFormat{listing}{\colorbox[cmyk]{0.43, 0.35, 0.35,0.01}{\parbox{\textwidth}{\hspace{15pt}#1#2#3}}}
105 \captionsetup[lstlisting]{format=listing,labelfont=white,textfont=white, singlelinecheck=false, margin=0pt, font={bf,footnotesize}}
106
107
108 \DeclareGraphicsRule{.pdftex}{pdf}{*}{}
109
110 \DeclareGraphicsRule{.pstex}{eps}{*}{}
111
112
113
114 \makeindex
115
116 \begin{document}
117
118
119 %%bibliography style to adopt
120 \bibliographyunit[\chapter]
121 \defaultbibliographystyle{plain}
122
123
124
125 \title{Designing Scientific Applications on GPUs }
126
127 \author{Raphaël Couturier}
128
129 \maketitle
130
131 \frontmatter
132 \include{frontmatter/Foreword}
133 \include{frontmatter/preface}
134
135 \listoffigures
136 \listoftables
137 \tableofcontents
138
139 \mainmatter
140
141 \include{Chapters/symbollist}
142
143 \setcounter{page}{1}
144 \part{This is a Part}
145 %% \include{Chapters/chapter1/ch1}
146 %% \include{Chapters/chapter2/ch2}
147 %% \include{Chapters/chapter3/ch3}
148 %% \include{Chapters/chapter5/ch5}
149 %% \include{Chapters/chapter6/ch6}
150 %% \include{Chapters/chapter7/ch7}
151 %% \include{Chapters/chapter8/ch8}
152 %% \include{Chapters/chapter9/ch9}
153 %% \include{Chapters/chapter11/ch11}
154 %% \include{Chapters/chapter14/ch14}
155 %% \include{Chapters/chapter15/ch15}
156  \include{Chapters/chapter16/ch16}
157 %% \include{Chapters/chapter18/ch18}
158
159 \bibliographystyle{hep}
160 %%%\bibliography{biblio}
161
162 \clearpage
163 \printindex
164
165 \end{document}