[OS X TeX] Beamer / pgfpages question

J. McKenzie Alexander jalex at lse.ac.uk
Sun Nov 15 14:30:44 EST 2009


I've  configured beamer so that when I invoke it with the "handout" option it generates output with my slides configured in a 2x2 form and a border around them.  The code I have in the preamble to do this is the following: 

  \pgfpagesuselayout{4 on 1}[a4paper,landscape,border shrink=5mm]
  \pgfpageslogicalpageoptions{1}{border code=\pgfstroke}
  \pgfpageslogicalpageoptions{2}{border code=\pgfstroke}
  \pgfpageslogicalpageoptions{3}{border code=\pgfstroke}
  \pgfpageslogicalpageoptions{4}{border code=\pgfstroke}

The problem is that when the presentation contains a number of pages which is not a multiple of four, this particular setup causes a number of empty square "pages", with the frame drawn around them, to appear on the last page of the handout. I tried to fix this by clearing out some of the logical page options I've passed on to beamer as follows:

% The following frame is the last frame of the presentation,
% and it is the only frame appearing on the last page
% of the handout. Hence logical pages 2-4 should have 
% their border code cleared out so that no frame is drawn.
\pgfpageslogicalpageoptions{1}{border code=\pgfstroke}

  \frametitle{References and miscellaneous readings}

That doesn't work, though. Any suggestions? This is a bit too low-level hacking for me to solve on my own...

Many thanks,


Dr J. McKenzie Alexander
Department of Philosophy, Logic and Scientific Method
London School of Economics and Political Science
Houghton Street, London WC2A 2AE

Please access the attached hyperlink for an important electronic communications disclaimer: http://www.lse.ac.uk/collections/secretariat/legal/disclaimer.htm

More information about the MacOSX-TeX mailing list