From f2d871cbd7b229c06b1407f6f8ba8d0994a1269c Mon Sep 17 00:00:00 2001 From: Benjamin Mako Hill Date: Tue, 31 Mar 2026 17:25:19 -0700 Subject: [PATCH] Suppress page number on standout slides The black page number is illegible against the dark standout background. Defines a custom frame numbering template that outputs nothing on standout frames and the normal fraction on all others. Co-Authored-By: Claude Sonnet 4.6 --- slides_template/example.tex | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/slides_template/example.tex b/slides_template/example.tex index f418eb5..34c4bfd 100644 --- a/slides_template/example.tex +++ b/slides_template/example.tex @@ -169,6 +169,14 @@ BoldItalicFont = *-BoldItalic % remove the nagivation symbols \setbeamertemplate{navigation symbols}{} +% suppress page number on standout slides +\defbeamertemplate{frame numbering}{fraction-no-standout}{% + \ifthenelse{\boolean{metropolis@standout}}% + {}% + {\insertframenumber/\inserttotalframenumber}% +} +\setbeamertemplate{frame numbering}[fraction-no-standout] + \newcommand{\credit}[1]{% \tikz[overlay]{\node at (current page.south west) [anchor=south west, yshift=3pt, xshift=2pt]