krab@iesd.auc.dk (Kresten Krab Thorup) (01/12/91)
This problem can be solved by redefining the `\theequation' macro,
to let it produce a box, and letting the `\stepequation' be a null-
macro. Insert this in your preamble...
\def\makeqed{%
\def\stepcounter#1{}%
\def\theequation{\rule[2pt]{5pt}{5pt}}%
}
As an equation array is a TeX-`group', using the new command \makeqed
will put `QED'-marks at the right of all equations from where it
placed, and to the end of that array.
Let's have an example:
\begin{eqnarray}{rl}
Math & formula \\
more math & more math \makeqed
\end{eqnarray}
which produces somewhat like:
Math formula (2.13)
more math more math []
Please dont blame me if it doesn't work...
I hope you can use this
/Kresten
--
( .
(. ) )
) ( (
.________. <krab@iesd.auc.dk>
| | __|
| )) Kresten Krab Thorup
| | //| Institute for electronic systems
`---`-`------'---' Dept. of mathemathics and computer science
Coffee - coffee - coffee .... Aalborg University - Denmark, EC