Switching form portrait to landscape and back to portrait
Dear list, I am struggling with a document, where from time to time a landscape page is inserted. \chapter{One} running tex A4 \chapter{Two} landscape table A4 \chapter{Three} running text A4 It sounds maybe stupid, but I tried different variations and I do not get what I need ... How do I setup a correct switching? Thanks for advice! Willi
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.
%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
Thanks a lot! This is the clue I needed. At least I am able to typeset the landscape pages and can have following pages in portrait again!
----------
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.
Basically I think, that it could be a good idea, to have a heder beeing rotatet with the content of the page. Sofar one can include the \chapter[]{} in the \rotate[]{} command and it is nicely rotated with the rest of the page. I will try further.... Thanks for your example! Willi
At 05:15 PM 2/20/2003 +0100, you wrote:
%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
Thanks a lot! This is the clue I needed. At least I am able to typeset the landscape pages and can have following pages in portrait again!
----------
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
\starttext \setuppapersize[A4,portrait][A4,portrait] \input tufte \page \setuppapersize[A4,landscape][A4,landscape] \input tufte \page \setuppapersize[A4,portrait][A4,portrait] \input tufte \page \stoptext
At 05:15 PM 2/20/2003 +0100, you wrote:
%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
Thanks a lot! This is the clue I needed. At least I am able to typeset
----- Original Message -----
From: "Hans Hagen"
landscape pages and can have following pages in portrait again!
----------
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
\starttext
\setuppapersize[A4,portrait][A4,portrait]
\input tufte \page
\setuppapersize[A4,landscape][A4,landscape]
\input tufte \page
\setuppapersize[A4,portrait][A4,portrait]
\input tufte \page
\stoptext
Ah, I need to say [A4,portrait] and \page. - I fiddled a long time with \setuppapersize but never added portrait to the command! - And therefore it did not work. Thanks a lot, I have now what I was looking for! Willi
participants (3)
-
Guy Worthington
-
Hans Hagen
-
Willi Egger