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
|
parent=palette primary
|
||||||
}
|
}
|
||||||
\begin{frame}[c]{#1}
|
\begin{frame}[c]{#1}
|
||||||
\centering
|
\begin{center}
|
||||||
\usebeamercolor[fg]{palette primary}
|
\usebeamercolor[fg]{palette primary}
|
||||||
\usebeamerfont{section title}
|
\usebeamerfont{section title}
|
||||||
\@metropolis@plaintitleformat{#2}
|
\@metropolis@plaintitleformat{#2}
|
||||||
|
\end{center}
|
||||||
\end{frame}
|
\end{frame}
|
||||||
\endgroup
|
\endgroup
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue