]> gitweb.michael.orlitzky.com - beamer-mjo.git/commitdiff
Add a new "parsecframe" environment with automatic "part: section" titling.
authorMichael Orlitzky <michael@orlitzky.com>
Wed, 28 Sep 2016 15:17:38 +0000 (11:17 -0400)
committerMichael Orlitzky <michael@orlitzky.com>
Wed, 28 Sep 2016 15:17:38 +0000 (11:17 -0400)
beamerthemeUMBC.sty

index 846a3faa8261e2152384caea261e1ca853659b09..ac0a4a610428fb5dc30372ae8d7566610c698736 100644 (file)
   \end{frame}
 }
 
+% Define a new ``partsecframe'' environment that uses a default frame
+% title of ``<part>: <section>'' when no other frame title is given.
+\newenvironment{partsecframe}[1][\insertpart: \insertsectionhead]
+  {\begin{frame}{#1}}
+  {\end{frame}}
+
 \mode<all>