Path: utzoo!censor!geac!torsqnt!lethe!yunexus!ists!helios.physics.utoronto.ca!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!usc!sdd.hp.com!ucsd!ucbvax!bloom-beacon!eru!hagbard!sunic!dkuug!iesd!iesd.auc.dk!krab From: krab@iesd.auc.dk (Kresten Krab Thorup) Newsgroups: comp.text.tex Subject: QED sign at end of \eqnarray Message-ID: Date: 11 Jan 91 16:33:07 GMT Sender: news@iesd.auc.dk (UseNet News) Distribution: comp Organization: Mathematics and Computer Science, University of Aalborg Lines: 43 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 -- ( . (. ) ) ) ( ( .________. | | __| | )) Kresten Krab Thorup | | //| Institute for electronic systems `---`-`------'---' Dept. of mathemathics and computer science Coffee - coffee - coffee .... Aalborg University - Denmark, EC