8

From what I have gathered on the interwebs, I found that beamer gives no basic options to change the papersize. I am however in desperate need of exactly that. Mind that I don't want to re-scale one or more frames to an A4, I want to actually change the size of every frame.

Is there any way to work around this?

edit:

@JosephWright The reason I need to change the paper size is because I need to end up with the different slides in PNG format. These png's have to be a certain size. I was planning on simply converting the pdf to png's like you could normally do with LaTeX, untill I found out the problem with resizing in beamer.

@ prettygully I have already looked at the beamerposter package, but it seems like beamerposter puts all the frames on one page, what would make the conversion to PNG's impossible

edit2:

@ Andrew Stacey Your answers solved my personal problem as I was unaware of aspect ratio and my own ratio happens to be incredibly close to 16/9. I will correct the dimensions during PNG conversion.

I am still interested if anyone can come up with a general answer to the question thought.

6
  • beamer reduces the size of the "paper" in order to increase the effective font size. It is actually assumed that the PDF is zoomed to fullscreen or to the full paper size. To zoom it yourself check pgfpages (not to be confused with pdfpages, even if this might also be a way) Commented May 11, 2012 at 6:35
  • you can change the aspect ratio; otherwise have a look at the beamerposter package Commented May 11, 2012 at 7:01
  • It might be handy to know why you need to change the paper size in this way.
    – Joseph Wright
    Commented May 11, 2012 at 7:04
  • For the aspect ratio, see section 8.3 in the manual. Commented May 11, 2012 at 7:08
  • Regarding the edits: PDFs are scalable so can be converted to PNGs at any size without loss of detail. The conversion program should have options for specifying the resolution (sometimes called dpi). So you don't need to change the paper size for that (though you may want another aspect ratio). Commented May 11, 2012 at 7:32

3 Answers 3

11

The class beamer uses the package geometry to setup the page dimension. The package geometry provides the command \geometry to set options in the preamble. So you can simple use:

\geometry{paper=a4}
1
  • 7
    \geometry{paper=a4paper}
    – Tarass
    Commented May 28, 2014 at 13:06
3

After a lot of work with changing the paper size of Beamer presentations, I decided to post here and make my solution available to others.

The underlying problem is as follows: Beamer uses a standard paper size of 128x96mm, as that is more or less optimal for digital presentations. However, EDAS and other digital conference tools often check pdf files before a document upload for their paper size and they only permit certain standard formats. As of right now, they have no supported option for this - I have contacted their support and they do not seem eager to change this any time soon.

So to "rescale" an entire (already compiled) presentation you could do the following:

\documentclass[t]{beamer}
\usepackage{pdfpages}
\geometry{papersize={11in,8.5in}}
\beamertemplatenavigationsymbolsempty
\setbeamercolor{background canvas}{bg=}
\begin{document}
  \includepdf[pages=-,fitpaper=true,noautoscale,width=\paperwidth,height=\paperheight]{presentation.pdf}
\end{document}

Instead of 11:8.5 inches, you can choose whatever you wish. You just have to make sure that the ratio fits. The pdfpages package offers other options too that might enable a switch of format.

Kind regards Florian

4
  • You could avoid the hazel with an extra document by using the pgfpages instead to resize the pages Commented Sep 20, 2022 at 15:26
  • (be aware that such resizing might cause problems with cross-references, included multimedia content, slide transition etc.) Commented Sep 20, 2022 at 15:28
  • With current versions of beamer, you no longer need \setbeamercolor{background canvas}{bg=} Commented Sep 20, 2022 at 15:29
  • it works, thanks! Commented May 2, 2023 at 18:09
1

You can use the blowup package:

\documentclass{beamer}

\usetheme{Warsaw}

\usepackage{blowup}
\blowUp{target=a4,landscape}

\usepackage{lipsum}

\begin{document}
    
\begin{frame}
\frametitle{title}
    \lipsum[1-5] 
\end{frame} 
    
\end{document}

enter image description here

9
  • Interesting solution (+1), however, I have problem how to insert text in frame. The text in the example \begin{frame} \frametitle{title} \lipsum[1-5] \end{frame} is wide only about 1/3 of frame width. Rest of page is not accessible.
    – Zarko
    Commented Sep 22, 2022 at 12:23
  • @Zarko Can't reproduce. For me line breaks are the same as for normal beamer Commented Sep 22, 2022 at 12:30
  • hm, in test I use beamer v3.67 and blowup 1 (from 2018/01/02) using recent MiKTeX on W10 machine.
    – Zarko
    Commented Sep 22, 2022 at 12:54
  • @Zarko blowup 2022/09/19 2.0.0 here Commented Sep 22, 2022 at 12:55
  • (and beamer v3.68, but I don't think we changed anything related to this...) Commented Sep 22, 2022 at 12:56

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .