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? Aditya
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 -----------------------------------------------------------------
On Sun, 22 Jun 2014, Hans Hagen wrote:
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
Thanks. I updated and indeed this is working correctly. Sorry about the noise. Aditya
participants (2)
-
Aditya Mahajan
-
Hans Hagen