X-Git-Url: https://bilbo.iut-bm.univ-fcomte.fr/and/gitweb/book_gpu.git/blobdiff_plain/6f31b862f879417ba764d85798f4ce9197c6cfe6..177d75ae3d1a1061fb9caa43de9afca760ca0d1a:/BookGPU/BookGPU.tex

diff --git a/BookGPU/BookGPU.tex b/BookGPU/BookGPU.tex
index 77937b8..fae7a1b 100755
--- a/BookGPU/BookGPU.tex
+++ b/BookGPU/BookGPU.tex
@@ -1,6 +1,6 @@
 \documentclass[sunil1,ChapterTOCs]{sunil}
 \usepackage[utf8]{inputenc}
-\usepackage{amssymb}
+%\usepackage{amssymb}
 %usepackage{amsbsy}
 \usepackage{amsfonts,amssymb}
 \usepackage{amsmath}
@@ -21,7 +21,7 @@
 \usepackage{epstopdf}
 \usepackage{url}
 \usepackage{multirow}
-\usepackage{layouts}
+%\usepackage{layouts}
 \usepackage{comment}
 \usepackage{xcolor}
 \usepackage{upquote}
@@ -36,6 +36,7 @@
 \usepackage{moreverb}
 \usepackage{commath}
 \usepackage{numprint}
+\usepackage{placeins} 
 %\usepackage{lmodern}
 %% \usepackage{listings}
 %% \usepackage{subfigure}
@@ -68,9 +69,14 @@
 
 \newcommand{\mbf}{\mathbf}
 \newcommand{\mc}{\mathcal}
-%newcommand{\bs}{\boldsymbol}
 \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}
 
@@ -147,11 +153,14 @@
 
 
 \makeindex
-%\includeonly{Chapters/chapter19/ch19}
+%\includeonly{Chapters/chapter10/ch10}
 
 \begin{document}
 
 
+
+
+
 %%bibliography style to adopt
 \bibliographyunit[\chapter]
 \defaultbibliographystyle{plain}
@@ -184,12 +193,12 @@
 \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}
+\include{Chapters/chapter10/ch10}  
 
 \part{Numerical applications}
 \include{Chapters/chapter7/ch7} 
