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

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