From 48ee6d3336bac04b53b144ffc847290067efc505 Mon Sep 17 00:00:00 2001 From: Ross Churchley Date: Tue, 8 Mar 2016 22:45:22 -0800 Subject: [PATCH] Address notes font colour bug in documentation Fix #191 --- doc/metropolistheme.dtx | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/doc/metropolistheme.dtx b/doc/metropolistheme.dtx index 086fb5f..e703078 100644 --- a/doc/metropolistheme.dtx +++ b/doc/metropolistheme.dtx @@ -594,6 +594,27 @@ background color for the title; this will cause issues when using color themes like |whale| which set a white foreground for the title. +\subsection{Notes on second screen} + +If you use the |[show notes on second screen]| option built in to Beamer and +compile with \XeLaTeX, text on slides following the first section slide may +be rendered in white instead of the regular colour. This is due to +\href{http://tex.stackexchange.com/questions/288408/}{a bug} in Beamer +or \XeLaTeX\ itself. You can work around it either by compiling with \LuaTeX\ +or by adding the following code to your preamble to reset the text color +on each slide. + +\begin{lstlisting} +\makeatletter +\def\beamer@framenotesbegin{% at beginning of slide + \usebeamercolor[fg]{normal text} + \gdef\beamer@noteitems{}% + \gdef\beamer@notes{}% +} +\makeatother +\end{lstlisting} + + \section{License} \themename is licensed under a