ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Re: rotated text and \setuppapersize
  2002-03-20 15:18 rotated text and \setuppapersize Bill McClain
@ 2002-03-20  5:03 ` Hans Hagen
  2002-03-20 20:18   ` Bill McClain
  0 siblings, 1 reply; 4+ messages in thread
From: Hans Hagen @ 2002-03-20  5:03 UTC (permalink / raw)
  Cc: ntg-context

At 09:18 AM 3/20/2002 -0600, Bill McClain wrote:
>I'm trying to make a tall thin page with text rotated, as on the spine
>of a book. This almost works:
>
>     \definepapersize[Spine][height=0.5625in, width=9in]
>     \setuppapersize[Spine,270][Spine,landscape]
>
>The text is oriented correctly, and I can tell by the background color
>that it is trying to make a page 0.5625in wide. However, the pdf
>document is really 9x9in, rather than the 0.5625in wide 9in tall page I
>would like.

... due to the landscape

Anyhow, how about a minimalistic approach:

\starttext

\startTEXpage
   \rotate
     [height=0.5625in,width=9in]
     {\definedfont[SerifBold at 36pt]A very nice title}%
\stopTEXpage

\stoptext

-------------------------------------------------------------------------
                                   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
-------------------------------------------------------------------------
                                   fall-back web server: 
www.pragma-ade.nl
-------------------------------------------------------------------------


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

* rotated text and \setuppapersize
@ 2002-03-20 15:18 Bill McClain
  2002-03-20  5:03 ` Hans Hagen
  0 siblings, 1 reply; 4+ messages in thread
From: Bill McClain @ 2002-03-20 15:18 UTC (permalink / raw)


I'm trying to make a tall thin page with text rotated, as on the spine
of a book. This almost works:

    \definepapersize[Spine][height=0.5625in, width=9in]
    \setuppapersize[Spine,270][Spine,landscape]

The text is oriented correctly, and I can tell by the background color
that it is trying to make a page 0.5625in wide. However, the pdf
document is really 9x9in, rather than the 0.5625in wide 9in tall page I
would like.

Can this be done with \setuppapersize, or other means? Do I have to use
metapost?

-Bill


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

* Re: rotated text and \setuppapersize
  2002-03-20  5:03 ` Hans Hagen
@ 2002-03-20 20:18   ` Bill McClain
  2002-03-21  9:54     ` Hans Hagen
  0 siblings, 1 reply; 4+ messages in thread
From: Bill McClain @ 2002-03-20 20:18 UTC (permalink / raw)
  Cc: ntg-context

Hans Hagen wrote:
> Anyhow, how about a minimalistic approach:
> 
> \starttext
> 
> \startTEXpage
>    \rotate
>      [height=0.5625in,width=9in]
>      {\definedfont[SerifBold at 36pt]A very nice title}%
> \stopTEXpage
> 
> \stoptext

That looks promising! But I can't find \def\rotate anywhere. Is there a
way to get 270 rotation instead of 90?

-Bill


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

* Re: rotated text and \setuppapersize
  2002-03-20 20:18   ` Bill McClain
@ 2002-03-21  9:54     ` Hans Hagen
  0 siblings, 0 replies; 4+ messages in thread
From: Hans Hagen @ 2002-03-21  9:54 UTC (permalink / raw)
  Cc: ntg-context

At 02:18 PM 3/20/2002 -0600, Bill McClain wrote:
>Hans Hagen wrote:
> > Anyhow, how about a minimalistic approach:
> >
> > \starttext
> >
> > \startTEXpage
> >    \rotate
> >      [height=0.5625in,width=9in]
> >      {\definedfont[SerifBold at 36pt]A very nice title}%
> > \stopTEXpage
> >
> > \stoptext
>
>That looks promising! But I can't find \def\rotate anywhere. Is there a
>way to get 270 rotation instead of 90?

rotation=270

-------------------------------------------------------------------------
                                   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
-------------------------------------------------------------------------
                                   fall-back web server: 
www.pragma-ade.nl
-------------------------------------------------------------------------


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

end of thread, other threads:[~2002-03-21  9:54 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-03-20 15:18 rotated text and \setuppapersize Bill McClain
2002-03-20  5:03 ` Hans Hagen
2002-03-20 20:18   ` Bill McClain
2002-03-21  9:54     ` 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).