[texhax] problem with align environment

Barbara Beeton bnb at ams.org
Wed Feb 18 15:12:45 CET 2009


hi, don,

the error is a wayward $ in line 4 (= 485):

    \begin{align*}  % [482]
            Z &= \overline{(\overline{A}.\overline{B} + C)} + (B.C) \\
              &= (\overline{\overline{A}.\overline{B}}.\overline{C}) + B.C    \\
              &= (\overline{\overline{A}} + \overline{\overline{B}}).$\overline{C} + BC \\
                                                                     ^ here
              &= (A + B).\overline{C} + B.C \\
              &= A.\overline{C} + B.\overline{C} + B.C \\
              &= A.\overline{C} + B.(\overline{C} + C)\\
              &= A.\overline{C} + B \\
    \end{align*}  % [490 ]

i first checked how many { and } and they
matched.  no help there.  so i then commented
out all but the first and last lines, ran it
(no problem), then uncommented lines one by
one until i hit the line that caused the
problem.  once the search was cut down to
one line, much easier to find the culprit.
							-- bb


More information about the texhax mailing list