TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Possible Duplicate:
Automatically increase PDF page height

Is it possible to have LaTeX use a single infinite page?

I don't know if the PDF file format even supports this, but I see "Screen formatted" PDFs all the time, which use a layout more pleasing to read on a monitor, but for some reason they still have pages. I don't see much point in a screen-based PDF having pages, at least when Letter and A4 options are also offered. Is there a way to make pageless documents with LaTeX?

share|improve this question

marked as duplicate by topskip, Andrey Vihrov, Roelof Spijker, Canageek, Martin Scharrer Nov 24 '11 at 23:47

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

Have a look at Automatically increase PDF page height, which does exactly that, but also allows for manual page breaks using \Newpage. – Martin Scharrer Nov 24 '11 at 20:42
I agree that this is a duplicate, could the next person along vote to close it? Thank you. – Canageek Nov 24 '11 at 23:43
up vote 7 down vote accepted

We did experiment with a single, long page as well. We use the geometry package and defined

\geometry{paperwidth=170mm, paperheight=16383pt, left=40pt, top=40pt, textwidth=280pt, marginparsep=20pt, marginparwidth=100pt, textheight=16263pt, footskip=40pt}

Adjust the widths and the other parameters to your liking. Please note that a page height of more than 16383pt leads to an error. (There is an internal number somewhere that must be smaller than 2^14-1.)

Then, we got confused when floats where still breaking onto a new page. You also need


to increase the number of floats allowed on one page. With a lot of floats, you might have to use the morefloats package as well.

share|improve this answer
How well did your experiment work? I'm worried that PDF readers load a page at a time, so a giant page would lead to problems. – Canageek Nov 24 '11 at 23:32
We did get some good results while using it as some kind of draft mode. Before, we ran into problems with \marginpars running out of the bottom page. This was adjusted only in the last version to avoid work at in-between stages of the book-project. But then, it was rendered obsolete with the marginfix package, the package automatically adjusts the marginpars. – Andy Nov 25 '11 at 7:24
Did you have any memory use problems or such? – Canageek Nov 26 '11 at 0:08

Not the answer you're looking for? Browse other questions tagged or ask your own question.