alignement de formules
Réponses
-
$\frac {1}{2}+\frac {3}{4}+\frac {3}{r}+\frac {r}{j}=\frac {g}{j}+\frac {l}{m}$
\frac {1}{2}+\frac {3}{4}+\frac {3}{r}+\frac {r}{j}=\frac {g}{j}+\frac {l}{m} -
Tu peux par exemple utiliser l'environnement eqnarray et utiliser des & pour aligner. Je te donne un exemple ci dessous :
<BR>
<BR><BR><DIV ALIGN="CENTER" CLASS="mathdisplay"><TABLE CELLPADDING="0" ALIGN="CENTER" WIDTH="100%"><TR VALIGN="MIDDLE"><TD NOWRAP ALIGN="RIGHT"><IMG WIDTH="11" HEIGHT="29" ALIGN="MIDDLE" BORDER="0" SRC="http://www.les-mathematiques.net/phorum/2006/06/27/91691/cv/img1.png" ALT="$\displaystyle \newline 1$"></TD><TD WIDTH="10" ALIGN="CENTER" NOWRAP><IMG WIDTH="15" HEIGHT="29" ALIGN="MIDDLE" BORDER="0" SRC="http://www.les-mathematiques.net/phorum/2006/06/27/91691/cv/img2.png" ALT="$\displaystyle =$"></TD><TD ALIGN="LEFT" NOWRAP><IMG WIDTH="11" HEIGHT="29" ALIGN="MIDDLE" BORDER="0" SRC="http://www.les-mathematiques.net/phorum/2006/06/27/91691/cv/img3.png" ALT="$\displaystyle 2$"></TD><TD CLASS="eqno" WIDTH=10 ALIGN="RIGHT"> </TD></TR><TR VALIGN="MIDDLE"><TD NOWRAP ALIGN="RIGHT"><IMG WIDTH="3" HEIGHT="29" ALIGN="MIDDLE" BORDER="0" SRC="http://www.les-mathematiques.net/phorum/2006/06/27/91691/cv/img4.png" ALT="$\displaystyle \newline$"></TD><TD WIDTH="10" ALIGN="CENTER" NOWRAP><IMG WIDTH="15" HEIGHT="29" ALIGN="MIDDLE" BORDER="0" SRC="http://www.les-mathematiques.net/phorum/2006/06/27/91691/cv/img2.png" ALT="$\displaystyle =$"></TD><TD ALIGN="LEFT" NOWRAP><IMG WIDTH="11" HEIGHT="29" ALIGN="MIDDLE" BORDER="0" SRC="http://www.les-mathematiques.net/phorum/2006/06/27/91691/cv/img5.png" ALT="$\displaystyle 3$"></TD><TD CLASS="eqno" WIDTH=10 ALIGN="RIGHT"> </TD></TR><TR VALIGN="MIDDLE"><TD NOWRAP ALIGN="RIGHT"><IMG WIDTH="3" HEIGHT="29" ALIGN="MIDDLE" BORDER="0" SRC="http://www.les-mathematiques.net/phorum/2006/06/27/91691/cv/img4.png" ALT="$\displaystyle \newline$"></TD><TD WIDTH="10" ALIGN="CENTER" NOWRAP><IMG WIDTH="15" HEIGHT="29" ALIGN="MIDDLE" BORDER="0" SRC="http://www.les-mathematiques.net/phorum/2006/06/27/91691/cv/img2.png" ALT="$\displaystyle =$"></TD><TD ALIGN="LEFT" NOWRAP><IMG WIDTH="11" HEIGHT="29" ALIGN="MIDDLE" BORDER="0" SRC="http://www.les-mathematiques.net/phorum/2006/06/27/91691/cv/img6.png" ALT="$\displaystyle 4
\newline$"></TD><TD CLASS="eqno" WIDTH=10 ALIGN="RIGHT"> </TD></TR></TABLE></DIV><BR CLEAR="ALL">
\begin{eqnarray*}
<BR>1 & = & 2 \\
<BR>& = & 3\\
<BR>& = & 4
<BR>\end{eqnarray*} -
Et je confirme que c'est le plus adapté, vu que c'est fait pour ca :-)
-
Bonjour.
L'environnement "eqnarray" est limité à trois colonnes, par contre, il permet de numéroter les équations (sans le "*") je lui préfère, quand je ne veux pas numéroter l'environnement "array" que je trouve plus souple :
$$\begin{array}{rcll}
\mathcal C(M) - \mathcal C(M') &= &(OM^2 - r^2) - (O'M^2 - r'^2) &\text{définition de la puissance} \\
&= &2\,\overrightarrow{O'O} \cdot \overrightarrow{IM} - (r^2 - r'^2) &\text{$I$, milieu de $[OO']$.}
\end{array}$$
Bruno -
Je préfère utiliser align au lieu d'array
<BR>il faut les packages ams dans le préambule
<BR><P></P><DIV ALIGN="CENTER" CLASS="mathdisplay"><TABLE CELLPADDING="0" WIDTH="100%" ALIGN="CENTER"><TR VALIGN="MIDDLE"><TD NOWRAP ALIGN="RIGHT"><SPAN CLASS="MATH"><IMG WIDTH="25" HEIGHT="30" ALIGN="MIDDLE" BORDER="0" SRC="http://www.les-mathematiques.net/phorum/2006/06/27/91730/cv/img1.png" ALT="$\displaystyle \newline abc$"></SPAN></TD><TD NOWRAP ALIGN="LEFT"><SPAN CLASS="MATH"><IMG WIDTH="42" HEIGHT="30" ALIGN="MIDDLE" BORDER="0" SRC="http://www.les-mathematiques.net/phorum/2006/06/27/91730/cv/img2.png" ALT="$\displaystyle = bca$"></SPAN></TD><TD NOWRAP CLASS="eqno" WIDTH="10" ALIGN="RIGHT">(<SPAN CLASS="arabic">1</SPAN>)</TD></TR><TR VALIGN="MIDDLE"><TD NOWRAP ALIGN="RIGHT"><SPAN CLASS="MATH"><IMG WIDTH="3" HEIGHT="29" ALIGN="MIDDLE" BORDER="0" SRC="http://www.les-mathematiques.net/phorum/2006/06/27/91730/cv/img3.png" ALT="$\displaystyle \newline$"></SPAN></TD><TD NOWRAP ALIGN="LEFT"><SPAN CLASS="MATH"><IMG WIDTH="46" HEIGHT="30" ALIGN="MIDDLE" BORDER="0" SRC="http://www.les-mathematiques.net/phorum/2006/06/27/91730/cv/img4.png" ALT="$\displaystyle = cba.
\newline$"></SPAN></TD><TD NOWRAP CLASS="eqno" WIDTH="10" ALIGN="RIGHT">(<SPAN CLASS="arabic">2</SPAN>)</TD></TR></TABLE></DIV><BR CLEAR="ALL"><P></P>
\begin{align}
<BR>abc &= bca \\
<BR>&= cba.
<BR>\end{align}
<BR>
<BR>Variante avec align* pour ne pas numéroter<BR> -
Au choix,
\begin{align}
...
\end{align}
ou
\begin{equation}
\begin{split}
...
\end{split}
\end{equation}
l'alignement se faisant avec des caractères &.
La première structure permet de faire du multicolonage, les changement de colonnes se faisant encore avec des &.
D'une façon, lorsqu'on veut faire du Latex "sérieusement", on commence par lire la doc (très lisible) des packages AMS, on gagne beaucoup de temps ensuite. -
Je préfère utiliser align au lieu d'array
<BR>il faut les packages ams dans le préambule
<BR><P></P><DIV ALIGN="CENTER" CLASS="mathdisplay"><TABLE CELLPADDING="0" WIDTH="100%" ALIGN="CENTER"><TR VALIGN="MIDDLE"><TD NOWRAP ALIGN="RIGHT"><SPAN CLASS="MATH"><IMG WIDTH="25" HEIGHT="30" ALIGN="MIDDLE" BORDER="0" SRC="http://www.les-mathematiques.net/phorum/2006/06/27/91730/cv/img1.png" ALT="$\displaystyle \newline abc$"></SPAN></TD><TD NOWRAP ALIGN="LEFT"><SPAN CLASS="MATH"><IMG WIDTH="42" HEIGHT="30" ALIGN="MIDDLE" BORDER="0" SRC="http://www.les-mathematiques.net/phorum/2006/06/27/91730/cv/img2.png" ALT="$\displaystyle = bca$"></SPAN></TD><TD NOWRAP CLASS="eqno" WIDTH="10" ALIGN="RIGHT">(<SPAN CLASS="arabic">1</SPAN>)</TD></TR><TR VALIGN="MIDDLE"><TD NOWRAP ALIGN="RIGHT"><SPAN CLASS="MATH"><IMG WIDTH="3" HEIGHT="29" ALIGN="MIDDLE" BORDER="0" SRC="http://www.les-mathematiques.net/phorum/2006/06/27/91730/cv/img3.png" ALT="$\displaystyle \newline$"></SPAN></TD><TD NOWRAP ALIGN="LEFT"><SPAN CLASS="MATH"><IMG WIDTH="46" HEIGHT="30" ALIGN="MIDDLE" BORDER="0" SRC="http://www.les-mathematiques.net/phorum/2006/06/27/91730/cv/img4.png" ALT="$\displaystyle = cba.
\newline$"></SPAN></TD><TD NOWRAP CLASS="eqno" WIDTH="10" ALIGN="RIGHT">(<SPAN CLASS="arabic">2</SPAN>)</TD></TR></TABLE></DIV><BR CLEAR="ALL"><P></P>
<BR>Variante avec align* pour ne pas numéroter<BR> -
Merci à tous
Connectez-vous ou Inscrivez-vous pour répondre.
Bonjour!
Catégories
- 163.1K Toutes les catégories
- 7 Collège/Lycée
- 21.9K Algèbre
- 37.1K Analyse
- 6.2K Arithmétique
- 53 Catégories et structures
- 1K Combinatoire et Graphes
- 11 Sciences des données
- 5K Concours et Examens
- 11 CultureMath
- 47 Enseignement à distance
- 2.9K Fondements et Logique
- 10.3K Géométrie
- 62 Géométrie différentielle
- 1.1K Histoire des Mathématiques
- 68 Informatique théorique
- 3.8K LaTeX
- 39K Les-mathématiques
- 3.5K Livres, articles, revues, (...)
- 2.7K Logiciels pour les mathématiques
- 24 Mathématiques et finance
- 312 Mathématiques et Physique
- 4.9K Mathématiques et Société
- 3.3K Pédagogie, enseignement, orientation
- 10K Probabilités, théorie de la mesure
- 772 Shtam
- 4.2K Statistiques
- 3.7K Topologie
- 1.4K Vie du Forum et de ses membres