1 \documentclass[sunil1,ChapterTOCs]{sunil}
2 \usepackage[utf8]{inputenc}
13 \usepackage[sectionbib]{bibunits}
18 \include{Chapters/chapter1/preamble}
29 basicstyle=\footnotesize\ttfamily, % Standardschrift
30 %numbers=left, % Ort der Zeilennummern
31 numberstyle=\tiny, % Stil der Zeilennummern
32 %stepnumber=2, % Abstand zwischen den Zeilennummern
33 numbersep=5pt, % Abstand der Nummern zum Text
34 tabsize=2, % Groesse von Tabs
36 breaklines=true, % Zeilen werden Umgebrochen
37 keywordstyle=\color{red},
39 % keywordstyle=[1]\textbf, % Stil der Keywords
40 % keywordstyle=[2]\textbf, %
41 % keywordstyle=[3]\textbf, %
42 % keywordstyle=[4]\textbf, \sqrt{\sqrt{}} %
43 stringstyle=\color{white}\ttfamily, % Farbe der String
44 showspaces=false, % Leerzeichen anzeigen ?
45 showtabs=false, % Tabs anzeigen ?
47 framexleftmargin=17pt,
48 framexrightmargin=5pt,
49 framexbottommargin=4pt,
50 %backgroundcolor=\color{lightgray},
51 showstringspaces=false % Leerzeichen in Strings anzeigen ?
53 \lstloadlanguages{% Check Dokumentation for further languages ...
62 %\DeclareCaptionFont{blue}{\color{blue}}
64 %\captionsetup[lstlisting]{singlelinecheck=false, labelfont={blue}, textfont={blue}}
65 \DeclareCaptionFont{white}{\color{white}}
66 \DeclareCaptionFormat{listing}{\colorbox[cmyk]{0.43, 0.35, 0.35,0.01}{\parbox{\textwidth}{\hspace{15pt}#1#2#3}}}
67 \captionsetup[lstlisting]{format=listing,labelfont=white,textfont=white, singlelinecheck=false, margin=0pt, font={bf,footnotesize}}
76 %%bibliography style to adopt
77 \bibliographyunit[\chapter]
78 \defaultbibliographystyle{plain}
82 \title{Designing Scientific Applications on GPUs }
84 \author{Raphaël Couturier}
89 \include{frontmatter/Foreword}
90 \include{frontmatter/preface}
98 \include{Chapters/symbollist}
101 \part{This is a Part}
102 \include{Chapters/chapter1/ch1}
103 \include{Chapters/chapter2/ch2}
104 %\include{Chapters/chapter3/ch3}
106 \bibliographystyle{hep}
107 %%%\bibliography{biblio}