# [texhax] Changing papersize

Michael Barr barr at math.mcgill.ca
Tue Mar 23 23:56:37 CET 2010

On Tue, 23 Mar 2010, Reinhard Kotucha wrote:

> On 23 March 2010 Michael Barr wrote:
>
> > According to the Latex Companion, the following ought to give me an 8.5 x
> > 14 inch page.
> > \documentclass[legalpaper]{article}
> > \pagestyle{plain}
> > \textheight 9in
> > \begin{document}
> > Test
> > \end{document}
> > If it did, there would be a page number visible and there isn't.  How do I
> > change papersize?
>
> You have to either \usepackage{geometry} or \usepackage{hyperref}.
>
> Both packages are using the optional argument of \documentclass and
> put appropriate code into the PDF or DVI file.
>
> Regards,
>  Reinhard
>
>

I did get it in the pdf version, but not in the dvi file.  On a longer
view it seems to me that dvi is going to disappear as the standard output.
of course, it could have been my viewer (Yap 2.7).

Michael