X-Git-Url: https://bilbo.iut-bm.univ-fcomte.fr/and/gitweb/book_gpu.git/blobdiff_plain/b59596b1c8419b7e13191270be64b855dd28d01e..1ebb106491ad04e5627daf016c8ff77bdcb26ffa:/BookGPU/BookGPU.tex?ds=inline

diff --git a/BookGPU/BookGPU.tex b/BookGPU/BookGPU.tex
index 95ea162..3202b3b 100755
--- a/BookGPU/BookGPU.tex
+++ b/BookGPU/BookGPU.tex
@@ -1,6 +1,7 @@
 \documentclass[sunil1,ChapterTOCs]{sunil}
 \usepackage[utf8]{inputenc}
-\usepackage{amssymb}
+%\usepackage{amssymb}
+%usepackage{amsbsy}
 \usepackage{amsfonts,amssymb}
 \usepackage{amsmath}
 \usepackage{amscd}
@@ -20,7 +21,7 @@
 \usepackage{epstopdf}
 \usepackage{url}
 \usepackage{multirow}
-\usepackage{layouts}
+%\usepackage{layouts}
 \usepackage{comment}
 \usepackage{xcolor}
 \usepackage{upquote}
@@ -35,6 +36,7 @@
 \usepackage{moreverb}
 \usepackage{commath}
 \usepackage{numprint}
+\usepackage{placeins} 
 %\usepackage{lmodern}
 %% \usepackage{listings}
 %% \usepackage{subfigure}
@@ -65,6 +67,20 @@
 \newcommand{\mymat}[1]{\mathcal{#1}}
 \newcommand{\myvec}[1]{\mathbf{#1}} 
 
+\newcommand{\mbf}{\mathbf}
+\newcommand{\mc}{\mathcal}
+\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}
+
+
 \lstset{morekeywords={HALF4,HALF3,float2,float3,float4,half,half2,half3,half4,tex2D,dim3,endif,threadIdx,blockIdx,blockDim,gridDim,Dim3,__host__,__global__,__shared__,float}}
 \lstset{
   language=C,
@@ -137,11 +153,14 @@
 
 
 \makeindex
-%\includeonly{Chapters/chapter17/ch17}
-
+%\includeonly{Chapters/chapter10/ch10}
+\DeclareCaptionLabelSeparator{colon}{. }
 \begin{document}
 
 
+
+
+
 %%bibliography style to adopt
 \bibliographyunit[\chapter]
 \defaultbibliographystyle{plain}
@@ -156,11 +175,11 @@
 
 \frontmatter
 %\include{frontmatter/Foreword}
-%\include{frontmatter/preface}
+\include{frontmatter/preface}
 
+\tableofcontents
 \listoffigures
 \listoftables
-\tableofcontents
 
 \mainmatter
 
@@ -172,23 +191,25 @@
 \include{Chapters/chapter2/ch2}
 \part{Image processing}
 \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/chapter10/ch10}  
 
 \part{Numerical applications}
-\include{Chapters/chapter7/ch7} %pb fonts
+\include{Chapters/chapter7/ch7} 
 \include{Chapters/chapter11/ch11}
 \include{Chapters/chapter12/ch12}
 \include{Chapters/chapter13/ch13}
-\include{Chapters/chapter14/ch14}
+\include{Chapters/chapter14/ch14}   
 \include{Chapters/chapter15/ch15}
 \include{Chapters/chapter16/ch16}
 \part{Other}
-\include{Chapters/chapter17/ch17}
+\include{Chapters/chapter17/ch17}    
 \include{Chapters/chapter18/ch18}
 \include{Chapters/chapter19/ch19}