Fix `\plain` centering bug

Earlier versions of Beamer (or XeLaTeX?) did not respect `\centering` on the only line of a page. This is fixed by replacing `\centering` with the `center` environment, which breaks the paragraph before and after the line.
This commit is contained in:
Ross Churchley 2015-07-16 23:59:03 -07:00
parent bf8d202b89
commit 7dd84a769e
1 changed files with 5 additions and 4 deletions

View File

@ -187,10 +187,11 @@
parent=palette primary
}
\begin{frame}[c]{#1}
\centering
\usebeamercolor[fg]{palette primary}
\usebeamerfont{section title}
\@metropolis@plaintitleformat{#2}
\begin{center}
\usebeamercolor[fg]{palette primary}
\usebeamerfont{section title}
\@metropolis@plaintitleformat{#2}
\end{center}
\end{frame}
\endgroup
}