4

I have a metropolis presentation where I want to have section intro frames for every section but the first one (its common in my field to jump right into the introduction). I know I can turn off section slides with:

\metroset{sectionpage=none}

but I don't know how to turn them on again.

\metroset{sectionpage=simple}

afterwards doesn't do it.

Here is a minimal example with my attempt commented out:

\documentclass[10pt]{beamer}
\usetheme{metropolis}

\begin{document}

%\metroset{sectionpage=none}
\section{This should not have an intro frame}
%\metroset{sectionpage=simple}

\begin{frame}
    test
\end{frame}

\section{I want this one to have an intro frame}

\begin{frame}
    test
\end{frame}


\end{document}

if you uncomment, all intro slides are lost.

edit: the documentation is here and the part I am using is on page 7.

1 Answer 1

5

You can use \metroset{sectionpage=none} within a group around the one section which should not have a section page:

\documentclass[10pt]{beamer}
\usetheme{metropolis}

\begin{document}

{
\metroset{sectionpage=none}
\section{This should not have an intro frame}
}
%\metroset{sectionpage=simple}

\begin{frame}
    test
\end{frame}

\section{I want this one to have an intro frame}

\begin{frame}
    test
\end{frame}


\end{document}
3
  • that is awesome and probably useful in many other settings :-D At some point, I should learn a bit more about Latex... This learning by doing coding has its limits...
    – Jakob
    Dec 22, 2018 at 13:07
  • 1
    @PeterPan You could just learn on the fly with your user name :) Dec 22, 2018 at 13:19
  • Just always be waiting for me...
    – Jakob
    Dec 22, 2018 at 13:27

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.