Latex: remove numbering from theorems

ProfGoron Posted messages 12 Status Member -  
 jaouad -
Bonjour,

Pour supprimer les numéros de vos théorèmes, propositions, lemmes et définitions dans votre document LaTeX, vous pouvez modifier la définition de vos environnements de théorème en ajoutant l'option `*`. Voici comment vous pouvez le faire :
 \newtheorem*{thm}{\textsc{Théorème}} \newtheorem*{lemme}{\textsf{Lemme}} \newtheorem*{prop}{Proposition} \newtheorem*{cor}{Corollaire} \newtheorem*{dfn}{\textsf{Définition}} 

Avec ces modifications, vos théorèmes et autres énoncés apparaîtront sans numéros.

Merci d'avance...

1 answer

Gandahar
 
Here is the solution (too late for the person who posed it but it might interest some people)

To avoid having a number for the theorem labeled thm we do:
\renewcommand{\thethm}{\empty{}}

For the others:
\renewcommand{\thelemme}{\empty{}}
\renewcommand{\theprop}{\empty{}}
\renewcommand{\thecor}{\empty{}}
\renewcommand{\thedfn}{\empty{}}

Just put "\the" followed by the name of the theorem or proposition after \renewcommand.
15
jaouad
 
Thank you, it works very well.
0