here we go

This commit is contained in:
Jean-Marie Mineau 2025-06-21 12:52:35 +02:00
commit ef50ff2f49
Signed by: histausse
GPG key ID: B66AEEDA9B645AD2
30 changed files with 16645 additions and 0 deletions

29
3_rasta/X_lib.typ Normal file
View file

@ -0,0 +1,29 @@
#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)
#let bad = text(fill: orange, sym.circle.stroked.small)
#let ko = text(fill: maroon, sym.crossmark)
#let nr = sym.dash.en
#let str2sym(s) = {
if s == "ok" {
ok
} else if s == "okk" {
okk
} else if s == "bad" {
bad
} else if s == "ko" {
ko
} else if s == "nr" {
nr
} else {
s
}
}
#let num(n) = [#n]