mirror of https://github.com/matze/mtheme.git
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:
parent
bf8d202b89
commit
7dd84a769e
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue