[NTG-context] Rotate multiline text

Hans Hagen pragma at wxs.nl
Sun Jun 22 21:12:07 CEST 2014


On 6/18/2014 1:35 AM, Aditya Mahajan wrote:
> Hi,
>
> I want to rotate a multiline text by 90 degrees, and I thought that
> \framed[orientation=90] should do that. But it does not work as expected.
>
> \defineframed[tightbox] [align=middle, width=fit, height=fit]
> \defineframed[rotatebox][tightbox][orientation=90]
>
> \starttext
>
> \startlines
> ABC \rotatebox{Random \crlf text } ABC
> ABC \rotate{\tightbox{Random \crlf text }} ABC
> \stoplines
>
> \stoptext
>
> I would like \rotatebox to behave the same as \rotate{\tightbox{..}},
> but it does not. It appears that the width (or height?) or \rotatebox is
> set to broad.
>
> Am I missing a magic option or is this a bug?

works ok here

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
     tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
                                              | www.pragma-pod.nl
-----------------------------------------------------------------


More information about the ntg-context mailing list