## LaTeX forum ⇒ LyX ⇒ Landscape, page number, alignment

Information and discussion about LyX, a WYSIWYM editor, available for Linux, Windows and Mac OS X systems.
Nicki
Posts: 1
Joined: Tue Apr 30, 2019 11:01 pm

### Landscape, page number, alignment

Hello,

I am a beginner but I want to have some selected pages of my article in landscape and the rest in display. When I use
\begin{landscape}
the page is indeed rotated but the page number doesn't rotate as well. How can I fix this? For now I have manually added the page number by
\vfill \raisebox{-4.79cm}{\makebox[\linewidth]{\thepage}}
but this doesn't look nice.

Another problem is that I my floating object is not centered. This is because Lyx still thinks this is a page in display mode only rotated by 90°. So I want to rotate the spacing of the margins as well. How can I do that?

Help is highly appreciated! Thanks in advance!

The image attached shows what my pdf file looks like right now.
Attachments
Bildschirmfoto 2019-04-30 um 23.09.03.png (173.82 KiB) Viewed 579 times

Ijon Tichy
Posts: 274
Joined: Mon Dec 24, 2018 10:12 am
You are using package lscape or pdflscape for {landscape}, don't you? If so, this is the expected and the intention of the package. The page head and page footer should not be rotated, because these are used for the user orientation, e.g., while he is searching for a page or section. It would be very annoying if the reader has to rotate the book at every rotated page.

If you want a page with real changed dimensions, you can do this changing the page sizes. Package typearea provides changing page sizes inside the document. But I do not know how to use this package with LyX, because I do not use LyX (it is too restrictive for me and produces ugly code).