From 01b5387a98b80c695868efc6485072102c6ae62e Mon Sep 17 00:00:00 2001 From: Matthias Vogelgesang Date: Thu, 28 Aug 2014 16:05:03 +0200 Subject: [PATCH] Add \questions command for ... questions --- beamerthemem.sty | 19 +++++++++++++++---- demo.tex | 2 ++ 2 files changed, 17 insertions(+), 4 deletions(-) diff --git a/beamerthemem.sty b/beamerthemem.sty index 9c19749..a0852c7 100644 --- a/beamerthemem.sty +++ b/beamerthemem.sty @@ -102,8 +102,23 @@ %}}} %{{{ --- Commands --------------------- +\newcommand{\insertsectionHEAD}{% + \expandafter\insertsectionHEADaux\insertsectionhead} + \newcommand{\insertsectionHEADaux}[3]{\textsc{\MakeLowercase{#3}} +} + \newcommand{\rightTextArrow}{→} +\newcommand{\questions}{% + \begingroup + \setbeamercolor{background canvas}{bg=mDarkTeal} + \begin{frame}[plain] + \centering + \vfill\vspace{1em}\usebeamerfont{section title}\textcolor{white}{\scshape Questions?}\vfill + \end{frame} + \endgroup +} + %}}} %{{{ --- Itemize ---------------------- @@ -115,10 +130,6 @@ %}}} %{{{ --- Sections --------------------- -\newcommand{\insertsectionHEAD}{% - \expandafter\insertsectionHEADaux\insertsectionhead} - \newcommand{\insertsectionHEADaux}[3]{\textsc{\MakeLowercase{#3}} -} \if@doSectionPage\@empty \else % Insert frame with section title at every section start diff --git a/demo.tex b/demo.tex index 9dfe539..c53548c 100644 --- a/demo.tex +++ b/demo.tex @@ -78,4 +78,6 @@ sanctus est Lorem ipsum dolor sit amet. Last words. \end{frame} +\questions + \end{document}