1 \documentclass[sunil1,ChapterTOCs]{sunil}
2 \usepackage[utf8]{inputenc}
13 \usepackage[sectionbib]{bibunits}
16 \usepackage{algorithm}
17 \usepackage{algorithmicx}
18 \usepackage[lined,boxed,commentsnumbered]{algorithm2e}
28 \include{Chapters/chapter1/preamble}
35 \newtheorem{proposition}{Proposition}
36 \newtheorem{proof}{Proof}
42 basicstyle=\footnotesize\ttfamily, % Standardschrift
43 %numbers=left, % Ort der Zeilennummern
44 numberstyle=\tiny, % Stil der Zeilennummern
45 %stepnumber=2, % Abstand zwischen den Zeilennummern
46 numbersep=5pt, % Abstand der Nummern zum Text
47 tabsize=2, % Groesse von Tabs
49 breaklines=true, % Zeilen werden Umgebrochen
50 keywordstyle=\color{red},
52 % keywordstyle=[1]\textbf, % Stil der Keywords
53 % keywordstyle=[2]\textbf, %
54 % keywordstyle=[3]\textbf, %
55 % keywordstyle=[4]\textbf, \sqrt{\sqrt{}} %
56 stringstyle=\color{white}\ttfamily, % Farbe der String
57 showspaces=false, % Leerzeichen anzeigen ?
58 showtabs=false, % Tabs anzeigen ?
60 framexleftmargin=17pt,
61 framexrightmargin=5pt,
62 framexbottommargin=4pt,
63 %backgroundcolor=\color{lightgray},
64 showstringspaces=false % Leerzeichen in Strings anzeigen ?
66 \lstloadlanguages{% Check Dokumentation for further languages ...
75 %\DeclareCaptionFont{blue}{\color{blue}}
77 %\captionsetup[lstlisting]{singlelinecheck=false, labelfont={blue}, textfont={blue}}
78 \DeclareCaptionFont{white}{\color{white}}
79 \DeclareCaptionFormat{listing}{\colorbox[cmyk]{0.43, 0.35, 0.35,0.01}{\parbox{\textwidth}{\hspace{15pt}#1#2#3}}}
80 \captionsetup[lstlisting]{format=listing,labelfont=white,textfont=white, singlelinecheck=false, margin=0pt, font={bf,footnotesize}}
89 %%bibliography style to adopt
90 \bibliographyunit[\chapter]
91 \defaultbibliographystyle{plain}
95 \title{Designing Scientific Applications on GPUs }
97 \author{Raphaël Couturier}
102 \include{frontmatter/Foreword}
103 \include{frontmatter/preface}
111 \include{Chapters/symbollist}
114 \part{This is a Part}
115 \include{Chapters/chapter1/ch1}
116 \include{Chapters/chapter2/ch2}
117 \include{Chapters/chapter8/ch8}
118 \include{Chapters/chapter11/ch11}
119 \include{Chapters/chapter14/ch14}
120 \include{Chapters/chapter15/ch15}
122 \bibliographystyle{hep}
123 %%%\bibliography{biblio}