#Change dimensions for one page

1 messages · Page 1 of 1 (latest)

keen heart
#

I want to have page layout similar like so:

   ...
  ┌───┐PAGE 13 "NORMAL"
  │   │a4paper, vertical
  │   │
  └───┘

  ┌───┐PAGE 14 "DIFFERENT"
  │   │a5paper, vertical
  └───┘

 ┌─────┐PAGE 15 "DIFFERENT"
 │     │custom, vertical
 └─────┘

  ┌───┐PAGE 16 "NORMAL"
  │   │a4paper, vertical
  │   │
  └───┘
   ...

I could make separate one-paged PDFs with such dimensions and insert them in, but I want to know if it's possible to make specific pages change their dimensions in a single LaTeX document.

neat forum
#

,texdoc geometry

ember flareBOT
neat forum
#

Section 7: changing the layout mid-document

fallow forge
#

that link goes to the german docs

#

also the geometry package wouldn't work for changing the paper size:

7 Changing layout mid-document

... \newgeometry is available only after \begin{document}, resets all the options ever specified except for the papersize-related options: landscape, portrait, and paper size options (such as papersize, paper=a4paper and so forth), which can’t be changed with \newgeometry.

keen heart
neat forum
#

This is because \pdfpagewidth and \pdfpageheight are pdflatex primitives only. With LuaLaTeX, you'd need

\documentclass{article}
\begin{document}
Normal page
\eject \pagewidth=3in \pageheight=10in
Tall page
\eject \pagewidth=10in \pageheight=3in
Wide page
\end{document}
#

Looks like I read the question too quickly, thanks @fallow forge 🙂