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

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