On Mon, Sep 22, 2003 at 05:10:59PM +0200, Jean-Marc Lasgouttes spake thusly:
> 
> >>>>> "Martin" == Martin Vermeer <[EMAIL PROTECTED]> writes:
> 
> >>  Could also be fixed width or 'twice the natural size of this text'
> >> (like latex2e allows) or 'make the box square'...
> 
> Martin> Sure. Some easy, some not so easy. But ask the UI folks first
> Martin> :-)
> 
> Those are chosen to be easy examples. See usrguide.dvi, section 3.5.

Ah, but that makes it trivial! Thanks!

 
> Martin> OK, so minipage must be provided at least.
> 
> ... and in a way that replaces the minipage inset.

Eventually, why not.
  
> Martin> Getting better all the time... see attached.
> 
> Hmm, can you tell me what is the meaning of
> 
> +string const fboxwidth_def =
> +     "\\newcommand\\setfboxwidth[0]{%\n"
> +     "\\setlength\\w{\\columnwidth}\n"
> +     "\\addtolength\\w{-2\\fboxsep}\n"
> +     "\\addtolength\\w{-2\\fboxrule}}%\n";
> 
> You want to make sure that the size of the box is the outer size, and
> not the size devoted to text, right? This could be an option.

Precisely that.
 
> If you where to use calc.sty and output
> +             os << "%\n\\par\\fbox{\\parbox{<width> - 2\\fboxsep - 
> 2\\fboxrule}{%\n";
> instead of
> +             os << "%\n\\par\\setfboxwidth\\fbox{\\parbox{\\w}{%\n";

Actually I had calc as a requirement in my test version weeks ago :-)
I could certainly do it that way if it feels better.
 
> The corrections for oval box seem even worse. Concerning oval box, we
> have to wonder: do we really want to support natively such an ugly
> thing?

It is rather ugly, isn't it. I would have been happy with only fbox
(and perhaps shadowbox). Also fancybox interferes with TOC, which is
not nice. But is there anything better for this purpose?

> Also I cucur with Angus (?) that you should not use explicit values
> like "oval" or "Boxed", but rather some enum.

OK.
 
> JMarc

- Martin

Attachment: pgp00000.pgp
Description: PGP signature

Reply via email to