Page Layout ⇒ Adding a single 11x17 page to letter document
Adding a single 11x17 page to letter document
I am fairly new to Latex.
I am wanting to add a diagram to my document.
I want it to be put on 11x17 size page.
The entire document is in letter size paper.
Can anyone suggest me how to do this ?
I will appreciate any help.
regards,
Himanshu
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
Adding a single 11x17 page to letter document
you can convert the special page to the pdf format, and then use the pdfpages package to include it in your document.
Re: Adding a single 11x17 page to letter document
But I am looking for a sleeker way.
May be do something in the normal latex code itself and not write a includepdf command.
Adding a single 11x17 page to letter document
Re: Adding a single 11x17 page to letter document
Himanshu
Adding a single 11x17 page to letter document
Code: Select all
\documentclass{article}\usepackage{gmeometric}\usepackage{lipsum} % for putting random text in\begin{document}\geometry{paper=letterpaper}\setlength{\pdfpagewidth}{\paperwidth}\setlength{\pdfpageheight}{\paperheight}\onecolumnThese pages are on Letter paper.\\[1in]\lipsum[51-60] % random Latin text\clearpage%\geometry{paper=ansibpaper}\setlength{\pdfpagewidth}{\paperwidth}\setlength{\pdfpageheight}{\paperheight}\onecolumnThese pages are on ANSI-B (11 $\times$ 17) paper.\\[1in]\lipsum[10-40] %random Latin text\end{document}
What's the problem with using pdfpages, exactly?
Re: Adding a single 11x17 page to letter document
First thanks for the code!!!
I tried the code you gave and it worked just fine.
But, I am also faced with the problem of the following page does not having correct formatting.
I got some errors when I used the code in my .tex file. Tex flashed an error "uncontrolled sequence" and did not recognize \include command. Any suggestions ?
I am not wanting to use pdfpages as its a figure that I want to include in my thesis.
Also the pdfpages is not able to retain increased size in the thesis i.e. the included page takes the size set for the entire document. The figure is reference and has to appear at a lot of places like the lof etc..
Thanks,
Himanshu
Adding a single 11x17 page to letter document
I figured out the use of pdfpages and have been able to include the file my file.
Also found that the I can create references and put a content line in list of figures.
I am so glad ..um one down on problems and have one to go .
But once again thanks a lot.
The working code is attached.
Code: Select all
\includepdf[pages=-,fitpaper=true,noautoscale=false,addtolist={1,figure,Model,refmodel}]{examplemodel.pdf}
Adding a single 11x17 page to letter document
In case people are using memoir and need to change the size of the page in mid document:
Code: Select all
\newenvironment{ChangeToA3Paper}{%\newlength\oldtextwidth\oldtextwidth=\the\textwidth\newpage\pageaiii % Change page to A3: 297mm x 420mm\setlength{\pdfpagewidth}{\paperwidth} % Change the pdf page\setlength{\pdfpageheight}{\paperheight} % Change the pdf height\setlength{\textwidth}{\the\paperwidth-\the\spinemargin-\the\foremargin} % Change the textwidth\begin{adjustwidth}{0cm}{-87mm} % Enlarge the right margin by: 297 - 210 = 87mm}{\end{adjustwidth}\newpage\pageaiv % Change page to A4: 210mm x 297mm\setlength{\pdfpagewidth}{\paperwidth} % Change the pdf page\setlength{\pdfpageheight}{\paperheight} % Change the pdf height\textwidth=\the\oldtextwidth}
R.