Am 13.02.2009 um 21:16 schrieb Alan Stone:

Thanks Wolfgang. I don't understanf the use of location=middle though...

\starttext

\framed[%
location=middle,
align=middle,
height=5cm,
width=\hsize,
frame=on]
{some text}

\framed[%
align=middle,
height=5cm,
width=\hsize,
frame=on]
{some text}

\stoptext

You need text before/after the box to see the effect of location.

\def\showbox#1%
{\ruledvbox{#1: text \framed[location=#1,width=1cm,align=right] {text text text} text}}

\starttext
\showbox{normal}
\showbox{middle}
\showbox{top}
\showbox{bottom}
\stoptext

Wolfgang

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to