* puzzled
@ 2003-03-30 20:52 Marko Schuetz
2003-03-31 6:40 ` puzzled Hans Hagen
0 siblings, 1 reply; 2+ messages in thread
From: Marko Schuetz @ 2003-03-30 20:52 UTC (permalink / raw)
I'm trying to put a right brace to the right of a framed box and
thought I could do this:
\starttext
$\left. \framed[width=7cm,align=right,height=fit]{
something here \hairline
\vphantom{something here} \hairline
\vphantom{something here}
} \right\} \text{entries for something}$
\stoptext
but the brace is almost exactly twice as tall as the framed box.
All help is appreciated!
Thanks
Marko
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: puzzled
2003-03-30 20:52 puzzled Marko Schuetz
@ 2003-03-31 6:40 ` Hans Hagen
0 siblings, 0 replies; 2+ messages in thread
From: Hans Hagen @ 2003-03-31 6:40 UTC (permalink / raw)
At 10:52 PM 3/30/2003 +0200, you wrote:
>I'm trying to put a right brace to the right of a framed box and
>thought I could do this:
>
>\starttext
>$\left. \framed[width=7cm,align=right,height=fit]{
>something here \hairline
>\vphantom{something here} \hairline
>\vphantom{something here}
>} \right\} \text{entries for something}$
>\stoptext
>
>but the brace is almost exactly twice as tall as the framed box.
Looks like a side effect of those braces: they span 50% width +50% height,
and the framed is height only, so:
$\left.
\vcenter{\framed
[width=7cm,align=right,height=fit]
{something here \hairline \hairline}}
\right\} \text{entries for something}$
as you can see, the phantoms are not needed
Hans
-------------------------------------------------------------------------
Hans Hagen | PRAGMA ADE | pragma@wxs.nl
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-------------------------------------------------------------------------
information: http://www.pragma-ade.com/roadmap.pdf
documentation: http://www.pragma-ade.com/showcase.pdf
-------------------------------------------------------------------------
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2003-03-31 6:40 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-03-30 20:52 puzzled Marko Schuetz
2003-03-31 6:40 ` puzzled 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).