46

I'm writing up my dissertation defense slides. I would like to have a title page for each of three chapters. Specifically, I want to be able to replicate the box that the dissertation title is in for each of the chapters as I get to that section. Things I don't want: my name, university, and the date. So how do I get the title of each chapter in the same style box that the main title is in? Thanks in advance.

\title{This style box is what I want to replicate three other times in the slides.}
\author[Not needed]
\institute{I don't want this.}
\date{I don't want this either}
  • 1
    Which beamer theme(s) are you using? – Gonzalo Medina May 17 '14 at 20:27
  • @GonzaloMedina How can we define this command(\AtBeginSection) when using emacs org export to beamer ? Thanks. – Anusha Jan 13 '15 at 0:04
  • How to introduce 'noframenumbering' option so that the slide with the section title does not increase the slide counter? Thank you! – Jose Carreno Garcia Aug 27 '19 at 17:24
82

This can be easily done using \AtBeginSection to place a frame with the section title (\insertsectionhead) inside a beamercolorbox:

\documentclass{beamer}
\usetheme{Madrid}

\AtBeginSection[]{
  \begin{frame}
  \vfill
  \centering
  \begin{beamercolorbox}[sep=8pt,center,shadow=true,rounded=true]{title}
    \usebeamerfont{title}\insertsectionhead\par%
  \end{beamercolorbox}
  \vfill
  \end{frame}
}

\title{The Title}
\author{The Author}
\institute{The Institute}

\begin{document}

\begin{frame}
\maketitle
\end{frame}

\section{Test section one}
\begin{frame}
test frame for section one
\end{frame}

\section{Test section two}
\begin{frame}
test frame for section two
\end{frame}

\end{document}

enter image description here

Probably, depending on the theme used (which was not mentioned in the question), you will need to adjust the settings for the box; in particular, you might need to deactivate the option shadow and/or rounded by setting them to false.

  • This is exactly what I asked for. Now to complicate things. I am using the Frankfurt theme, so the section names are at the top of all the slides. How could I use this code to put the full titles in boxes but keep the names of sections short on the top bar? – interested user May 17 '14 at 20:45
  • 3
    @interesteduser Please, in this site we try to keep just one question per post. If you have additional questions, feel free to open a new question. – Gonzalo Medina May 17 '14 at 20:50
  • Your right. If you would please check out the following question: tex.stackexchange.com/questions/178809/… – interested user May 17 '14 at 21:03
  • @interesteduser answer provide there too :) Don't forget that you can accept answers that you consider solved your problems by clicking the checkmark to their left. In case of doubt, please see How do you accept an answer?. – Gonzalo Medina May 17 '14 at 21:11
  • This solves my problems too, but somehow the tableofcontents slide doesn't show up. Could you spell some magic so I could have the toc frame back? – yi.tang.uni Jun 28 '16 at 9:25

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.