What technical reasons are behind this?

From manual of package geometry:

... paper size options (such as papersize, paper=a4paper and so forth), which can’t be changed with \newgeometry.


1 Answer 1


I thank @DavidCarlisle and @UlrikeFischer for the support in providing this answer

paperwidth and paperheight are LaTeX lenghts, which are then ultimately converted in eg pdftex into the lenghts pdfpagewidth and pdfpageheight using this snippet:

% If a package has changed \mag, assume it knows what it is doing
% and leave page size alone

The "LaTeX" counterparts are discarded after the document has started (meaning they are not meaningful anymore), while the pdf counterparts are the ones ultimately used for setting.

Geometry sets the pdf lengths also at the begin of the document, possibly to maintain compatibility with the dvips drivers (which do not support multiple page sizes), so it does not allow them to be reset during the document, thus discarding the paper resizing options

  • Imho the main reason is that with e.g. the dvips driver it simply doesn't work to have to different papersizes in the document. Commented Jun 10, 2017 at 15:55

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .