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

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