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

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