General ⇒ Problem with landscape in MiKTeX 2.7
Problem with landscape in 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.
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Problem with landscape in MiKTeX 2.7
Best regards and welcome to the board
Thorsten¹
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Re: Problem with landscape in MiKTeX 2.7
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 197 times
-
- landscape.zip
- (5.7 KiB) Downloaded 190 times
- Stefan Kottwitz
- Site Admin
- Posts: 10360
- Joined: Mon Mar 10, 2008 9:44 pm
Problem with landscape in MiKTeX 2.7
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
Re: Problem with landscape in MiKTeX 2.7
Bye...