For a beamer theme, I'd like to provide two different kinds of frame titles. A normal one, plus one with an image background.

As far as I can see the best method to do this is to overload the frametitle template, such that when certain data is available, then we choose the image version.

Since this data has to be global, we also need methods for resetting them either at the end of each frame or at the beginning.

If we look in beamerbaseframe.sty, this is exactly what beamer does with, say, \insertframetitle, it is reset to empty in the end part of the definition of the beamer@frameslide environment.

So my question is, how can we add our own variable resetting to this? (which would not be nullifying macros, but resetting them to default values.

Any ideas?

closed as unclear what you're asking by user36296, Mensch, Zarko, Henri Menke, Stefan Pinnow Dec 8 '16 at 19:39

Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.

  • Hmm, come to think about it. Since the variables are only needed in the frametitle template, what is keeping me from ending the template by resetting these variables. – daleif Jul 28 '15 at 8:14
  • Did you solve your question in the mean time? Otherwise would you like to include a small example? – user36296 Aug 1 '16 at 17:26
  • @samcarter I do have some functioning code, but very very ugly – daleif Aug 1 '16 at 17:31
  • Maybe you could add what you understand with "overload the frametitle template, such that when certain data is available" to make the question clearer? At least for me, I think I don't understand the question. – user36296 Aug 1 '16 at 19:32

Browse other questions tagged or ask your own question.