2

I'm using the metropolis theme for beamer. It has a standout feature for frames. But on those frames, the \note speaker note pages are rendered incorrectly. The text inherits inherit bold face font and centered alignment. Also the date on the speaker notes is wrongly aligned to the center

Another issue arises when used together with the hepnames package to typeset elementary particle names. I set the main font back to Computer Modern (\usefonttheme[onlymath]{serif}), but with hepnames in use, the math font also is typeset in bold face.

I tried to fix it in my \tafelzeit command by resetting the font, but it does not work for the math font if I use hepnames.

Is this a bug in metropolis or am I doing something wrong?

Minimal working example

\documentclass{beamer}

\usepackage{pgfpages}
\setbeameroption{show notes}
\setbeameroption{show notes on second screen=right}

\usetheme{metropolis}
\usefonttheme[onlymath]{serif}

\usepackage{hepnames}


\newcommand{\tafelzeit}[1]{%
    \frame[standout]{%
        \emph{Tafelzeit}
        \note{\raggedright\normalfont #1}
    }
}
\newcommand{\themath}{
    Decay width
    \[ \varGamma\big(\APKzero \rightarrow \Ppositron \, \Pmuon\big)  = a + b = 0 \]
}

\title{Metropolis Standout}
\begin{document}
    \section{Decay Width}

    \begin{frame}
        \themath
        \note{\themath}
    \end{frame}

    \begin{frame}[standout]
        \themath
        \note{\themath}
    \end{frame}

    \tafelzeit{%
        \themath
    }
\end{document}

Everything is correct on normal frames; [standout] frames are rendered with bold face and centered alignment; resetting the font does not reset math fonts, when hepnames is used. wrong formatting of speaker notes

1 Answer 1

2

You can avoid the problem by using the moloch theme instead of metropolis. Moloch is an updated fork of metropolis, which avoids many of the problems caused my metropolis.

\documentclass{beamer}

\usepackage{pgfpages}
\setbeameroption{show notes}
\setbeameroption{show notes on second screen=right}

\usetheme{moloch}% modern fork of the metropolis theme
\usefonttheme[onlymath]{serif}

\usepackage{hepnames}

\newcommand{\themath}{
    Decay width
    \[ \varGamma\big(\APKzero \rightarrow \Ppositron \, \Pmuon\big)  = a + b = 0 \]
}

\title{Moloch Standout}
\begin{document}

    \begin{frame}
        \themath
        \note{\themath}
    \end{frame}

    \begin{frame}[standout]
        \themath
        \note{\themath}
    \end{frame}

\end{document}

enter image description here

A workaround for metropolis: move the note outside the frame

\documentclass{beamer}

\usepackage{pgfpages}
\setbeameroption{show notes}
\setbeameroption{show notes on second screen=right}

\usetheme{metropolis}
\usefonttheme[onlymath]{serif}

\usepackage{hepnames}

\newcommand{\themath}{
    Decay width
    \[ \varGamma\big(\APKzero \rightarrow \Ppositron \, \Pmuon\big)  = a + b = 0 \]
}

\title{Metropolis Standout}
\begin{document}

    \begin{frame}
        \themath
        \note{\themath}
    \end{frame}

    \begin{frame}[standout]
        \themath
    \end{frame}
    \note{\themath}

\end{document}

enter image description here

2
  • Great, thanks. Is this the correct way of placing \notesich or should I do it just as a work around? May 19, 2017 at 7:30
  • @Ps0ke I don't think there is the one and only correct way to place the \note. Both ways have special cases where they don't work. For my own projects I usually place them inside the frame, because I can then divide them based on overlays with \note<2>{...} etc. May 19, 2017 at 8:45

You must log in to answer this question.

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