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

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