I mean the whole paper, not only the text zone in it.
I want the dvi output to look 1 centimetre x 10 metres in the viewer if I set these dimensions in the tex file.
And I don't want to go through LaTeX for it.
The paper size can be set to any size you need by means of the command papersize={⟨width⟩,⟨height⟩} . Here the text area, the left margin and the top margin are set. The right and bottom margins are automatically computed to fit the page.
LaTeX's margins are, by default, 1.5 inches wide on 12pt documents, 1.75 inches wide on 11pt documents, and 1.875 inches wide on 10pt documents. This is the standard for book margins. If you want to change them, you have several options: the "geometry" package, the "fullpage" package or changing the margins by hand.
Use the "geometry" package and write \newgeometry{left=3cm,bottom=0.1cm} where you want to change your margins. When you want to reset your margins, you write \restoregeometry .
Add \special{papersize=1cm,1000cm} in the first page of the document. This is really a dvips extension, but many dvi viewers understand it. (And of course set \hsize, \vsize etc. to control the positioning of text.)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With