Différences
Ci-dessous, les différences entre deux révisions de la page.
Prochaine révision | Révision précédente Prochaine révision Les deux révisions suivantes | ||
4_domaines_specialises:mathematiques:structures:mettre_en_page_des_theoremes [2002/02/17 22:10] erwan créée |
4_domaines_specialises:mathematiques:structures:mettre_en_page_des_theoremes [2016/10/27 05:02] jejust |
||
---|---|---|---|
Ligne 1: | Ligne 1: | ||
- | \question{Comment mettre en page des théorèmes ?}%12.29 | + | ====== |
- | \reponse | + | |
- | \cmd{newtheorem}\marg{nom}\oarg{compteur}\marg{texte}\oarg{section} | + | $\Reponse$ |
- | où nom est une clé pour identifier le théorème, et | + | |
- | texte le titre du théorème qui sera imprimé. compteur permet de | + | \begin{center} |
- | référencer un autre théorème pour obtenir la même numérotation. | + | '' |
- | section permet de préciser le niveau de numérotation voulu. | + | \end{center} |
- | L' | + | |
- | \begin{docexemple}{Utilisation de \cmd{newtheorem}\label{maths-newtheo}} | + | où \marg{nom} est une clé pour identifier le théorème, et \marg{texte} le |
+ | titre du théorème qui sera imprimé. | ||
+ | autre théorème pour obtenir la même numérotation. | ||
+ | préciser le niveau de numérotation voulu. L' | ||
+ | donne une utilisation. | ||
+ | |||
+ | < | ||
\documentclass{article} | \documentclass{article} | ||
- | \newtheorem{th-imp}{Théorème important}[section] | + | \newtheorem{th-imp}% |
- | \newtheorem{th-u}{Théorème}[subsection] | + | {Théorème important}[section] |
+ | \newtheorem{th-u}% | ||
+ | {Théorème}[subsection] | ||
\begin{document} | \begin{document} | ||
\section{Introduction.} | \section{Introduction.} | ||
Ligne 26: | Ligne 34: | ||
\begin{th-u} | \begin{th-u} | ||
- | | + | |
\end{th-u} | \end{th-u} | ||
\section{Conclusion} | \section{Conclusion} | ||
- | Le théorème important~\ref{label-th-AA} est à apprendre par | + | Le théorème important~\ref{label-th-AA} |
- | c\oe{}ur, le théorème~\ref{label-th-aaa} peut être utile. | + | est à apprendre par c\oe{}ur, |
- | | + | le théorème~\ref{label-th-aaa} |
- | \end{docexemple} | + | peut \^etre |
+ | \end{document} | ||
+ | </ | ||
- | \reponse Il existe pour cela le package \pack{thmmarks} disponible à | ||
- | \url{http:// | ||
- | \reponse Le package \pack{newthm} disponible sur | ||
- | \ctan{macros/ | ||
- | des théorèmes apparaissant dans un document. | ||
- | \reponse Les trois packages suivants permettent de définir son propre style. | + | $\Reponse$ |
- | \begin{itemize} | + | \label{reponse=ntheorem} |
- | \item Le package | + | Le package |
- | | + | '' |
- | Des exemples de théorèmes | + | symboles à la fin d' |
+ | référence à d' | ||
+ | documentation '' | ||
- | \item Le package \pack{theorem}, | ||
- | theorem.dvi | ||
- | \item Il existe également le package | + | < |
- | ou sur | + | \documentclass{article} |
- | \url{http:// | + | |
- | | + | \usepackage[thmmarks]{ntheorem} |
- | \cmd{listoffigures}, est compatible avec amsmath, permet d' | + | |
- | | + | {\theoremstyle{changebreak} |
- | | + | \theoremindent0.5cm |
- | \end{itemize} | + | \theoremnumbering{greek} |
- | \reponse | + | \newtheorem{Lemma}{Lemme}} |
- | {\tiny | + | |
+ | {\theoremheaderfont{\normalfont\bfseries} | ||
+ | \theorembodyfont{\slshape} | ||
+ | \theoremsymbol{\ensuremath{\diamondsuit}} | ||
+ | \theoremseparator{: | ||
+ | \newtheorem{Theorem}{Théorème}} | ||
+ | |||
+ | {\theoremheaderfont{\sc}\theorembodyfont{\upshape} | ||
+ | \theoremstyle{nonumberplain} | ||
+ | \theoremseparator{} | ||
+ | \theoremsymbol{\rule{1ex}{1ex}} | ||
+ | \newtheorem{Proof}{Preuve}} | ||
+ | |||
+ | \begin{document} | ||
+ | |||
+ | \begin{Theorem}[Théorème complexe] | ||
+ | Voici l' | ||
+ | |||
+ | \begin{Lemma}[Equation] | ||
+ | \label{lem=equation} | ||
+ | Un lemme important~: | ||
+ | \begin{equation} | ||
+ | | ||
+ | \end{equation} | ||
+ | \end{Lemma} | ||
+ | |||
+ | \begin{Proof}[de rien] | ||
+ | | ||
+ | le théorème | ||
+ | \end{Proof} | ||
+ | Fin du théorème. | ||
+ | \end{Theorem} | ||
+ | |||
+ | \end{document} | ||
+ | </ | ||
+ | |||
+ | |||
+ | |||
+ | $\Reponse$ | ||
+ | l' | ||
+ | trouvent dans le fichier '' | ||
+ | |||
+ | |||
+ | $\Reponse$ | ||
+ | https://www.ctan.org/{info/ | ||
+ | |||
+ | |||
+ | $\Reponse$ | ||
+ | \begin{center} | ||
\begin{tabular}{lccc} | \begin{tabular}{lccc} | ||
- | Package | + | Package |
- | \hline | + | Retour à la ligne après le titre |
- | Retour à la ligne après le titre & | + | Pas de numérotation d' |
- | \hline | + | Position du numéro du théorème |
- | Pas de numérotation d' | + | Style de la numérotation |
- | \hline | + | Ponctuation après le titre (:,.,etc.)& |
- | Position du numéro du théoreme | + | |
- | \hline | + | Indentation du titre |
- | Style de la numérotation | + | Espace vertical autour du théorème |
- | \hline | + | Symbole de fin de preuve |
- | Ponctuation après le titre (:, | + | % Filets |
- | \hline | + | |
- | | + | |
- | \hline | + | |
- | Indentation du titre & | + | |
- | \hline | + | |
- | Espace vertical autour du théorème | + | |
\end{tabular} | \end{tabular} | ||
- | } | + | \end{center} |
+ | |||
+ | |||
+ | $\Reponse$ | ||
+ | ombré. | ||
+ | |||
+ | \reponse Le package [[ctanpkg> | ||
+ | que ntheorem. Il dispose de compteurs dynamiques, de différents styles, de | ||
+ | symboles de fin de preuve, etc. Se reporter à la documentation du package | ||
+ | pour plus d' | ||
+ | |||
+ | |||
+ | $\Reponse$ | ||
+ | package [[ctanpkg> | ||
+ |