format number properly

This commit is contained in:
Jean-Marie Mineau 2025-06-24 12:19:00 +02:00
parent 1dc9e8227e
commit d730d1f4a7
Signed by: histausse
GPG key ID: B66AEEDA9B645AD2
15 changed files with 67 additions and 29 deletions

View file

@ -1,8 +1,3 @@
#let mypercent(numerator, denominator, digits: 2) = {
[#calc.round((100 * numerator) / denominator, digits: digits) %]
}
#let ok = text(fill: olive, sym.checkmark)
#let okk = text(fill: olive, tracking: -5pt, sym.checkmark+sym.checkmark)
@ -25,5 +20,3 @@
s
}
}
#let num(n) = [#n]