diff options
Diffstat (limited to 'Master/texmf-dist/doc/generic/FAQ-en/html/FAQ-eqnarray.html')
-rw-r--r-- | Master/texmf-dist/doc/generic/FAQ-en/html/FAQ-eqnarray.html | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/generic/FAQ-en/html/FAQ-eqnarray.html b/Master/texmf-dist/doc/generic/FAQ-en/html/FAQ-eqnarray.html new file mode 100644 index 00000000000..8e023a4e0e0 --- /dev/null +++ b/Master/texmf-dist/doc/generic/FAQ-en/html/FAQ-eqnarray.html @@ -0,0 +1,38 @@ +<head> +<title>UK TeX FAQ -- question label eqnarray</title> +</head><body> +<h3>Why not use <code>eqnarray</code>?</h3> +<p/>The environment <code>eqnarray</code> is attractive for the +occasional user of mathematics in LaTeX documents: it seems to +allow aligned systems of equations. Indeed it <em>does</em> supply such +things, but it makes a serious mess of spacing. In the system: +<blockquote> +<pre> +\begin{eqnarray} + a & = & b + c \\ + x & = & y - z +\end{eqnarray} +</pre> +</blockquote><p> +the spacing around the “=” signs is <em>not</em> that defined in the +metrics for the font from which the glyph comes — it’s +<code>\</code><code>arraycolsep</code>, which may be set to some very odd value for reasons +associated with real arrays elsewhere in the document. +<p/>The user is far better served by the AMSLaTeX bundle, which +provides an <code>align</code> environment, which is designed with +the needs of mathematicians in mind (as opposed to the convenience of +LaTeX programmers). For this simple case (align is capable of far +greater things), code as: +<blockquote> +<pre> +\begin{align} + a & = b + c \\ + x & = y - z +\end{align} +</pre> +</blockquote><p> +<dl> +<dt><tt><i>AMSLaTeX</i></tt><dd><a href="ftp://cam.ctan.org/tex-archive/macros/latex/required/amslatex.zip">macros/latex/required/amslatex</a> (<a href="ftp://cam.ctan.org/tex-archive/macros/latex/required/amslatex.tar.gz">gzipped tar</a>, <a href="http://www.tex.ac.uk/tex-archive/macros/latex/required/amslatex/">browse</a>) +</dl> +<p/><p>This question on the Web: <a href="http://www.tex.ac.uk/cgi-bin/texfaq2html?label=eqnarray">http://www.tex.ac.uk/cgi-bin/texfaq2html?label=eqnarray</a> +</body> |