I have a problem to make a landscape document since I install MiKTeX 2.7.
I've used portland package, and \landscape command for this, earlier, but now
it is not working. Also, if I use \documentclass[landscape]{article}, the text looks
like landscape, but the paper below is still portrait.
Does anyone know what is the problem? Thank you.
General ⇒ Problem with landscape in MiKTeX 2.7
NEW: TikZ book now 40% off at Amazon.com for a short time.

- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Problem with landscape in MiKTeX 2.7
Provide a minimal working example (MWE) to clarify what is going wrong. Follow carefully the hints and descriptions on the site behind the link.
Best regards and welcome to the board
Thorsten¹
Best regards and welcome to the board
Thorsten¹
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Re: Problem with landscape in MiKTeX 2.7
Thanks for quick respond.
I attached two examples, one with landscape options in documentclass command
an one using the portland package, and also pdfs I get after latex, dvi2pdf.
Bye, SMM
I attached two examples, one with landscape options in documentclass command
an one using the portland package, and also pdfs I get after latex, dvi2pdf.
Bye, SMM
- Attachments
-
- landscape2.zip
- (5.74 KiB) Downloaded 193 times
-
- landscape.zip
- (5.7 KiB) Downloaded 186 times
- Stefan Kottwitz
- Site Admin
- Posts: 10345
- Joined: Mon Mar 10, 2008 9:44 pm
Problem with landscape in MiKTeX 2.7
Hi SMM,
welcome to the board!
The portland package is very old and as you could see it's not working perfectly. For inserting landscape oriented pages I recommend to use the lscape package instead, if dvi output is needed or pdflscape for pdflatex.
If the whole document should be in landscape orientation the mentioned packages are not needed. The landscape option to the article class is good but not enough. It interchanges the values of \paperheight and \paperwidth but doesn't touch \pdfpagewidth or \pdfpageheight. For pdflatex it could be fixed by
perhaps see Paper sizes with pdfTeX or just load the geometry package instead:
it will correct it too.
Stefan
welcome to the board!
The portland package is very old and as you could see it's not working perfectly. For inserting landscape oriented pages I recommend to use the lscape package instead, if dvi output is needed or pdflscape for pdflatex.
If the whole document should be in landscape orientation the mentioned packages are not needed. The landscape option to the article class is good but not enough. It interchanges the values of \paperheight and \paperwidth but doesn't touch \pdfpagewidth or \pdfpageheight. For pdflatex it could be fixed by
Code: Select all
\setlength{\pdfpagewidth}{\paperwidth}
\setlength{\pdfpageheight}{\paperheight}
Code: Select all
\usepackage{geometry}
Stefan
LaTeX.org admin
Re: Problem with landscape in MiKTeX 2.7
It works!! Thank you!!
Bye...
Bye...