|
@@ -28,23 +28,30 @@
|
|
|
\makeatother
|
|
|
|
|
|
\usepackage{titlesec}
|
|
|
-\titleformat
|
|
|
-{\chapter} % command
|
|
|
-[block] % shape
|
|
|
-{\bfseries\Large} % format
|
|
|
-{Chapitre \ \thechapter} % label
|
|
|
-{0ex} % sep
|
|
|
-{
|
|
|
- \rule{\textwidth}{1pt}
|
|
|
- \centering
|
|
|
-} % before-code
|
|
|
-[
|
|
|
-\centering
|
|
|
-\vspace{-1.5ex}%
|
|
|
-\rule{\textwidth}{0.3pt}
|
|
|
-] % after-code
|
|
|
-
|
|
|
-\titlespacing{\chapter}{0pc}{-5pc}{0pc}
|
|
|
+% \titleformat
|
|
|
+% {\chapter} % command
|
|
|
+% [block] % shape
|
|
|
+% {\bfseries\Large} % format
|
|
|
+% {Chapitre \ \thechapter} % label
|
|
|
+% {0ex} % sep
|
|
|
+% {
|
|
|
+% \rule{\textwidth}{1pt}
|
|
|
+% \centering
|
|
|
+% } % before-code
|
|
|
+% [
|
|
|
+% \centering
|
|
|
+% \vspace{-1.5ex}%
|
|
|
+% \rule{\textwidth}{0.3pt}
|
|
|
+% ] % after-code
|
|
|
+\titleformat{\chapter}[frame]
|
|
|
+{\normalfont}
|
|
|
+{\filright
|
|
|
+\large
|
|
|
+\enspace Chapitre \thechapter\enspace}
|
|
|
+{8pt}
|
|
|
+{\Large\bfseries\filcenter}
|
|
|
+
|
|
|
+\titlespacing{\chapter}{0pc}{-5pc}{2pc}
|
|
|
|
|
|
\newcommand{\inltype}[1]{\texttt{\detokenize{#1}}}
|
|
|
|