General ⇒ How to repeat the first slide? (Beamer)
How to repeat the first slide? (Beamer)
I'm doing a presentation using beamer and I want to repeat the first slide of it. In this one is the title, authors, date and institution. The idea is to put it at the end (last slide). How can I do that?
Thanks
NEW: TikZ book now 40% off at Amazon.com for a short time.
And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p
-
- Posts: 707
- Joined: Tue Mar 25, 2008 5:02 pm
How to repeat the first slide? (Beamer)
Code: Select all
\newcommand{\firstslide}{%
%%% CONTENTS OF FIRST/LAST SLIDE %%%
}
\begin{document}
\firstslide
...
\lastslide
\end{document}
Re: How to repeat the first slide? (Beamer)
How to repeat the first slide? (Beamer)
Where the first frame goes, put:
Code: Select all
\begin{frame}[label=firstframe]
\titlepage % (Or whatever else goes here.)
\end{frame}
Code: Select all
\againframe{firstframe}
How to repeat the first slide? (Beamer)
I've seen the againframe trick, but I didn't know how to label the first slide. In the fisrt part I have:
Code: Select all
\begin{document}
\title[Shorst title]{The title}
\author[Authors]{Author 1 \and Author 2}
\date{\today}
\makebeamertitle
\end{frame}
\begin{frame}
\frametitle{Second slide}
.....
Thanks for your help
Bests
How to repeat the first slide? (Beamer)
Also, \makebeamertitle demands an argument. Use \titlepage instead.
Provided you DO have a \begin{frame} command. I already showed you how to label it. Put [label=...] immediately after \begin{frame}, with "..." filled in with whatever you want the label to be. See my example above.
Use something like this:
Code: Select all
\documentclass{beamer}
\title[Short title]{The title}
\author[Authors]{Author 1 \and Author 2}
\date{\today}
\begin{document}
\begin{frame}[label=firstframe]
\titlepage
\end{frame}
...
\againframe{firstframe}
\end{document}
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
How to repeat the first slide? (Beamer)
Best regards
Thorsten
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Re: How to repeat the first slide? (Beamer)
Bests
-
- Posts: 19
- Joined: Wed May 04, 2011 5:50 pm
Re: How to repeat the first slide? (Beamer)
Is there any way to do this?
Thanks in advance
Charlie