## Re: [MiKTeX] problem with writing math expressions

 Re: [MiKTeX] problem with writing math expressions From: Luis A. Payan R. - 2004-06-29 13:17:35 ;-) Ok, now I have another alternative to align equations. I understand that align equations by means of eqnarray is just a trick. Regards... Morten Høgholm wrote: > On Mon, 28 Jun 2004 15:36:01 -0500, Luis A. Payan R. > wrote: > >> Eqnarray could work as good as align environmet, just it is >> necessary correct the space around equal symbol, try the next document: > > > There is more to this than you might think. Remember that any arrays > inside an eqnarray where you have altered \arraycolsep will also be > affected. Furthermore there is also a question of visual appearance. > Try running this document: > > \documentclass{article} > \usepackage{amsmath} > \begin{document} > % Just for showing the margins: > \noindent > \raisebox{-\textheight}[0pt][0pt]{\rule{.1pt}{\textheight}} > \hfill\raisebox{-\textheight}[0pt][0pt]{\rule{.1pt}{\textheight}} > > \setcounter{equation}{10} > > > {\setlength\arraycolsep{.16667em}% 3mu = 3/18em > \begin{eqnarray} > a&=&b + \begin{array}{cc} > 1 & 2 \\ > x & y > \end{array} > \end{eqnarray} > } > \begin{align} > a &=b + \begin{array}{cc} > 1 & 2 \\ > x & y > \end{array} > \end{align} > > {\setlength\arraycolsep{.16667em}% 3mu = 3/18em > \begin{eqnarray} > a&=&b + \framebox[.7\columnwidth]{Wide math; not adjusted} > \end{eqnarray} > } > \begin{align} > a &=b + \framebox[.7\columnwidth]{Wide math; adjusted} > \end{align} > > {\setlength\arraycolsep{.16667em}% 3mu = 3/18em > \begin{eqnarray} > a&=&b + > \framebox[.83\columnwidth]{Wide math overprinting the equation number} > \end{eqnarray} > } > \begin{align} > a &=b + > \framebox[.83\columnwidth]{Wide math; equation number shifted to > avoid overprinting} > \end{align} > \end{document} > > Cheers, -- Luis Alfredo Payan Rodriguez ____________________________ listas@... http://www.alpanet.org