From 2032b5b71971164a79fefae95d6eb9e2d3d004d0 Mon Sep 17 00:00:00 2001 From: Matthias Vogelgesang Date: Thu, 9 Oct 2014 15:10:47 +0200 Subject: [PATCH] Add default empty argument to \plain --- README.md | 7 +++++++ beamerthemem.sty | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index a439167..7e484b6 100644 --- a/README.md +++ b/README.md @@ -17,11 +17,18 @@ Thus to compile the demo with `make` you must * install the [Fira Sans](https://github.com/mozilla/Fira) font and * have a usable TikZ installation. + ### Package options * `titleprogressbar` adds a thin progress bar similar to the section progress bar underneath *each* slide. + +### Commands + +* `\plain{title=[]}{body}` sets a slice in plain dark colors. + + ### License The theme itself is licensed under a [Creative Commons Attribution-ShareAlike diff --git a/beamerthemem.sty b/beamerthemem.sty index 0434031..674e4d4 100644 --- a/beamerthemem.sty +++ b/beamerthemem.sty @@ -129,7 +129,7 @@ \newcommand{\insertsectionHEADaux}[3]{\textsc{\MakeLowercase{#3}} } -\newcommand{\plain}[2]{% +\newcommand{\plain}[2][]{% \begingroup \setbeamercolor{background canvas}{bg=mDarkTeal} \begin{frame}{#1}