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".
\newgeometry
and\restoregeometry
from geometry could be what you are looking for?paperheight=200cm
?preview
. The minimal length would need to be implemented in addition.\begin{document}
and\end{document}
in a\newcommand
, somehow determine the length that would take, then set the pagelength, and use the\newcommand
to print the text. Thats the theory, I just don't know how to do that..