% ---> Chargement de la class
\documentclass[12pt,openany]{book}
% ---> Packages utilisés {{{1
%\usepackage{fontspec}
%\usepackage{microtype}
%\usepackage{polyglossia}
%\setmainlanguage{japanese}
\usepackage[boldfont,CJKnumber,CJKchecksingle]{xeCJK}
%\setmainfont[Script=CJK]{Kozuka Gothic Pro M}
\setCJKmainfont[BoldFont=NotoSansCJKjp-Bold,AutoFakeSlant=0.15]{Noto Sans CJK JP}
%\setCJKmainfont[BoldFont=FandolSong-Bold.otf,ItalicFont=FandolKai-Regular.otf]{FandolSong-Regular.otf}
%\setCJKmainfont[Script=CJK]{Kozuka Gothic Pro M}
%\setCJKfamilyfont{cjk-vert}[Script=CJK,RawFeature=vertical]{Kozuka Gothic Pro M}
%\setmainfont[Mapping=tex-text, SmallCapsFont={Delicious SmallCaps}]{Delicious-Roman}
%\usepackage[CJK,overlap]{ruby}
%\renewcommand{\rubysep}{-3.9ex}
%\onehalfspacing
\XeTeXlinebreaklocale "ja"
\XeTeXlinebreakskip=0em plus 0.1em minus 0.01em
\setlength{\parindent}{0pt}
%
\usepackage{graphicx}
\usepackage{nopageno}
\usepackage{titlesec}
\usepackage{hyperref}
\usepackage{pdfpages}
\hypersetup{colorlinks=true,citecolor=black,filecolor=black,linkcolor=black,urlcolor=black}%,bookmarks=false}
\usepackage{chngcntr}
\usepackage{fancyhdr}
% }}}1
% ---> Geometry et mise en page
% ------> A5
% =================== para formato A5:
\usepackage[twoside,paperwidth=14.851cm, paperheight=20.997cm, right=35pt, left=65pt, top=40pt, bottom=43pt]{geometry}
\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}

