In a previous question, I pointed out that the mini slides (thumbnails) inserted into Beamer notes pages cause replication of labels and broken hyperref links as a result (see comment 2 under Percusse's answer).

I discovered that if I went to beamerouterthemedefault.sty and, under the line \defbeamertemplate*{note page}{default} commented out the lines


this removes the problem since the mini slide is no longer inserted. I now need to share my LaTeX code with my supervisor, so I am wondering if an approach similar to that employed in an answer to another question of mine can be used to "patch" these lines to be commented at compile time so that I don't have to instruct others to manually comment out those lines. In that question, it is shown how to use xpatch to modify a Beamer component.

So, my main question is how to make this patch.

My follow-up or bonus questions is, is there a better way to address this issue with the mini slides in the first place? Off the top of my head, here are a few thoughts:

  1. This seems like a bug in Beamer, and an easy one to fix. Can't the mini slides have their labels stripped out before they're inserted? The mini slides are really only a visual aid, so there doesn't need to be a way to reference stuff in them.

  2. As an improvement on #1, if the labels could be automatically renamed by Beamer or Latex as the mini slides are inserted, that would be even better.

  3. If either of #1 or 2 could be done with a patch that would be great, but it would be even better if this could be rolled into Beamer as bug fix. What's involved in doing so, or how would this normally happen?


1 Answer 1


If all that you really require is to get rid of those lines of code, there's no need to change the original .sty file (in fact, this is never advisable); instead, you can simply add to the preamble of your .tex document the following lines of code:

\setbeamertemplate{note page}
    \vbox to .25\paperheight{\vskip0.5em
            width0.4pt height7pt\vrule width 9pt
            width0.4pt height7pt\vrule width 9pt
            width0.4pt height7pt\vrule width 9pt

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.