
Also, the titlesec package behaves oddly when I use the raggedright option. It's adding two pages to the whole document, and I don't understand why.
Could a gentle soul check my preamble given below, to see where are the causes of the problems ? I know it's pretty big, but I'm writing a complex book of about 900 pages with tons of equations and figures...

Please help !

Code: Select all
\documentclass[12pt,letterpaper,twoside]{book}\usepackage[T1]{fontenc}\usepackage{lmodern}\usepackage[utf8]{inputenc}\usepackage[french]{babel}\usepackage{setspace}\setstretch{1.1}\usepackage{moreverb}\usepackage{amsmath}\usepackage{amsfonts}\usepackage{amssymb}\usepackage{mathtools}\usepackage{mathrsfs}\usepackage{upgreek}\usepackage{tensor}\usepackage{graphicx}\usepackage{here}\raggedbottom\usepackage[bottom]{footmisc}\usepackage{pdfpages}\usepackage[font=small,format=plain,labelfont=bf,up,textfont=it,up]{caption}\usepackage[nottoc]{tocbibind}\usepackage{tocloft}\setlength{\cftchapnumwidth}{0pt}\setlength{\cftsecnumwidth}{35pt}\renewcommand{\cftchappresnum}{\chaptername\ }\setlength{\cftsubsecindent}{53pt}\renewcommand{\cftchapaftersnumb}{\newline}\renewcommand{\cftchapdotsep}{\cftdotsep}\renewcommand{\cftchapleader}{\cftdotfill{\cftchapdotsep}}\usepackage[ ]{siunitx}\definecolor{cliquable}{RGB}{40,40,150}\usepackage[colorlinks, linkcolor=cliquable, urlcolor=red, citecolor=red]{hyperref}\pagestyle{headings}\usepackage{anysize}\marginsize{1.5in}{1in}{0.5in}{0.5in}\usepackage{tabto}