I would like to create a PDF document with LateX, whose width is fixed but whose height is variable.

What do I mean by variable? I mean that the document will have a priori one page, but that the length of this page will adapt to the content. One can imagine a minimal height, but if there is a lot of text, then the height of the page gets bigger.

Maybe I need to use TeX to do this.

If anyone has some clues about how to achieve that, or has some commentary on this topic, I would be grateful.

marked as duplicate by lockstep, mafp, Heiko Oberdiek, T. Verron, Xavier Jun 19 '13 at 15: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.

Browse other questions tagged or ask your own question.