Is there a way to reference the title of the previous Beamer slide? Often, a sequence of slides have the same title, and I'd like to avoid having to repeat the title. I could define a macro for the title of each slide, but is there a way to grab the title of an arbitrary slide?
|
One possible solution is to let
|
|||
|
|
|
Beamer has a built-in facility for this: Inserting an explicit frame break using |
|||||||
|
|
This is a very unusual request. Maybe you can do without it. Here is two solutions. The first two slides (with one frame) use
|
|||
|
|
|
Your question is ever-so-slightly ambiguous. You open with:
and close with:
These are different questions. The first simply wants to get the name of the previous(ly named) Beamer slide. The second wants full random access. Gonzalo has answered the second, here's a slightly cheaper way to get the first. It works on the same principle: we save the previous frame title (and subtitle) but it has a slightly different way of accessing it. The rule that I infer is that "If the frametitle isn't given, use the previous one.". The simplest way to achieve that is to insert the previous frame title (and subtitle) as the new ones at the start of the frame. Then any actual assignment will overrule it, but if no assignment is made then the defaults are there to be used. Here's the code (with a little help from http://tex.stackexchange.com/a/519/86)
and the result:
|
|||
|
|
:
\begin{frame} ... \end{frame}) where you want to reuse the frame title? If you aren't sure: here's a test question. Will your slides use overlays? – Andrew Stacey Aug 8 '12 at 14:50