aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorLoek Le Blansch <loek@pipeframe.xyz>2024-09-17 10:17:21 +0200
committerLoek Le Blansch <loek@pipeframe.xyz>2024-09-17 10:17:21 +0200
commit8a1a98b8515baa0b7cb24ba2d4932066b72b89a5 (patch)
tree2a6aa67278481d1b217ef98fbb55652aa5039075 /scripts
parent1de74261bef1a4c25250b7390b965093141c88f0 (diff)
fix time2tex
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/time2tex.py2
1 files changed, 1 insertions, 1 deletions
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)}%)")