J'utilise
- Code: Tout sélectionner
\theoremstyle{plain}% default
\newtheorem{Th}{Théorème}[chapter ? section ?]
\newtheorem{Lem}[Th]{Lemme}
\newtheorem{Prop}[Th]{Proposition}
\newtheorem{Cor}[Th]{Corollaire}
\newtheorem{Thdf}[Th]{Théorème - Définition}
\theoremstyle{definition}
\newtheorem{Df}{Définition}[chapter ?]
\newtheorem{Dfs}[Df]{Définitions}%[section]
\newtheorem{conj}{Conjecture}[chapter ?]
\newtheorem{Ex}{Exemple}[chapter ?]
\newtheorem{Exs}[Ex]{Exemples}%[section]
\newtheorem{Exr}{Exercice}[chapter ?]
\newtheorem{Exrs}[Exr]{Exercices}%[section]
\newtheorem{Prp}{Propriété}[chapter ?]
\newtheorem{Prps}[Prp]{Propriétés}%[section]
\theoremstyle{remark}
\newtheorem*{NB}{Remarque}
\newtheorem*{NBs}{Remarques}
\newtheorem*{Gen}{Généralisation}
\newtheorem*{note}{Note}
\newtheorem*{corr}{\textbf{Corrigé}}
\newtheorem*{nota}{Notation}
\newtheorem*{notas}{Notations}
\newtheorem*{rap}{Rappel}
\newtheorem*{raps}{Rappels}
\newtheorem*{appli}{Application}
\newtheorem*{applis}{Applications}
\addto\captionsfrench{\def\proofname{\textsc{Preuve}}}
% \renewcommand ne donne pas de résultat; aller voir dans frenchb.cfg
\renewcommand{\qedsymbol}{$\blacksquare$}
\addtocounter{secnumdepth}{1}
\renewcommand{\thesection}{\arabic{section}}
\renewcommand{\thesubsection}{\thesection.\arabic{subsection}}
\renewcommand{\thesubsubsection}{\thesubsection.\arabic{subsubsection}}
\makeatletter \@addtoreset{equation}{section} \makeatother
\renewcommand{\theequation}{\thechapter.\thesection.\arabic{equation}}
mon soucis : dans la numérotation des théorèmes, je voudrais une numerotation Chapitre.section.subsection...thm
si je met chapter, j'obtiens chapitre.thm
si je met section j'obtiens section.thm
Je voudrais juste rajouter le numero de chapitre avant, en mettant section en paramètre.
Merci d'avance