Is it possible to change the paper size of some frames in beamer? I know you can change the global paper size using \geometry{paperwidth=,paperheight=} in the preamble, but assuming you want to change the size for one or a couple of slides only, how would you do that? The above command only works in the preamble.
Asked
Active
Viewed 5,621 times
13
jasonf
- 245
2 Answers
6
Broadly 'no'. You can use \newgeometry between frames
\documentclass{beamer}
\begin{document}
\begin{frame}{Some text}
Some text
\end{frame}
\newgeometry{a4paper}
\begin{frame}{Some text}
Some text
\end{frame}
\end{document}
but beamer does not 'know' about this and frame decoration will end up in the wrong place. Moreover, given the target of beamer (making presentation slides) it's hard to see how such a change can be meaningful.
Joseph Wright
- 259,911
- 34
- 706
- 1,036
5
A very dirty hack could be to manipulate \pdfpagewidth and \pdfpageheight, as suggested by Werner.
However this does not adjust things like the \textwidth - a quick workaround for this is to place the frame content into minipages of appropriate widths.
\documentclass{beamer}
\usetheme{Berlin}
\usepackage{lipsum}
\begin{document}
\begin{frame}
content...
\end{frame}
\pdfpagewidth 21cm
\pdfpageheight 29.7cm
\begin{frame}[plain]
\vskip1cm
\begin{minipage}{19cm}
\lipsum
\end{minipage}
\end{frame}
\makeatletter
\pdfpagewidth \beamer@paperwidth
\pdfpageheight \beamer@paperheight
\makeatother
\begin{frame}
content...
\end{frame}
\end{document}
samcarter_is_at_topanswers.xyz
- 158,329
-
How did you disable the control tools on the second page? Thread attempt here about the topic https://tex.stackexchange.com/q/385255/13173 – Léo Léopold Hertz 준영 Aug 08 '17 at 14:36

\pdfpagewidthand\pdfpageheightbetween frames, which should change the "paper size". However, it will only produce a regular-sizedframeon a larger page size. So many other things have to be adjusted as well to yield a correct result. Why do you want this? What about the suggestion to reduce the size of the components (scale) themselves? You can also use the zoom feature ofbeamer... – Werner Oct 25 '13 at 04:56\geometry{paperwidth=13cm}in the preambule and worked, but not the same forpaperheight. – hkviktor Dec 11 '14 at 16:26geometryso some care is needed to ensure that your settings override the defaults correctly. Geometry is a bit weird and doesn't always behave as you think it should. (How I think it should, at least.) – cfr Nov 07 '15 at 23:08