\documentclass[sunil1,ChapterTOCs]{sunil}
\usepackage[utf8]{inputenc}
-\usepackage{amssymb}
+%\usepackage{amssymb}
%usepackage{amsbsy}
\usepackage{amsfonts,amssymb}
\usepackage{amsmath}
\usepackage{epstopdf}
\usepackage{url}
\usepackage{multirow}
-\usepackage{layouts}
+%\usepackage{layouts}
\usepackage{comment}
\usepackage{xcolor}
\usepackage{upquote}
\usepackage{moreverb}
\usepackage{commath}
\usepackage{numprint}
+\usepackage{placeins}
+%\usepackage{float}
%\usepackage{lmodern}
%% \usepackage{listings}
%% \usepackage{subfigure}
\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}
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,
\makeindex
%\includeonly{Chapters/chapter5/ch5}
-
+\DeclareCaptionLabelSeparator{colon}{. }
\begin{document}
+
+
+
%%bibliography style to adopt
\bibliographyunit[\chapter]
\defaultbibliographystyle{plain}
\author{Raphaël Couturier}
-\maketitle
-
+%%%\maketitle
+%\cleardoublepage
\frontmatter
%\include{frontmatter/Foreword}
-\include{frontmatter/preface}
+\clearpage\setcounter{page}{7}
+\tableofcontents
\listoffigures
\listoftables
-\tableofcontents
+\include{frontmatter/preface}
\mainmatter
\part{Optimization}
\include{Chapters/chapter8/ch8}
\include{Chapters/chapter9/ch9}
-\include{Chapters/chapter10/ch10} %revoir ce chapitre
+\include{Chapters/chapter10/ch10}
\part{Numerical applications}
\include{Chapters/chapter7/ch7}