From 8a1a98b8515baa0b7cb24ba2d4932066b72b89a5 Mon Sep 17 00:00:00 2001 From: Loek Le Blansch Date: Tue, 17 Sep 2024 10:17:21 +0200 Subject: fix time2tex --- scripts/time2tex.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/time2tex.py b/scripts/time2tex.py index 17661d5..8c3dd9b 100755 --- a/scripts/time2tex.py +++ b/scripts/time2tex.py @@ -19,7 +19,7 @@ def fmt_duration(sec): return "\\,".join(out) def fmt_percentage(fac): - return tex.sgroup( + return tex.group( tex.cmd('footnotesize') +\ tex.cmd('itshape') +\ tex.esc(f"({round(fac * 100)}%)") -- cgit v1.2.3