]> gitweb.michael.orlitzky.com - beamer-mjo.git/commitdiff
beamerinnerthemeUMBC.sty: no line break after "Proof."
authorMichael Orlitzky <michael@orlitzky.com>
Tue, 25 Apr 2023 15:20:12 +0000 (11:20 -0400)
committerMichael Orlitzky <michael@orlitzky.com>
Tue, 25 Apr 2023 15:20:12 +0000 (11:20 -0400)
There's no automatic line break after "Theorem.", "Lemmas.", etc.,
these days, but there is still one (with the wrong spacing!) after
"Proof."  Here we override the beamer template to make "Proof." work
like the others.

beamerinnerthemeUMBC.sty

index 6e6080a257a6a762cc876ef863a1b73f1560b97e..fd0d36b4bcf363274ce98cd2c06fcdc7a546d5fd 100644 (file)
 
 % Spacing is nice.
 \setlength{\parskip}{1em}
+
+% Don't break the line that "Proof." is on.
+\setbeamertemplate{proof begin}{
+  \usebeamerfont*{block title}
+    \insertproofname
+  \usebeamerfont*{block body}
+}
+\setbeamertemplate{proof end}{}