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

Private GIT Repository
new
[book_gpu.git] / BookGPU / BookGPU.tex
index 1ca9c1a8e8c333860afe41ef62fd2b29308a39ff..0a5f5c80e017ab917081fb73c03b2001cde00a2c 100755 (executable)
@@ -1,6 +1,6 @@
 \documentclass[sunil1,ChapterTOCs]{sunil}
 \usepackage[utf8]{inputenc}
 \documentclass[sunil1,ChapterTOCs]{sunil}
 \usepackage[utf8]{inputenc}
-\usepackage{amssymb}
+%\usepackage{amssymb}
 %usepackage{amsbsy}
 \usepackage{amsfonts,amssymb}
 \usepackage{amsmath}
 %usepackage{amsbsy}
 \usepackage{amsfonts,amssymb}
 \usepackage{amsmath}
@@ -21,7 +21,7 @@
 \usepackage{epstopdf}
 \usepackage{url}
 \usepackage{multirow}
 \usepackage{epstopdf}
 \usepackage{url}
 \usepackage{multirow}
-\usepackage{layouts}
+%\usepackage{layouts}
 \usepackage{comment}
 \usepackage{xcolor}
 \usepackage{upquote}
 \usepackage{comment}
 \usepackage{xcolor}
 \usepackage{upquote}
@@ -36,6 +36,8 @@
 \usepackage{moreverb}
 \usepackage{commath}
 \usepackage{numprint}
 \usepackage{moreverb}
 \usepackage{commath}
 \usepackage{numprint}
+\usepackage{placeins} 
+%\usepackage{float}
 %\usepackage{lmodern}
 %% \usepackage{listings}
 %% \usepackage{subfigure}
 %\usepackage{lmodern}
 %% \usepackage{listings}
 %% \usepackage{subfigure}
 
 \newcommand{\mbf}{\mathbf}
 \newcommand{\mc}{\mathcal}
 
 \newcommand{\mbf}{\mathbf}
 \newcommand{\mc}{\mathcal}
-%newcommand{\bs}{\boldsymbol}
 \newcommand{\N}{\mathcal{N}}
 \newcommand{\B}{\mathcal{B}}
 \newcommand{\N}{\mathcal{N}}
 \newcommand{\B}{\mathcal{B}}
+\newcommand{\bs}{\boldsymbol}
+
+
+
+\let\OLDlstinputlisting\lstinputlisting
+\renewcommand{\lstinputlisting}[2][]{\FloatBarrier\OLDlstinputlisting[#1]{#2}\FloatBarrier} 
 
 \DeclareMathOperator*{\argmax}{arg\,max}
 
 
 \DeclareMathOperator*{\argmax}{arg\,max}
 
@@ -92,8 +99,8 @@
   frame=single,         
   % keywordstyle=[1]\textbf,   
   %identifierstyle=\textbf,
   frame=single,         
   % keywordstyle=[1]\textbf,   
   %identifierstyle=\textbf,
-  commentstyle=\color{white}\textbf,
-  stringstyle=\color{white}\ttfamily,
+  commentstyle=\color{darkgray}\textbf,
+  stringstyle=\color{darkgray}\ttfamily,
   % xleftmargin=17pt,
   % framexleftmargin=17pt,
   % framexrightmargin=5pt,
   % xleftmargin=17pt,
   % framexleftmargin=17pt,
   % framexrightmargin=5pt,
 
 %%   %\captionsetup[lstlisting]{singlelinecheck=false, labelfont={blue}, textfont={blue}}
 \DeclareCaptionFont{white}{\color{white}}
 
 %%   %\captionsetup[lstlisting]{singlelinecheck=false, labelfont={blue}, textfont={blue}}
 \DeclareCaptionFont{white}{\color{white}}
-\DeclareCaptionFormat{listing}{\colorbox[cmyk]{0.43, 0.35, 0.35,0.01}{\parbox{\textwidth}{\hspace{15pt}#1#2#3}}}
+\DeclareCaptionFormat{listing}{\hspace{-3.5pt}\colorbox[cmyk]{0.43, 0.35, 0.35,0.01}{\parbox{1.003\textwidth}{\hspace{15pt}#1#2#3}}}
 \captionsetup[lstlisting]{format=listing,labelfont=white,textfont=white, singlelinecheck=false, margin=0pt, font={bf,footnotesize}}
 
 
 
 
 \makeindex
 \captionsetup[lstlisting]{format=listing,labelfont=white,textfont=white, singlelinecheck=false, margin=0pt, font={bf,footnotesize}}
 
 
 
 
 \makeindex
-%\includeonly{Chapters/chapter15/ch15}
-
+%\includeonly{Chapters/chapter5/ch5}
+\DeclareCaptionLabelSeparator{colon}{. }
 \begin{document}
 
 
 \begin{document}
 
 
+
+
+
 %%bibliography style to adopt
 \bibliographyunit[\chapter]
 \defaultbibliographystyle{plain}
 %%bibliography style to adopt
 \bibliographyunit[\chapter]
 \defaultbibliographystyle{plain}
 
 \author{Raphaël Couturier}
 
 
 \author{Raphaël Couturier}
 
-\maketitle
-
+%%%\maketitle
+%\cleardoublepage
 \frontmatter
 %\include{frontmatter/Foreword}
 \frontmatter
 %\include{frontmatter/Foreword}
-\include{frontmatter/preface}
 
 
+\clearpage\setcounter{page}{7}
+\tableofcontents
 \listoffigures
 \listoftables
 \listoffigures
 \listoftables
-\tableofcontents
+\include{frontmatter/preface}
 
 \mainmatter
 
 \include{Chapters/symbollist}
 
 \setcounter{page}{1}
 
 \mainmatter
 
 \include{Chapters/symbollist}
 
 \setcounter{page}{1}
+
 \part{Presentation of GPUs}
 \include{Chapters/chapter1/ch1}
 \include{Chapters/chapter2/ch2}
 \part{Presentation of GPUs}
 \include{Chapters/chapter1/ch1}
 \include{Chapters/chapter2/ch2}
 \include{Chapters/chapter3/ch3}
 \include{Chapters/chapter4/ch4}
 \part{Software development}
 \include{Chapters/chapter3/ch3}
 \include{Chapters/chapter4/ch4}
 \part{Software development}
-\include{Chapters/chapter5/ch5}
+\include{Chapters/chapter5/ch5}  
 \include{Chapters/chapter6/ch6}
 \part{Optimization}
 \include{Chapters/chapter8/ch8}
 \include{Chapters/chapter9/ch9}
 \include{Chapters/chapter6/ch6}
 \part{Optimization}
 \include{Chapters/chapter8/ch8}
 \include{Chapters/chapter9/ch9}
-\include{Chapters/chapter10/ch10}   %revoir ce chapitre
+\include{Chapters/chapter10/ch10}  
+
+
 
 \part{Numerical applications}
 
 \part{Numerical applications}
+
 \include{Chapters/chapter7/ch7} 
 \include{Chapters/chapter11/ch11}
 \include{Chapters/chapter12/ch12}
 \include{Chapters/chapter7/ch7} 
 \include{Chapters/chapter11/ch11}
 \include{Chapters/chapter12/ch12}