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

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