Closed reliak closed 8 years ago
As of now, there is no frame subtitle support. There are two reasons:
I agree with @matze. We should not support the \framesubtitle
command. The metropolis theme is and should remain a clutter free theme. But if you really need \framesubtitle
support, it is not that hard to add it on your own. You just have to add some code to the frametitle beamer template. Here is an MWE to get you going.
\documentclass{beamer}
\usetheme{metropolis}
\usepackage{blindtext}
\setbeamercolor{framesubtitle}{fg=mDarkTeal}
\addtobeamertemplate{frametitle}{}{%
\ifx\insertframesubtitle\@empty\else%
\usebeamerfont{framesubtitle}%
\usebeamercolor[fg]{framesubtitle}%
\insertframesubtitle%
\fi%
}
\begin{document}
\begin{frame}
\frametitle{Frametitle}
\framesubtitle{Framesubtitle}
\blindtext
\end{frame}
\end{document}
@matze I think we are on the same page here, that we should not implement this. If someone really wants to use it my MWE should be sufficient. Close?
Fully agree!
Hi there,
I'm trying to use `\framesubtitle', but it is not working with the metropolis template (i.e. the frame sub title is not displayed). Am I doing something wrong or is there no support for this command? If so, do you have any alternative solutions?