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

Private GIT Repository
f4f8323cf493492593b7f3b7d11c3eccbe1dfa83
[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
109
110 \makeindex
111
112 \begin{document}
113
114
115 %%bibliography style to adopt
116 \bibliographyunit[\chapter]
117 \defaultbibliographystyle{plain}
118
119
120
121 \title{Designing Scientific Applications on GPUs }
122
123 \author{Raphaël Couturier}
124
125 \maketitle
126
127 \frontmatter
128 \include{frontmatter/Foreword}
129 \include{frontmatter/preface}
130
131 \listoffigures
132 \listoftables
133 \tableofcontents
134
135 \mainmatter
136
137 \include{Chapters/symbollist}
138
139 \setcounter{page}{1}
140 \part{This is a Part}
141 \include{Chapters/chapter1/ch1}
142 \include{Chapters/chapter2/ch2}
143 \include{Chapters/chapter3/ch3}
144 \include{Chapters/chapter5/ch5}
145 \include{Chapters/chapter6/ch6}
146 \include{Chapters/chapter7/ch7}
147 \include{Chapters/chapter8/ch8}
148 \include{Chapters/chapter9/ch9}
149 \include{Chapters/chapter11/ch11}
150 \include{Chapters/chapter12/ch12}
151 \include{Chapters/chapter13/ch13}
152 \include{Chapters/chapter14/ch14}
153 \include{Chapters/chapter15/ch15}
154 \include{Chapters/chapter16/ch16}
155  \include{Chapters/chapter18/ch18}
156
157 \bibliographystyle{hep}
158 %%%\bibliography{biblio}
159
160 \clearpage
161 \printindex
162
163 \end{document}