]> gitweb.michael.orlitzky.com - beamer-mjo.git/commitdiff
Add a slide introductiong new sections by default.
authorMichael Orlitzky <michael@orlitzky.com>
Wed, 28 Sep 2016 15:17:02 +0000 (11:17 -0400)
committerMichael Orlitzky <michael@orlitzky.com>
Wed, 28 Sep 2016 15:17:02 +0000 (11:17 -0400)
beamerthemeUMBC.sty

index 02be453185f7072b5feecad90f21d3a4269401d5..846a3faa8261e2152384caea261e1ca853659b09 100644 (file)
@@ -7,4 +7,16 @@
 \usefonttheme{UMBC}
 \usecolortheme{UMBC}
 
+% Create a slide introducing new sections.
+\AtBeginSection[]{
+  \begin{frame}
+    \frametitle{Part \thepart, Section \thesection}
+    \vfill
+    \begin{center}
+      \usebeamerfont{title}\insertpart: \insertsectionhead\par%
+    \end{center}
+    \vfill
+  \end{frame}
+}
+
 \mode<all>