This recent question on how to increase the width of the output, and this earlier question on how to increase the length of the output reminded me of something I have been wondering: I would like to fix the width and have the length to be longer than some minimum length, but only as long as necessary.
So far I have been using the geometry package to fix the width, and set the page length to be very long as per the above links, and this has been working. However, I would like to not have the extra blank space at the bottom for very short pages.
This is intended to generate individual pages for on screen viewing, and not a long document. Hence the desire for a single "page".
\newgeometryand\restoregeometryfrom geometry could be what you are looking for? – egreg Jun 02 '11 at 09:25paperheight=200cm? – egreg Jun 02 '11 at 09:54preview. The minimal length would need to be implemented in addition. – Martin Scharrer Jun 02 '11 at 11:12\begin{document}and\end{document}in a\newcommand, somehow determine the length that would take, then set the pagelength, and use the\newcommandto print the text. Thats the theory, I just don't know how to do that.. – Peter Grill Jun 02 '11 at 17:37