# pgfpagesuselayout{2 en 1 with notes} when with notes used error message

When I run the code below:

\documentclass[handout]{beamer}
\usepackage{handoutWithNotes}
\pgfpagesuselayout{3 on 1 with notes}[a4paper,border shrink=5mm]

\begin{document}
\begin{frame}
My first slide
\end{frame}
\begin{frame}
Second one
\end{frame}
\begin{frame}
Third
\end{frame}
\end{document}


I get always the error messages (either with MiKTeX 2.8 or 2.9, either under Windows XP or Windows 10):

! Undefined control sequence.
\@begindocumenthook ...ox { \vskip .05\pageheight
Notes\vskip .1\pageheight ...
l.6 \begin{document}


Can some people help me? I want to put beamer slides on the first column and the lines for notes on the second column. Are there other methods?

• I get exactly the same! Dec 10 '19 at 17:33

\usepackage{pgfpages}