3

Using \setbeamertemplate{frametitle}, I redefined the frametitle command so that, for each frame, it is automatically generated from section and subsection names (with miniframe-like bullets, also).

Now, I also want to access to "blank frames" locally (e.g. for summary slides). But even frames obtained with \begin{frame)[plain] are using that redefined frametitle...

Is there an easy way to achieve that? Is there a way to redefine frametitle for some frames only?

3
  • 2
    Please make a MWE Jan 24, 2019 at 16:42
  • Well... I was hoping for a quick and dirty answer, but I may have to resort to a MWE indeed (even though in that case "minimal" does not mean "short"...).
    – Bibi
    Jan 24, 2019 at 16:50
  • 1
    Even for quick and dirt answers I'd like to test my code before posting. This is much easier if there is some compilable document as a starting point. Jan 24, 2019 at 16:55

1 Answer 1

2

Without knowing your exact code, you can try redefining frametitle locally. The defintion of the empty frametitle applies only to the frames inside the curly brackets ({ }).

\documentclass{beamer}

% general redefintion
\setbeamertemplate{frametitle}{\textbf{\insertframetitle}}

\begin{document}

\begin{frame}{Some nice title}
Dummy text.
\end{frame}


% Blank frame
{\setbeamertemplate{frametitle}{}

\begin{frame}{I will not appear}
This slide has no title
\end{frame}
} % end of untitled frames

\begin{frame}{Some title again}
Dummy text.
\end{frame} 


\end{document}

This results in (... well, it's only some mostly white slides):

slides

2
  • 2
    You don't need \usetheme{default}, as the name says, this theme is loaded by default Jan 24, 2019 at 17:30
  • 1
    Quick and dirty! Nice! (Still, should have thought about this... ^^)
    – Bibi
    Jan 27, 2019 at 16:43

You must log in to answer this question.

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