% ---> Chargement de la class
\documentclass[11pt,a4paper,openany]{book}
% ---> Packages utilisés {{{1
\usepackage{fontspec}
\usepackage{xunicode}
\usepackage{polyglossia}
\setmainlanguage{french}
\usepackage[print,1to1]{booklet}
\pagespersignature{12}
\usepackage{graphicx}
\usepackage{nopageno}
\usepackage{titlesec}
\usepackage{hyperref}
\usepackage{pdfpages}
\hypersetup{colorlinks=true,citecolor=black,filecolor=black,linkcolor=black,urlcolor=black}
\usepackage{chngcntr}
\usepackage{fancyhdr}
% }}}1
% ---> Geometry et mise en page
% =================== para formato A5:
% \usepackage[twoside,paperwidth=14.8cm, paperheight=21cm, right=40pt, left=60pt, top=40pt, bottom=43pt]{geometry}
\usepackage[twoside, right=40pt, left=60pt, top=40pt, bottom=43pt]{geometry}
\setlength{\paperwidth}{29.6cm}
\setlength{\paperheight}{21cm}
\setlength{\topmargin}{2cm}
\setlength{\textheight}{18cm}
\setlength{\oddsidemargin}{4cm}
\setlength{\evensidemargin}{2cm}
\setlength{\textwidth}{10cm}

% ===========================================
\setlength{\footskip}{20pt}
\widowpenalty=3000
\clubpenalty=3000
\hyphenpenalty=10000
\hbadness=10000
\sloppy
\raggedbottom
\frenchspacing
\renewcommand{\headrulewidth}{0pt}
\lhead[]{}\chead[]{}\rhead[]{}
\lfoot[]{}\cfoot[\thepage]{\thepage}
\rfoot[]{}
\titleformat{\chapter}[display]
{\thispagestyle{fancy}\normalfont\centering\Large\bfseries}{\chaptertitlename\
\thechapter}{15pt}{\huge}{}{}
\titlespacing*{\chapter}{0pt}{40pt}{40pt}
% FIN DU PREAMBULE -----------------------------------------------------
\pagestyle{fancy}

