Différences
Ci-dessous, les différences entre deux révisions de la page.
Les deux révisions précédentesRévision précédenteProchaine révision | Révision précédente | ||
4_domaines_specialises:mathematiques:symboles:symbole_cqfd [2021/08/11 18:51] – Précisions sur "ntheorem". jejust | 4_domaines_specialises:mathematiques:symboles:symbole_cqfd [2022/08/13 13:21] (Version actuelle) – [Avec l'extension “QED”] Balises <latex> inutiles supprimées dbitouze | ||
---|---|---|---|
Ligne 9: | Ligne 9: | ||
===== Avec l' | ===== Avec l' | ||
- | L' | + | L' |
- | Le placement de celui-ci peut-être ajusté avec la commande '' | + | |
<code latex> | <code latex> | ||
Ligne 40: | Ligne 39: | ||
\end{document} | \end{document} | ||
</ | </ | ||
+ | \\ | ||
+ | |||
+ | Cependant, si la démonstration se termine par une formule en exergue, le symbole CQFD | ||
+ | risque d' | ||
+ | Son placement pourra être corrigé en utilisant la commande '' | ||
+ | avec la commande '' | ||
+ | |||
+ | <WRAP column half> | ||
+ | **Sans correction: | ||
+ | |||
+ | <code latex> | ||
+ | \documentclass{article} | ||
+ | \usepackage{amsthm, | ||
+ | \usepackage[french]{babel} | ||
+ | |||
+ | \begin{document} | ||
+ | \begin{proof} | ||
+ | Texte... | ||
+ | \begin{equation*} | ||
+ | maths... | ||
+ | \end{equation*} | ||
+ | \end{proof} | ||
+ | \end{document} | ||
+ | </ | ||
+ | < | ||
+ | \documentclass{article} | ||
+ | \usepackage[width=6cm]{geometry} | ||
+ | \usepackage{amsthm, | ||
+ | \usepackage[french]{babel} | ||
+ | \pagestyle{empty} | ||
+ | |||
+ | \begin{document} | ||
+ | \begin{proof} | ||
+ | Texte... | ||
+ | \begin{equation*} | ||
+ | maths... | ||
+ | \end{equation*} | ||
+ | \end{proof} | ||
+ | \end{document} | ||
+ | </ | ||
+ | </ | ||
+ | <WRAP column half> | ||
+ | **Avec correction: | ||
+ | |||
+ | <code latex> | ||
+ | \documentclass{article} | ||
+ | \usepackage{amsthm, | ||
+ | \usepackage[french]{babel} | ||
+ | |||
+ | \begin{document} | ||
+ | \begin{proof} | ||
+ | Texte... | ||
+ | \begin{equation*} | ||
+ | maths... \tag*{\qedhere} | ||
+ | \end{equation*} | ||
+ | \end{proof} | ||
+ | \end{document} | ||
+ | </ | ||
+ | < | ||
+ | \documentclass{article} | ||
+ | \usepackage[width=6cm]{geometry} | ||
+ | \usepackage{amsthm, | ||
+ | \usepackage[french]{babel} | ||
+ | \pagestyle{empty} | ||
+ | |||
+ | \begin{document} | ||
+ | \begin{proof} | ||
+ | Texte... | ||
+ | \begin{equation*} | ||
+ | maths... \tag*{\qedhere} | ||
+ | \end{equation*} | ||
+ | \end{proof} | ||
+ | \end{document} | ||
+ | </ | ||
+ | </ | ||
+ | <WRAP clear /> | ||
+ | |||
+ | |||
+ | ==== Comment obtenir un carré noir? ==== | ||
+ | |||
+ | Il est très simple de changer le symbole de fin de démonstration, | ||
+ | en redéfinissant la commande '' | ||
+ | |||
+ | <WRAP column 50ex> | ||
+ | <code latex> | ||
+ | \documentclass{article} | ||
+ | \usepackage{amsthm, | ||
+ | \usepackage[french]{babel} | ||
+ | |||
+ | \renewcommand{\qedsymbol}{$\blacksquare$} | ||
+ | |||
+ | \begin{document} | ||
+ | \begin{proof} | ||
+ | Et nous y voilà. | ||
+ | \end{proof} | ||
+ | \end{document} | ||
+ | </ | ||
+ | </ | ||
+ | <WRAP column 30ex> | ||
+ | < | ||
+ | \documentclass{article} | ||
+ | \usepackage[width=6cm]{geometry} | ||
+ | \usepackage{amsthm, | ||
+ | \usepackage[french]{babel} | ||
+ | \pagestyle{empty} | ||
+ | |||
+ | \renewcommand{\qedsymbol}{$\blacksquare$} | ||
+ | |||
+ | \begin{document} | ||
+ | \begin{proof} | ||
+ | Et nous y voilà. | ||
+ | \end{proof} | ||
+ | \end{document} | ||
+ | </ | ||
+ | </ | ||
+ | <WRAP clear /> | ||
+ | |||
+ | De la même façon, il est très simple de faire disparaître le carré, | ||
+ | en redéfinissant '' | ||
+ | |||
+ | <WRAP column 50ex> | ||
+ | <code latex> | ||
+ | \documentclass{article} | ||
+ | \usepackage{amsthm} | ||
+ | \usepackage[french]{babel} | ||
+ | |||
+ | \renewcommand{\qedsymbol}{} | ||
+ | |||
+ | \begin{document} | ||
+ | \begin{proof} | ||
+ | Et nous y voilà. | ||
+ | \end{proof} | ||
+ | \end{document} | ||
+ | </ | ||
+ | </ | ||
+ | <WRAP column 30ex> | ||
+ | < | ||
+ | \documentclass{article} | ||
+ | \usepackage[width=6cm]{geometry} | ||
+ | \usepackage{amsthm} | ||
+ | \usepackage[french]{babel} | ||
+ | \pagestyle{empty} | ||
+ | |||
+ | \renewcommand{\qedsymbol}{} | ||
+ | |||
+ | \begin{document} | ||
+ | \begin{proof} | ||
+ | Et nous y voilà. | ||
+ | \end{proof} | ||
+ | \end{document} | ||
+ | </ | ||
+ | </ | ||
+ | <WRAP clear /> | ||
+ | |||
===== Avec l' | ===== Avec l' | ||
Ligne 90: | Ligne 243: | ||
^ Commande | ^ Commande | ||
| '' | | '' | ||
- | | '' | + | | '' |
- | | '' | + | | '' |
- | | '' | + | | '' |
<WRAP column half> | <WRAP column half> |