Page LayoutChange Page Size Of A Single Page

Information and discussion about page layout specific issues (e.g. header and footer lines, page formats, page numbers).
Post Reply
jorsborn
Posts: 12
Joined: Sat Feb 26, 2011 4:17 am

Change Page Size Of A Single Page

Post by jorsborn »

I want to embed a 'poster' in my document. The poster is a large map that can't be represented on A4 paper size. When bound, the poster will fold out. They do this sometimes in magazines.

I could do the two documents separately and simply include the poster afterward. However, I'd like to create some references to the nodes on the poster. Is there any way to construct my poster inline (change the size of that one page)?
Last edited by jorsborn on Mon Mar 14, 2011 11:19 am, edited 1 time in total.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

gmedina
Posts: 2313
Joined: Wed Jul 11, 2007 11:45 pm

Change Page Size Of A Single Page

Post by gmedina »

Hi,

the geometry package (from version 5 on) provides \newgeometry{} and \restoregeometry to allow changes in page dimensions in the middle of a document.
1,1,2,3,5,8,13,21,34,55,89,144,233,...
jorsborn
Posts: 12
Joined: Sat Feb 26, 2011 4:17 am

Change Page Size Of A Single Page

Post by jorsborn »

Looking at the documentation this looks pretty straightforward. I constructed a simple test but the paper size did not change. I set the driver to pdftex as I am using pdflatex. I even tried a driver setting of auto with no luck. Am I missing something?

Code: Select all

\documentclass{book}

\usepackage[driver=pdftex]{geometry}

\begin{document}
This is a standard page.
\newpage
\newgeometry{paperwidth=17in,paperheight=11in}
This is a big landscape page.
\restoregeometry
\newpage
Back to a standard page
\end{document}
Thanks!
User avatar
gmedina
Posts: 2313
Joined: Wed Jul 11, 2007 11:45 pm

Change Page Size Of A Single Page

Post by gmedina »

Yes, geometry won't be of use here since you cannot change the page dimensions in the middle of the document. You can, however, make a second document with the poster in it and then use the pdfpages package to include it in your main document (using this package you can have hyperlinks to the inserted page).
1,1,2,3,5,8,13,21,34,55,89,144,233,...
jorsborn
Posts: 12
Joined: Sat Feb 26, 2011 4:17 am

Re: Change Page Size Of A Single Page

Post by jorsborn »

Thanks... that will work.
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Change Page Size Of A Single Page

Post by localghost »

jorsborn wrote:[…] that will work.
Then please mark the topic (not the last post) accordingly as written in Section 3 of the Board Rules (to be read before posting).


Thorsten
Post Reply