Beamer handouts with notes

This week, while working on a presentation I had to give, I wanted to create a nice handout with extra lines on one side to write some notes. I’ve seen people doing this all the time with other presentation software, so I supposed that it was possible with beamer.

If you read the Beamer user guide (PDF), it mentions modifying the heading to include the handout option, and to add an additional command specify the number of pages per page:

\documentclass[handout]{beamer}
% Other packages...
\pgfpagesuselayout{2 on 1}[a4paper,border shrink=5mm]

This produced a PDF with two slides per page (or more depending on what you want), but no notes space anywhere. Some further googling showed a TeX StackExchange entry with the solution, which pointed to this blog post by Guido Diepen.

What you need to do is download this package, and add it to your document preamble, and then modify the pgfpagesuselayout (to include with notes) command like this:

% add this package to your directory (not in CTAN!)
% download it from the link above.
\usepackage{handoutWithNotes}

\pgfpagesuselayout{2 on 1 with notes}[a4paper,border shrink=5mm]

Check out the original blog post by Guido to see examples and more options. Enjoy!

P.d. I forgotted to add with notes the first time, and I didn’t realized that right away. So be aware in case you are as sloppy as I am.

Beamer + Bibtex

I was trying to get Beamer + Bibtex working just like I did with a regular article, just including a frame with the reference. So this is my first attempt:

\begin{frame}
  \begin{small}
    \phantomsection
    \addcontentsline{toc}{section}{\bibname}
    \bibliographystyle{plain}
    \bibliography{bibliography}
  \end{small}
\end{frame}
\end{document}

I didn’t like the size of the entries, and the fact that they only spawn a single frame, so only a few entries were visible. Some Googling and I came with an improved solution:

\begin{frame}[shrink=5,allowframebreaks]
  \begin{small}
    \phantomsection
    \addcontentsline{toc}{section}{\bibname}
    \bibliographystyle{plain}
    \bibliography{bibliography}
  \end{small}
\end{frame}
\end{document}

Then I realized that the citations weren’t included in the bibliography!. Sure, the entries were there but, which one was the “13″? Bibtex showed some nice, and pretty useless, icons instead of the citations. Further Googling unveiled an answer (may be others), using natbib+bibtex (here is a quick reference to natbib):

% before \begin{document}
\usepackage[square]{natbib}
\newcommand{\newblock}{}

Enjoy.