(Edited to include a MWE; note that the current version is much simpler than what was mentioned in the original question and is essentially acceptable.)

Right now, I create an article version of my beamer presentation where each slide is specifically included explicitly using a \showslide command follows:


and where I use the option to avoid duplication of the slide content in the text. Is it possible to (re)define an environment so that this is automatically done (ideally with automatic slide label numbering.)? Ideally I would have like to be able to either redefine frame or define a new environment and just type


thus avoiding having to specify the mode every time and avoiding having to specify a new label.

MWE example using 3 files follows. Note that, sometimes, the explanatory text included for a given slide in the article version may be a few pages long.






\center \fbox{\includeslide[width=12cm]{#1}}




\frametitle{First slide}
\item First item
\item Second item

Some text included only in the article mode.

Second slide

Yet more text included here for the second slide.
  • 1
    So does your article version have to include the slides as-is? There is a beamerarticle package that typesets the contents of your beamer presentation in article form (section 21.2 Creating Handouts Using the Article Mode, p 206 of the beamer documentation).
    – Werner
    Commented Dec 12, 2011 at 23:24
  • @Werner: yes. I want to use this to make videos (screencasts) for teaching purpose, and use the article version as a handout for students - for them to follow along and take notes. In my experiments so far, I found it easier to follow if a copy of the slides was included as it appeared on screen - and less confusing if the information was not repeated essentially verbatim below in the text.
    – André
    Commented Dec 13, 2011 at 0:54
  • 1
    Are you sure you don't want beamer handouts instead of an article? Are you adding supplemental material besides the slides themselves? See this question about adding pre-written notes to slides or this article about adding ruled space for people to write their own notes, perhaps? Commented Dec 13, 2011 at 1:27
  • @MikeRenfro I have tried the handout but I really don't like how it looks. I am really happy with the way things look when I use the method described in my post, but it is tedious to do.
    – André
    Commented Dec 13, 2011 at 2:04
  • Could you include a little more code, preferably a MWE. If the only problem with the handout mode is how it looks then that can be configured and it might be easier than redefining the frame. But knowing which route is best depends a lot on what the outcome should look like. Commented Dec 13, 2011 at 11:12

4 Answers 4


I think you can get that with modifying the notes page template. One example that's not exactly what you want, but is close, and pretty easy to work with:

enter image description here

%%% For normal presentations

%%% For handouts with lots of extra notes
\pgfpagesuselayout{2 on 1}[a4paper,border shrink=5mm] % could also use letterpaper
\setbeameroption{show notes on second screen=bottom} % Beamer manual, section 19.3

\setbeamertemplate{note page}[plain] % Beamer manual, section 19.1
\usetemplatenote{\rmfamily \scriptsize%
  \setlength{\parindent}{1em} \setlength{\parskip}{1ex}%
  \noindent \insertnote%


\title{The Title}
\author{The Author}

Here's some content, with no notes added.
Here's some content, with notes added.
Here are things to remember:
\item Stress this first. (We probably need to ensure that this item wraps properly, too.)
\item Then this.
Afterwards, talk about other things. Stall for as long as possible. Eventually, we'll
run out of room on this line, and will spill over onto another one.

And if we need a second paragraph, we can add one of those, too. Math like Euler's
1+e^{i \pi}=0
isn't hard to add, but you may want to adjust the default math font family back to the
Roman default.

For some unknown reason, it appears that the last paragraph gets some weird line
spacing unless we put an extra paragraph break in the template before resetting the
paragraph-related lengths. 

Adapted from Changing the textwidth of the notes in Beamer and Customizing LaTeX beamer note pages.

  • 1
    This is very nice. However, it fails when the note content is longer than the space available at the bottom of the page. I think I will stick with what I have so far as the article class has a bit more flexibility. Still, I'll probably try to play with your proposed solution and compare with what I have so far.
    – André
    Commented Dec 13, 2011 at 16:01

Since you're producing a PDF of your slides anyway, why not just include the pages of that PDF in the handouts.

Assuming you have a handout version of the slides, say in a PDF file called a.pdf, I'd define \showslide as follows:

  \clearpage % new page for each slide

where a new page of a.pdf is included each time you invoke the command \showslide. The \framebox is just added to mark the border of the slides, and can be removed if wanted.

Several advantages:

  • Only two .tex files, instead of three
  • No need to label every frame in Beamer
  • Explanations after each frame can be as long as you'd like

The downside, of course, is only that you'd have to produce a PDF file with the Beamer option handout turned on.

Full code

\usepackage{lipsum} % dummy texts

\setcounter{slidenum}{1} % set to 2 if want to exclude title page of presentation


\lipsum[1-5] % explanations exceeding one page



enter image description here


Very good question! Here is my approach. It is far from perfect, but I am not an expert TeXnician. I encourage other people to improve this method, because I think this very much improves the value of beamerarticle.

We define a counter baslide, and tweak the definition of the frame environment to automatically “label and increase”.


For the slides, we have the file minitest.slides.tex:



In minitest.handout.tex:



\def\frame{\oldframe \label{baslide\roman{baslide}}%


Note the handout option when loading beamer. It ensures that we include the final version of each slide in our notes.


In minitest.article.tex:





{\par \centering%

This redefines the frame environment to include slide number baslide from minitest.handout.pdf. (I use 80% of \textwidth, + centering.) It then increases the counter baslide with 1, for the next frame. Finally, it acts like a comment environment (hence the verbatim package) for all the text contained in the frame environment. This effectively removes the old frame output from the document.


I also made a Makefile for this kind of workflow:

all: slides handout article

projname = minitest
compile = pdflatex

slides: $(projname).slides.tex $(projname).tex
        $(compile) $(projname).slides.tex

handout: $(projname).handout.tex $(projname).tex
        $(compile) $(projname).handout.tex

article: $(projname).article.tex $(projname).tex $(projname).handout.pdf
        $(compile) $(projname).article.tex

clean: cleans cleanh cleana

        rm -f $(projname).slides.{aux,fdb_latexmk,fls,log,nav,out,snm,toc}

        rm -f $(projname).handout.{aux,fdb_latexmk,fls,log,nav,out,snm,toc}

        rm -f $(projname).article.{aux,fdb_latexmk,fls,log,nav,out,snm,toc}

I am afraid that TeX.sx removes the tabbing from the Makefile sourcecode. Make tends to be quite picky about this, so maybe you need to convert tabs to spaces.

This is a hack, definitively. It is probably quite fragile, but as far as I could see, it got the job done in the test that I did. I hope it works for you!


I have developed something which can be helpful

new link on gitlab with examples screenshots will be there soon : https://gitlab.com/benoitldr/beamerarticle-teacher

  • 3
    It might be an answer, but most users don't want to follow links, download the content, install it, make a document out it and test it. You should elaborate your answer and post a solution, perhaps with a screen shot.
    – user31729
    Commented Sep 10, 2014 at 17:02
  • 2
    could you please care for what @ChristianHupfer had mentioned? let alone your link is just a broken link by now.
    – doctorate
    Commented Sep 11, 2015 at 18:06

You must log in to answer this question.

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