On Mon, Sep 22, 2003 at 02:33:47PM +0200, Jean-Marc Lasgouttes spake thusly: > > >>>>> "Martin" == Martin Vermeer <[EMAIL PROTECTED]> writes: > > Martin> This patch adds support for rectangular frames containing one > Martin> or more paragraphs of text, at the width of the column, using > Martin> the Note infrastructure. > > Why hardcoding the width?? Not everybody wants to to have boxen > with these features... > > Another approach would be to create an InsetBox inset which implements > (at least) latex's \mbox (and \makebox) \fbox (and \framebox), \parbox > and possibly minipage. > > From a LyX user point of view, one would have a single Insert>Box > command, and options to > > - set/unset border
Hmmm, perhaps. > - set a width (which could be columnwidth) The two most popular widths will be (corrected) \columnwidth and "adaptive" (i.e., don't put a parbox inside the fbox). I was considering at least having that in the Box dialog. But why not user-specified width as well. > - maybe select between minipage and parbox, although I am not sure > what the real advantages of parbox are here. Hmmm, would you recommend a minipage instead? What are the benefits/disadvantages? Yes, why not allow both (but if we don't quite understand the difference, will the user?) > Martin> It wouldn't be too hard to extend this to fancybox support. > > Martin> Does this look like the right thing to do? > > I do not like much the fact that you have chosen arbitrarily how a box > should look like. I think that you should let the user choose freely > what kind of boxing he wants. Patience my dear... > A byproduct of that would be to allow better importing of latex docs > through tex2lyx. > > JMarc > - Martin
pgp00000.pgp
Description: PGP signature