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

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