diff options
Diffstat (limited to 'Master/texmf-dist/source/latex/beamertheme-metropolis/metropolistheme.dtx')
-rw-r--r-- | Master/texmf-dist/source/latex/beamertheme-metropolis/metropolistheme.dtx | 42 |
1 files changed, 41 insertions, 1 deletions
diff --git a/Master/texmf-dist/source/latex/beamertheme-metropolis/metropolistheme.dtx b/Master/texmf-dist/source/latex/beamertheme-metropolis/metropolistheme.dtx index 4baf2607018..cd3baaa70ca 100644 --- a/Master/texmf-dist/source/latex/beamertheme-metropolis/metropolistheme.dtx +++ b/Master/texmf-dist/source/latex/beamertheme-metropolis/metropolistheme.dtx @@ -400,7 +400,7 @@ The list of options is structured as shown in the following example. \DescribeMacro{titleformat title} \DescribeMacro{titleformat subtitle} -\DescribeMacro{titeformat section} +\DescribeMacro{titleformat section} \DescribeOption{titleformat frame}% {regular, smallcaps, allsmallcaps, allcaps}% {regular}{ @@ -630,6 +630,46 @@ on each slide. \end{lstlisting} +\subsection{Standout frames with labels} + +Because the |standout| frame option creates a group to restrict the colour +change to a single slide, labels defined after calling |standout| will stay +local to the group. In other words, the following may result in a ``label undefined'' error. + +\begin{lstlisting} +\begin{frame}[standout, label=conclusion]{Conclusion} + Awesome slide +\end{frame} +\end{lstlisting} + +To fix this problem, change the order of the keys in the frame. + +\begin{lstlisting} +\begin{frame}[label=conclusion, standout]{Conclusion} + Awesome slide +\end{frame} +\end{lstlisting} + +This error can be unwittingly triggered if you export your slides from Emacs +Org mode, which automatically adds labels after frame options. Alex Branham +\href{https://github.com/matze/mtheme/issues/203}{offers} the following +solution for Org mode users, using |org-set-property|. + +\begin{lstlisting} +* Start of a frame + :PROPERTIES: + :BEAMER_opt: label=conclusion,standout + :END: +\end{lstlisting} + + +\subsection{Standout frames with Pandoc} + +With Pandoc versions prior 1.17.2 it was not possible to create standout frames +because Pandoc only supported a specific list of frame attributes thus ignoring +additional attributes such as |{.standout}|. + + \section{License} \themename is licensed under a |