matze / mtheme

A modern LaTeX Beamer theme
6.36k stars 841 forks source link

Switch sectionpage and subsectionpage to standout mode #390

Open paulduf opened 1 year ago

paulduf commented 1 year ago

Hello,

First, thanks for this great theme. After reading the doc, I did not see any option to get section and subsection pages in standout. I'd like to do so because (i) I think there is too much white on those slides, and (ii) it would help the attendees to notice the change in a subsection. Do you think it is a reasonable idea?

I tried to play around with the subsection page template, but it does not work as expected, as I don't know very well the beamer framework. I guess it's not so hard to do, but can someone show me the proper way of doing it?

Many thanks

ErickChacon commented 1 year ago

The following works for me.

\AtBeginSection[]
{
  \setbeamercolor{section title}{fg=white}
  \begin{frame}[standout]
    \sectionpage
  \end{frame}
  \setbeamercolor{section title}{fg=black}
}

I need to change the font color for the section title to differentiate from the background.