quick simple latex question
Hi, I just cannot find out how to set the a4paper to landscape. I use: \usepackage{portland} \begin{document} \landscape \end{document} But it does not work Please help me... Shao. -- Shao Zhang - Running Debian 2.1 ___ _ _ Department of Communications/ __| |_ __ _ ___ |_ / |_ __ _ _ _ __ _ University of New South Wales \__ \ ' \/ _` / _ \ / /| ' \/ _` | ' \/ _` | Sydney, Australia |___/_||_\__,_\___/ /___|_||_\__,_|_||_\__, | Email: [EMAIL PROTECTED] |___/ _
Re: quick simple latex question
On Tue, Aug 10, 1999 at 08:34:55PM +1000, Shao Zhang wrote: Hi, I just cannot find out how to set the a4paper to landscape. I use: \usepackage{portland} \begin{document} \landscape \end{document} But it does not work What do you mean, it does not work? I suggest you give use the smallest bit of LaTeX code that is functuonally equivalent to what you're doing. What you wrote above may be it if you add a \documentclass and some text after the \landscape. Anyway, strip down your document to get rid of superfluous crap and then post it. i'll try to figure out what's wrong. The problem is, there's nothing wrong with what you posted, so it must be something else, but you gave us neither the LaTeX error output nor the symptoms of not work[ing]. -Michael -- Michael Stenner Office Phone: 919-660-2513 Duke University, Dept. of Physics [EMAIL PROTECTED] Box 90305, Durham N.C. 27708-0305
Re: quick simple latex question
Hi, There is no latex errors. The file.tex compiled fine. When I view it using gv, it still displays as portrait. If I use gv -landscape, it changes the page size and then rotates my document 90 degrees... If I lpr -Pprinter file.ps, it comes out in portrait. Thanks. Shao. Michael Stenner [EMAIL PROTECTED] wrote: On Tue, Aug 10, 1999 at 08:34:55PM +1000, Shao Zhang wrote: Hi, I just cannot find out how to set the a4paper to landscape. I use: \usepackage{portland} \begin{document} \landscape \end{document} But it does not work What do you mean, it does not work? I suggest you give use the smallest bit of LaTeX code that is functuonally equivalent to what you're doing. What you wrote above may be it if you add a \documentclass and some text after the \landscape. Anyway, strip down your document to get rid of superfluous crap and then post it. i'll try to figure out what's wrong. The problem is, there's nothing wrong with what you posted, so it must be something else, but you gave us neither the LaTeX error output nor the symptoms of not work[ing]. -Michael -- Michael Stenner Office Phone: 919-660-2513 Duke University, Dept. of Physics [EMAIL PROTECTED] Box 90305, Durham N.C. 27708-0305 -- Unsubscribe? mail -s unsubscribe [EMAIL PROTECTED] /dev/null -- Shao Zhang - Running Debian 2.1 ___ _ _ Department of Communications/ __| |_ __ _ ___ |_ / |_ __ _ _ _ __ _ University of New South Wales \__ \ ' \/ _` / _ \ / /| ' \/ _` | ' \/ _` | Sydney, Australia |___/_||_\__,_\___/ /___|_||_\__,_|_||_\__, | Email: [EMAIL PROTECTED] |___/ _
Re: quick simple latex question
Quoting Shao Zhang ([EMAIL PROTECTED]): Hi, There is no latex errors. The file.tex compiled fine. When I view it using gv, it still displays as portrait. If I use gv -landscape, it changes the page size and then rotates my document 90 degrees... If I lpr -Pprinter file.ps, it comes out in portrait. This prompts me to ask how you got from file.tex to file.ps. I get the impression from the LaTeX Companion that portland requires you to insert \special commands (after the \clearpage commands) to turn the page. I use lscape myself which works fine. It'll happily do A3 landscape too with dvips -t a3 -m -O and some offsets, picking up the A3 from the manual feed tray. Michael Stenner [EMAIL PROTECTED] wrote: On Tue, Aug 10, 1999 at 08:34:55PM +1000, Shao Zhang wrote: Hi, I just cannot find out how to set the a4paper to landscape. I use: \usepackage{portland} \begin{document} \landscape \end{document} But it does not work Cheers, -- Email: [EMAIL PROTECTED] Tel: +44 1908 653 739 Fax: +44 1908 655 151 Snail: David Wright, Earth Science Dept., Milton Keynes, England, MK7 6AA Disclaimer: These addresses are only for reaching me, and do not signify official stationery. Views expressed here are either my own or plagiarised.
Re: quick simple latex question
On 08/10/99 at 15:14:49, David Wright wrote concerning Re: quick simple latex question: I get the impression from the LaTeX Companion that portland requires you to insert \special commands (after the \clearpage commands) to turn the page. I use lscape myself which works fine. It'll happily do A3 landscape too with dvips -t a3 -m -O and some offsets, picking up the A3 from the manual feed tray. I usually use the geometry package for setting up the pages just the way I want -- dimensions, portrait/landscape, left/right, etc. It's got built-in support for passing \special commands through dvips with the dvips option. Then, if needed, I'll use dvidvi or pstops to rearrange the pages into multiple-up sets. The latter is better for documents with graphics, as they wouldn't be included in the .dvi file. hth, Jesse -- Jesse Jacobsen, Pastor [EMAIL PROTECTED] Grace Lutheran Church (ELS) http://www.jvlnet.com/~jjacobsen/ Madison, Wisconsin GnuPG public key ID: 2E3EBF13
Re: quick simple latex question
* Shao Zhang [EMAIL PROTECTED] writes: Hi, There is no latex errors. The file.tex compiled fine. When I view it using gv, it still displays as portrait. If I use gv -landscape, it changes the page size and then rotates my document 90 degrees... If I lpr -Pprinter file.ps, it comes out in portrait. Thanks. Shao. Michael Stenner [EMAIL PROTECTED] wrote: On Tue, Aug 10, 1999 at 08:34:55PM +1000, Shao Zhang wrote: Hi, I just cannot find out how to set the a4paper to landscape. I use: \usepackage{portland} \begin{document} \landscape \end{document} But it does not work You need to make the PS file to be in landscape format. From the dvips man page: -t papertype This sets the paper type to papertype. The paperĀ type should be defined in one of the configuration files, along with the appropriate code to select it. (Currently known types include letter, legal, ledger, a4, a3, ) You can also specify -t landĀ scape, which rotates a document by 90 degrees. To rotate a document whose size is not letter, you can use the -t option twice, once for the page size, and once for landscape. The upper left corner of Furthermore, portland is from LaTeX2.09 (AFAIK) and therefore obsolete. Use the lscape package (included in the standard graphics bundle). Depending on your needs (tables etc.), you could also try the rotating package. HTH, Colin -- Colin Marquardt [EMAIL PROTECTED]
Re: quick simple latex question
Shao Zhang [EMAIL PROTECTED] wrote I just cannot find out how to set the a4paper to landscape. I use: [..] \usepackage{portland} LaTeX2e has the landscape option built in, so portland is not needed. You need portland if you want to switch between landscape and portland in a single document. The only problem is, that you have to tell the printer driver to switch to landscape. The following document will be printed in landscape when it is converted to ps with dvips (the most generally used printer driver): \documentclass[11pt,a4paper,landscape]{artikel3} \special{landscape} \begin{document} This document is in landscape. Look for yourself. \end{document} The \special{} is included tot tell dvips to print in landscape. Paul Huygen