ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Rotate multiline text
@ 2014-06-17 23:35 Aditya Mahajan
  2014-06-22 19:12 ` Hans Hagen
  0 siblings, 1 reply; 3+ messages in thread
From: Aditya Mahajan @ 2014-06-17 23:35 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
___________________________________________________________________________________
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  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Rotate multiline text
  2014-06-17 23:35 Rotate multiline text Aditya Mahajan
@ 2014-06-22 19:12 ` Hans Hagen
  2014-06-23 22:20   ` Aditya Mahajan
  0 siblings, 1 reply; 3+ messages in thread
From: Hans Hagen @ 2014-06-22 19:12 UTC (permalink / raw)
  To: ntg-context

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
-----------------------------------------------------------------
___________________________________________________________________________________
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  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Rotate multiline text
  2014-06-22 19:12 ` Hans Hagen
@ 2014-06-23 22:20   ` Aditya Mahajan
  0 siblings, 0 replies; 3+ messages in thread
From: Aditya Mahajan @ 2014-06-23 22:20 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
___________________________________________________________________________________
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  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-06-23 22:20 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-06-17 23:35 Rotate multiline text Aditya Mahajan
2014-06-22 19:12 ` Hans Hagen
2014-06-23 22:20   ` Aditya Mahajan

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).