From: Michael Orlitzky Date: Tue, 25 Apr 2023 15:20:12 +0000 (-0400) Subject: beamerinnerthemeUMBC.sty: no line break after "Proof." X-Git-Url: http://gitweb.michael.orlitzky.com/?a=commitdiff_plain;h=ec2ae974d82854ef557b4d1d19007d3b3f7ada2a;p=beamer-mjo.git beamerinnerthemeUMBC.sty: no line break after "Proof." 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. --- diff --git a/beamerinnerthemeUMBC.sty b/beamerinnerthemeUMBC.sty index 6e6080a..fd0d36b 100644 --- a/beamerinnerthemeUMBC.sty +++ b/beamerinnerthemeUMBC.sty @@ -52,3 +52,11 @@ % 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}{}