ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Guy Worthington <guyw@multiline.com.au>
Subject: Re: Switching form portrait to landscape and back to portrait
Date: 20 Feb 2003 13:09:33 +0800	[thread overview]
Message-ID: <uel63mtbm.fsf@multiline.com.au> (raw)
In-Reply-To: <002b01c2d67b$04d562d0$0100a8c0@vademecum>

Willi Egger wrote:

> I am struggling with a document, where from time to time a landscape
> page is inserted.

If you've got your text in a float type environment (such as
\placetable), you can use the \rotate{} command.  Here's a small
example.  This will literally insert a landscape page, without a
header and without a footer.

----------

%output=pdf
\starttext

\input tufte

\startTEXpage

\rotate [height=210mm,
         width=297mm,
	 rotation=90]
    {\placetable{My Caption}{
       \bTABLE
       \bTR \bTD \eTD \bTD aaa\eTD \bTD b\eTD \eTR
       \bTR \bTD \eTD \bTD aaa\eTD \bTD b\eTD \eTR
       \bTR \bTD 11\eTD \bTD 111\eTD \bTD 5555\eTD \eTR
       \bTR \bTD 22\eTD \bTD 221\eTD \bTD 6655\eTD \eTR
       \eTABLE}}

\stopTEXpage

\doincrementpagenumber

\input tufte

\stoptext

----------

This example will float the table to the centre of the page, if you'd
like to anchor the float to the bottom of the page, you make have to
get out the \frame{} toolkit.

> How do I setup a correct switching [for this type of structure]?

> \chapter{One}
> 
> running tex A4
> 
> \chapter{Two}
> 
> landscape table A4
> 
> \chapter{Three}
> 
> running text A4

You want rotated chapter headings, headers and footers, etc., I've
never done that.

  reply	other threads:[~2003-02-20  5:09 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-02-17 11:52 Willi Egger
2003-02-20  5:09 ` Guy Worthington [this message]
2003-02-20 16:15   ` Willi Egger
2003-02-20 17:29     ` Hans Hagen
2003-02-20 21:32       ` Willi Egger

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=uel63mtbm.fsf@multiline.com.au \
    --to=guyw@multiline.com.au \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).