* Specifying maximum width of a frame
@ 2006-06-13 16:36 Aditya Mahajan
2006-06-15 14:07 ` Hans Hagen
0 siblings, 1 reply; 2+ messages in thread
From: Aditya Mahajan @ 2006-06-13 16:36 UTC (permalink / raw)
Hi,
I want to specify the maximum width of a frame. If the size of the
box is smaller than the maximum width, I want a tight box. Something
like
\frame[maxwidth=5cm,align=middle]{Small} should give
+-----+
|small|
+-----+
while \frame[maxwidth=5cm,align=middle]{A very very long line that is
split at 5cm} should give
+----------------------+
| A very very long |
| line that is split |
| at 5cm |
+----------------------+
Is there something builtin that does this, or do I need to play with
scratchbox cum suis.
Aditya
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Specifying maximum width of a frame
2006-06-13 16:36 Specifying maximum width of a frame Aditya Mahajan
@ 2006-06-15 14:07 ` Hans Hagen
0 siblings, 0 replies; 2+ messages in thread
From: Hans Hagen @ 2006-06-15 14:07 UTC (permalink / raw)
Aditya Mahajan wrote:
> Hi,
>
> I want to specify the maximum width of a frame. If the size of the
> box is smaller than the maximum width, I want a tight box. Something
> like
>
> \frame[maxwidth=5cm,align=middle]{Small} should give
>
> +-----+
> |small|
> +-----+
>
> while \frame[maxwidth=5cm,align=middle]{A very very long line that is
> split at 5cm} should give
>
> +----------------------+
> | A very very long |
> | line that is split |
> | at 5cm |
> +----------------------+
>
> Is there something builtin that does this, or do I need to play with
> scratchbox cum suis.
>
that's a braindead extension; however, it will be 'autowidth=force' (default value is yes) because otherwise we get conflicts with existing maxwidth usage
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
-----------------------------------------------------------------
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-06-15 14:07 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-06-13 16:36 Specifying maximum width of a frame Aditya Mahajan
2006-06-15 14:07 ` Hans Hagen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).