[texhax] using align, array, eqnarry within tabular environment

Barbara Beeton bnb at ams.org
Fri Apr 10 16:03:53 CEST 2009


this morning you answered phil ratcliffe
regarding the re-use of align;

    But align within minipage still does not work for me - I get too many } or & error in that case.
    Since yesterday I have found that I can get it to work with a series of equations with $$ within tabular
    $eqn1$ \\
    or even with an array environment within an equation environment within minipage with \tabularnewline, within tabular.
    Is there perhaps an equivalent replacement for & as there is for \\ with \tabularnewline that you (or the list) know of?
this really isn't the proper approach.
perhaps you missed the message i sent
in response to your initial query:
  the align environment works only at "outer" level
  (which can be directly within a minipage); it
  cannot be used within any other environment,
  particularly within another display environment.
  instead, use the aligned environment:

         \flushleft text
       \end{minipage} &
           x & = y+1  \\
           z & = 2 x

  see the section on "alignment building blocks" in
  the amsmath user's guide (amsldoc.pdf), p.7.
  any of these subsidiary environments must be
  in math mode.
since i'm at least partly in charge of the
official documentation for amsmath, i'm
quite sure this is the proper approach.
							-- bb

More information about the texhax mailing list