beamer icon indicating copy to clipboard operation
beamer copied to clipboard

Maybe `\insertslidesintonotes` background misconfig

Open PillFall opened this issue 1 month ago • 4 comments

Example slides with the issue

slide notes

I was working on a presentation with black background and white text, as I need to present in a pretty lit area with a projector. And this way I can enhance the contrast, and make the text and figures brighter and readable.

I generally create notes using article mode, I thought this is the intended way, later to realize it was not.

Reading the docs, I just notice there is a macro for creation of small notes along with the slide text (which I love, by the way), and soon realize that this format is incompatible with this theme.

I set the theme as follows

\setbeamercolor{background canvas}{bg=black}
\setbeamercolor{normal text}{fg=white}
\setbeamercolor{titlelike}{fg=white}

If I'm not mistaken, the first command changes the background color of the slides, the second one the color of the majority of the text and the third one, the frame title and alike text color.

With this configuration, the background on the slide thumbnail in the notes page is white, I think there is something wrong.

Checking the code, I notice the command that creates the thumbnail

https://github.com/josephwright/beamer/blob/2812907f158be243d45ff17ea9a1ecd022fb28c4/base/beamerbasenotes.sty#L214-L224

But I truly believe it should be something like:

--- a/base/beamerbasenotes.sty
+++ b/base/beamerbasenotes.sty
@@ -214,7 +214,7 @@
 \newcommand{\insertslideintonotes}[1]{{%
   \begin{pgfpicture}{0cm}{0cm}{#1\paperwidth}{#1\paperheight}
     \begin{pgflowlevelscope}{\pgftransformscale{#1}}%
-      \color{normal text.bg}
+      \color{background canvas.bg}
       \pgfpathrectangle{\pgfpointorigin}{\pgfpoint{\paperwidth}{\paperheight}}
       \pgfusepath{fill,clip}
       \color{normal text.fg}

There is a reason the thumbnail uses normal text.bg instead of the background canvas.bg? I think this is a misconfiguration.

PillFall avatar Nov 12 '25 05:11 PillFall