1

I would like to make handouts for my LaTeX presentation.

I read here how I can do this.

\documentclass[handout]{beamer}
\usepackage{pgfpages}
\pgfpagesuselayout{4 on 1}[a4paper,border shrink=5mm,landscape]

which produces:

enter image description here

However, I would like to have a border to distinguish the slides, like this:

enter image description here

How can I do this?

EDIT: Example code:

\documentclass[handout]{beamer}
\usepackage{pgfpages}
\pgfpagesuselayout{4 on 1}[a4paper,border shrink=5mm,landscape]

\begin{document}

\begin{frame}
\frametitle{slide A}
example 1
\end{frame}


\begin{frame}
\frametitle{slide B}
example 2
\end{frame}


\begin{frame}
\frametitle{slide C}
example 3
\end{frame}

\begin{frame}
\frametitle{slide D}
example 4
\end{frame}


\end{document}
  • This page suggests to compile your presentation and then \includepdf it into a new file. The option frame=true looks like what you want. I cannot try this at the moment. – cauchy42 Sep 21 '15 at 9:41
  • Or you have a look at this question. – cauchy42 Sep 21 '15 at 9:51
  • @cauchy42 Unfortunately, it does not work for me yet... – student441 Sep 21 '15 at 11:31
  • It is easier to help you if you provide a complete small example. – cfr Sep 21 '15 at 12:24
  • @cfr See my edit – student441 Sep 21 '15 at 12:28
1

Using your MWE:

\documentclass[handout]{beamer}
%\usepackage{pgfpages}
%\pgfpagesuselayout{4 on 1}[a4paper,border shrink=5mm,landscape]

\begin{document}

\begin{frame}
\frametitle{slide A}
example 1
\end{frame}


\begin{frame}
\frametitle{slide B}
example 2
\end{frame}


\begin{frame}
\frametitle{slide C}
example 3
\end{frame}

\begin{frame}
\frametitle{slide D}
example 4
\end{frame}


\end{document}

Compile this (file mypres.tex to mypres.pdf, say).
Then have a second file

\documentclass{article}
\usepackage{pdfpages}
\begin{document}
\includepdf[pages=1-last,nup=2x2,landscape=false,frame=true,
            noautoscale=true,scale=0.6,delta=0mm 5mm]{mypres.pdf}
\end{document}

which will contain the (framed) slides, arranged in a 2x2.

  • thanks, it works. Is it also possible to put a pagenumber on each page? (so if I have 4 pages of handout, it would like to have 4 page numbers). – student441 Sep 21 '15 at 12:54
  • @student441 I think the easiest way would be to have the page numbers in the frames. I don't see a solution (using pdfpages) to have them outside, sorry. – cauchy42 Sep 21 '15 at 13:07

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.