1 \documentclass[sunil1,ChapterTOCs]{sunil}
2 \usepackage[utf8]{inputenc}
4 \usepackage{amsfonts,amssymb}
13 \usepackage[sectionbib]{bibunits}
16 \usepackage{algorithm}
17 \usepackage{algorithmic}
18 \usepackage[lined,boxed,commentsnumbered]{algorithm2e}
30 %% \usepackage{listings}
31 %% \usepackage{subfigure}
33 %% \usepackage{graphicx}
38 \include{Chapters/chapter1/preamble}
39 \include{Chapters/chapter5/preamble}
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}
55 \newcommand{\mymat}[1]{\mathcal{#1}}
56 \newcommand{\myvec}[1]{\mathbf{#1}}
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
67 breaklines=true, % Zeilen werden Umgebrochen
68 keywordstyle=\color{red},
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 ?
78 framexleftmargin=17pt,
79 framexrightmargin=5pt,
80 framexbottommargin=4pt,
81 %backgroundcolor=\color{lightgray},
82 showstringspaces=false % Leerzeichen in Strings anzeigen ?
84 \lstloadlanguages{% Check Dokumentation for further languages ...
93 %\DeclareCaptionFont{blue}{\color{blue}}
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}}
107 %%bibliography style to adopt
108 \bibliographyunit[\chapter]
109 \defaultbibliographystyle{plain}
113 \title{Designing Scientific Applications on GPUs }
115 \author{Raphaël Couturier}
120 \include{frontmatter/Foreword}
121 \include{frontmatter/preface}
129 \include{Chapters/symbollist}
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/chapter11/ch11}
141 \include{Chapters/chapter14/ch14}
142 \include{Chapters/chapter15/ch15}
144 \bibliographystyle{hep}
145 %%%\bibliography{biblio}