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
.
geometrypaper-size
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
.
Best Answer
I thank @DavidCarlisle and @UlrikeFischer for the support in providing this answer
paperwidth
andpaperheight
are LaTeX lenghts, which are then ultimately converted in egpdftex
into the lenghtspdfpagewidth
andpdfpageheight
using this snippet: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 thedvips
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