Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Page number location for page with landscape table (sideways)

517 views
Skip to first unread message

gara...@gmail.com

unread,
Apr 28, 2006, 1:20:50 PM4/28/06
to
Hi,

I'd like to know the convention followed for the location of the page
number on a page that has, say only one table in landscape orientation.
Should the page number show up at the bottom of the page, like other
pages with normal text? Or should it be moved to the right side of the
page, thereby staying in the same orientation as the table (i.e.,
rotated 90 deg anti-clockwise)?

If it is the latter case, then could you tell me how to get the page
number in that fashion? I use the following to put the table sideways:
\begin{sidewaystable}
\centering
.....input for table....
\caption{the caption}
\label{label}
\end{sidewaystable}

Thanks!

Ted Pavlic

unread,
Apr 28, 2006, 2:21:03 PM4/28/06
to
I would verify this myself, but at the moment my Internet connection
seems to be preventing me from getting to the pages that would let me.

Take a look at the lscape package. It has an environment that will flip
a page 90 degrees making it landscape (so you could use this instead of
sidewaystable). I'm pretty sure that when I've used this package, if
you surround an entire page with it, it will flip the page number as
well. This is what I wanted to verify and couldn't.

That's the lscape ("el-scape") package.

gara...@gmail.com

unread,
Apr 28, 2006, 2:32:21 PM4/28/06
to
I tried using \begin{landscape}...\end{landscape}. To be more specific,
I included a figure on a separate page enclosed in the above
environment. The resulting output shows the figure by iteslf in
landscape mode (which is expected), but the page number is still at the
original position (i.e., in line with the other pages). Could you
please explain what is meant by "surround an entire page with the
landscape environment"?

Thanks!

Benoit RIVET

unread,
Apr 28, 2006, 2:36:43 PM4/28/06
to
gara...@gmail.com <gara...@gmail.com> wrote:

> I'd like to know the convention followed for the location of the page
> number on a page that has, say only one table in landscape orientation.
> Should the page number show up at the bottom of the page, like other
> pages with normal text? Or should it be moved to the right side of the
> page, thereby staying in the same orientation as the table (i.e.,
> rotated 90 deg anti-clockwise)?

Just try and imagine a book where you find such table in landscape
orientation. Do you really believe you want header and footer on the
left or right side of the page, or do you want them to be exactly in the
same position as other pages of the book ?

--
Benoīt RIVET

gara...@gmail.com

unread,
Apr 28, 2006, 2:46:20 PM4/28/06
to
Well, unfortunately it isn't at my discretion currently! I believe that
the page numbers should be in the same position on every page. BUT,
there is this thesis editor, who doesn't seem to buy that. And the only
(blind) argument she has is that "this is how you can do with MS
WORD". And also, there is not enough time to try to convince her
otherwise...submission deadline in 3 hrs!

So, putting aside what is conventional practice, my problem now is "Is
there a way in LaTeX to achieve the task of rotating the page number
along with the object (table or figure)?"

Your help is GREATLY appreciated.

Thanks!

Dan Luecking

unread,
Apr 28, 2006, 2:52:45 PM4/28/06
to
On 28 Apr 2006 10:20:50 -0700, "gara...@gmail.com"
<gara...@gmail.com> wrote:

>Hi,
>
>I'd like to know the convention followed for the location of the page
>number on a page that has, say only one table in landscape orientation.
>Should the page number show up at the bottom of the page, like other
>pages with normal text?

Yes. Actually it could be at any position, but it should be the
same position as it appears on other pages. If you flip through
pages looking for a particular one, you don't want them to be
moving around.

>Or should it be moved to the right side of the
>page, thereby staying in the same orientation as the table (i.e.,
>rotated 90 deg anti-clockwise)?

No. This would only benefit someone who had already found the
page, and turned it sideways, and forgot what page it was, and
needed to know, and didn't want to turn it back, and couldn't
read it sideways. :-)

>
>If it is the latter case, then could you tell me how to get the page
>number in that fashion? I use the following to put the table sideways:
> \begin{sidewaystable}
> \centering
> .....input for table....
> \caption{the caption}
> \label{label}
> \end{sidewaystable}

Hack the internals of the latex output routine.

Alternatively, write a case-by-case kludge with a picture
environment, located just under the caption, that had height
and depth 0pt and \put the page number at a point with large
negative y-coordinate.

Better yet, don't do it.

Dan
To reply by email, change LookInSig to luecking
*** Posted via a free Usenet account from http://www.teranews.com ***

gara...@gmail.com

unread,
Apr 28, 2006, 3:30:19 PM4/28/06
to
OK..so there is slight change in how this requirement is
interpreted..In the PDF document, this is how it is supposed to look:
potrait page..potrait page ..page with landscape object (but it is
rotated by 90 deg again so as to be in the same viewing orientation as
the other pages, only that the page is now wider)..potrait
page..potrait page.

Any pointers on how to get this? basically I'll need to have landscape
dimension for the page containing the wide table..And I won't need to
use sideways environment.

Thanks!

Benoit RIVET

unread,
Apr 28, 2006, 4:18:47 PM4/28/06
to
gara...@gmail.com <gara...@gmail.com> wrote:

> Well, unfortunately it isn't at my discretion currently! I believe that
> the page numbers should be in the same position on every page. BUT,
> there is this thesis editor, who doesn't seem to buy that. And the only
> (blind) argument she has is that "this is how you can do with MS
> WORD". And also, there is not enough time to try to convince her
> otherwise...submission deadline in 3 hrs!

I feel sorry for you.

> So, putting aside what is conventional practice, my problem now is "Is
> there a way in LaTeX to achieve the task of rotating the page number
> along with the object (table or figure)?"
>
> Your help is GREATLY appreciated.

My first guess would be to prepare the pages separately in two distinct
documents, and include them in the final doc with pdfpages.sty (assuming
you use pdflatex).

Example:

\documentclass[12pt,a4paper]{article}
\usepackage{pdfpages}

\begin{document}

\includepdf[pages={1-2}, nup=1x1]{main.pdf}
\includepdf[pages={1}, landscape, nup=1x1]{table.pdf}
\includepdf[pages={3-4}, nup=1x1]{main.pdf}

\end{document}

Note that the page taken from table.pdf will be in landscape mode.

The only problem shall be to get the right page numbers in the final
document.

If you include the pages from table.pdf directly in main.tex, you only
have to define the page numbers in table.tex, which may be tedious
enough.

--
Benoīt RIVET

gara...@gmail.com

unread,
Apr 28, 2006, 7:18:47 PM4/28/06
to
Thanks, Benoît! Your suggestion worked for me..

Ulrike Fischer

unread,
Apr 29, 2006, 4:32:56 AM4/29/06
to
"gara...@gmail.com" <gara...@gmail.com> schrieb:

You can change \pdfpaperwidth and \pdfpaperheight (or was it
\pdfpagewidth and \pdfpagewidth -> google) for a page in a document.
Then you don't need to rotate to table or the landscape object.

There isn't a good solution for the header problem: when printed the
header should be a the same portrait-position as on the other pages,
but on screen this looks a bit silly, there it would be better if the
header where on the landscape side (and it layout should be adapted).
If the document should be printed and read on screen the best is to use
\thispagestyle{empty}.

--
Ulrike Fischer
e-mail: zusätzlich meinen Vornamen vor dem @ einfügen.
e-mail: add my first name between the news and the @.

0 new messages