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 | ||
| composition:texte:renvois:ne_numeroter_que_les_equations_referencees [2018/05/23 21:21] – joseph.wright | 3_composition:texte:renvois:ne_numeroter_que_les_equations_referencees [2021/11/29 23:00] (Version actuelle) – Correction de la mise en forme. yannick.tanguy | ||
|---|---|---|---|
| Ligne 1: | Ligne 1: | ||
| - | --- | + | ====== Comment numéroter les seules équations auxquelles il est fait référence? ====== |
| - | section: How do I do& | + | |
| - | subsection: Mathematics | + | |
| - | revised: 2014-06-10 | + | |
| - | --- | + | |
| - | # Numbers for referenced equations only | + | |
| - | There are those who consider that papers look untidy with numbers on | + | En matière de numérotation d' |
| - | every equation; there is also a school of thought that claims that | + | * celle qui considère que des documents qui numérotent chaque équation semblent désordonnés |
| - | there should be numbers everywhere, in case some reader wants to make | + | * celle qui recommande de numéroter toutes les équations, au cas où un lecteur voudrait faire référence à une équation sur laquelle l' |
| - | reference an equation to which the author made no cross-reference. | + | |
| - | If you hold to the ''only cross-referenced'' | + | Si vous appartenez à la première école, plusieurs solutions s'offrent à vous. |
| - | can (using the `\nonumber` command on the relevant equations, or by | + | |
| - | using the AMSLaTeX unnumbered environments such as | + | |
| - | `equation*`) mark those of your equations to which you | + | |
| - | make no reference. | + | |
| - | well become deeply tedious. | + | |
| - | Fortunately, | + | ===== Avec les commandes de base et l'extension “amsmath” ===== |
| - | [`mathtools`](https:// | + | |
| - | switch through its `\mathtoolsset` command; when that's in | + | |
| - | operation, only those equations to which you make reference will be | + | |
| - | numbered in the final output. | + | |
| - | details of how to make references when the switch is in effect. | + | |
| + | En utilisant la commande '' | ||
| + | <code latex> | ||
| + | \documentclass{article} | ||
| + | \usepackage{amsmath} | ||
| + | |||
| + | \begin{document} | ||
| + | Voici comment ne pas numéroter la première équation : | ||
| + | \begin{align} | ||
| + | x=y+1 \nonumber \\ | ||
| + | y=x-1 | ||
| + | \end{align} | ||
| + | |||
| + | Voici comment ne pas numéroter les deux équations : | ||
| + | \begin{align*} | ||
| + | x=y+1 \\ | ||
| + | y=x-1 | ||
| + | \end{align*} | ||
| + | \end{document} | ||
| + | </ | ||
| + | |||
| + | < | ||
| + | \documentclass{article} | ||
| + | \usepackage{amsmath} | ||
| + | \pagestyle{empty} | ||
| + | \begin{document} | ||
| + | Voici comment ne pas numéroter la première équation : | ||
| + | \begin{align} | ||
| + | x=y+1 \nonumber \\ | ||
| + | y=x-1 | ||
| + | \end{align} | ||
| + | |||
| + | Voici comment ne pas numéroter les deux équations : | ||
| + | \begin{align*} | ||
| + | x=y+1 \\ | ||
| + | y=x-1 | ||
| + | \end{align*} | ||
| + | \end{document} | ||
| + | </ | ||
| + | |||
| + | ===== Avec l' | ||
| + | |||
| + | L' | ||
| + | |||
| + | <code latex> | ||
| + | \documentclass{article} | ||
| + | \usepackage{mathtools} | ||
| + | \mathtoolsset{showonlyrefs} | ||
| + | |||
| + | \begin{document} | ||
| + | Seule la deuxième équation nous intéresse \refeq{eq: | ||
| + | \begin{align} | ||
| + | x=y+1 \label{eq: | ||
| + | y=x-1 \label{eq: | ||
| + | \end{align} | ||
| + | \end{document} | ||
| + | </ | ||
| + | |||
| + | ----- | ||
| + | //Source:// [[faquk> | ||
| + | |||
| + | {{htmlmetatags> | ||
| + | metatag-og: | ||
| + | metatag-og: | ||
| + | }} | ||

