
Aditya Mahajan wrote:
I had a look at \wordright. The trouble is that \wordright makes no attempt to prevent a page break if it is on a line of its own. It it can be enhanced to take that into account, that is fine with me. The placed of endofproof symbol is complicated. amsthm, does something similar to qed.sty, while ntheorem goes into a two pass mechansim to get the placement right.
i never tested it but in pdftex we can add a "\vadjust pre {\nobreak}" ; the problem with tricks is that it will break other things; the only work in controlled situations
Yes, but that is doing a lot of work simply to inherit the number. well, as long as tex is doing the work ... the advantage is that other number related things also inherit
Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------