| 
                         Comment peut-on avoir un chapitre non numéroté (donc avec  J’obtiens la numérotation des sections avec un ajout après le  \makeatletter
\renewcommandtwoopt{\YAD@starred@chapter}[3][][]{%
  \booltrue{YAD@nonnumbered@chapter}%
  \boolfalse{YAD@nonnumbered@section}%
  \boolfalse{YAD@nonnumbered@subsection}%
  \boolfalse{YAD@nonnumbered@subsubsection}%
  \boolfalse{YAD@nonnumbered@paragraph}%
  \boolfalse{YAD@nonnumbered@subparagraph}%
  \YAD@setsecnumdepth{\YAD@secnumdepth}%
  \YAD@tmp@chapter[#1][#2]{#3}%
}%
\makeatother
mais il faudrait retirer la référence au chapitre.  | 
                
| 
                                     Une solution, très peu élégante. \documentclass{yathesis} \usepackage{chngcntr} \begin{document} \makeatletter \renewcommandtwoopt{\YAD@starred@chapter}[3][][]{% \booltrue{YAD@nonnumbered@chapter}% \boolfalse{YAD@nonnumbered@section}% \boolfalse{YAD@nonnumbered@subsection}% \boolfalse{YAD@nonnumbered@subsubsection}% \boolfalse{YAD@nonnumbered@paragraph}% \boolfalse{YAD@nonnumbered@subparagraph}% \YAD@setsecnumdepth{\YAD@secnumdepth}% \YAD@tmp@chapter[#1][#2]{#3}% }% \makeatother \chapter*{Test} \counterwithout{section}{chapter} \section{Test} \mainmatter \counterwithin{section}{chapter} % on redéfinit la commande comme dans la classe \makeatletter \renewcommandtwoopt{\YAD@starred@chapter}[3][][]{% \booltrue{YAD@nonnumbered@chapter}% \booltrue{YAD@nonnumbered@section}% \booltrue{YAD@nonnumbered@subsection}% \booltrue{YAD@nonnumbered@subsubsection}% \booltrue{YAD@nonnumbered@paragraph}% \booltrue{YAD@nonnumbered@subparagraph}% \YAD@setsecnumdepth{none}% \YAD@tmp@chapter[#1][#2]{#3}% } \makeatother \chapter{Test2} \section{Quoi?} \chapter{Test3} \section{Et alors?} \end{document} Merci pour ce code qui me permet de faire une introduction non numérotée avec des sections numérotées.
Cependant, une caractéristique m'embête : l'introduction se trouve alors avant  Est-il possible de faire la même chose mais à l'intérieur du  @PlotineJ Attention ! Cette réponse était un commentaire plutôt qu'une réponse et a été convertie comme tel.  |