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

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