Hello everybody, for everybody who wants some frame DIRECTLY AROUND THE EQUATION, and not over the whole width of the page, AND NUMBERING OUTSIDE THE FRAME, this may be interesting: I've modified some solution (by Phillip Helbig) from the Googlegroups-mail-archieve, which draws the frame in an LaTeX-document, so that it can be used in LyX. All one has to do is:
1. define the following "savebox" the document-header: \newsavebox{\ggbox} 2. define a new macro by typing: \newcommand{\equationbox}[1] {\savebox{\ggbox}{$\displaystyle #1$}\fbox{\usebox{\ggbox}}}, (afterwards marking it and typing C-m) Of course there are disadvantages, especially the ERT displayed around the framed equation in LyX-output, but I hope th fix this somehow - perhaps somebody of you has an idea how to implement this better. I think it works, because the argument of \fbox is no longer some "equation code" (\alpha,\frac etc.), but another box. And best thing is: One can theres no problem with the references, because of two defined eqnarrays in two boxes like its on the previous solution (see the last mails concerning this topic). References are easily handeled, like before with the LyX-menu. -Kai- -- Kai Johannes Keller <[EMAIL PROTECTED]>