Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Les deux révisions précédentesRévision précédente
domaines_specialises:mathematiques:arguments_contre_eqnarray2 [2018/12/04 00:07] jejustdomaines_specialises:mathematiques:arguments_contre_eqnarray2 [2020/11/16 07:48] (Version actuelle) – Suppression de la page reportée (et traduite) sur la page française. yannick.tanguy
Ligne 1: Ligne 1:
-====== Why not use `eqnarray`? ====== 
- 
- 
-The environment ''eqnarray'' is attractive for the 
-occasional user of mathematics in LaTeX documents: it seems to 
-allow aligned systems of equations.  Indeed it //does// supply such 
-things, but it makes a serious mess of spacing.  In the system: 
- 
-<code latex> 
-\begin{eqnarray} 
-  a & = & b + c \\ 
-  x & = & y - z 
-\end{eqnarray} 
-</code> 
-the spacing around the "=" signs is //not// that defined in the 
-metrics for the font from which the glyph comes --- it's 
-''\arraycolsep'', which may be set to some very odd value for reasons 
-associated with real arrays elsewhere in the document. 
- 
-The user is far better served by the 
-[[ctanpkg>amsmath|amsmath]] package, which 
-provides an ''align'' environment, which is designed with 
-the needs of mathematicians in mind (as opposed to the convenience of 
-LaTeX programmers).  For this simple case (''align'' and 
-other [[ctanpkg>amsmath|amsmath]] 
-alignment environments are capable of far greater 
-things), code as: 
- 
-<code latex> 
-\begin{align} 
-  a & = b + c \\ 
-  x & = y - z 
-\end{align} 
-</code> 
-The matter is discussed in more detail in a  
-[[https://tug.org/pracjourn/2006-4/madsen/madsen.pdf|PracTeX journal paper]] 
-by Lars Madsen; Stefan Kottwitz offers a  
-[[http://texblog.net/latex-archive/maths/eqnarray-align-environment/|TeX blog entry]] 
-which includes screen shots of the output, convincingly demonstrating 
-the problem. 
- 
- 
------ 
- 
-//Source:// [[faquk>FAQ-eqnarray|Why not use `eqnarray`?]] 
- 
-{{htmlmetatags>metatag-keywords=(LaTeX,usage) 
-metatag-og:title=(Why not use `eqnarray`?) 
-metatag-og:site_name=(FAQ LaTeX francophone) 
-}} 
  
4_domaines_specialises/mathematiques/arguments_contre_eqnarray2.1543882074.txt.gz · Dernière modification : 2018/12/04 00:07 de jejust
CC Attribution-Share Alike 4.0 International
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0