# [dev-context] Enhancements to core-des for theorems

Hans Hagen pragma at wxs.nl
Sun Jun 3 18:17:11 CEST 2007

```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

-----------------------------------------------------------------