Make \e{} render as \textit{} on standout slides
\alert{} is invisible on standout frames due to the inverted color
scheme; fall back to \textit{} using the metropolis@standout boolean.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -162,7 +162,9 @@ BoldItalicFont = *-BoldItalic
|
||||
% urlcolor=Plum, unicode=true}
|
||||
|
||||
% create a new \e{} command to make things purple and bold
|
||||
\newcommand{\e}[1]{\alert{#1}}
|
||||
% (falls back to \textit{} on standout slides where alert color is invisible)
|
||||
\newcommand{\e}[1]{%
|
||||
\ifthenelse{\boolean{metropolis@standout}}{\textit{#1}}{\alert{#1}}}
|
||||
|
||||
% remove the nagivation symbols
|
||||
\setbeamertemplate{navigation symbols}{}
|
||||
|
||||
Reference in New Issue
Block a user