20
0

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:
2026-03-31 17:10:07 -07:00
parent c65b81f82f
commit 4d1302d5b5

View File

@@ -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}{}