here we go
This commit is contained in:
commit
ef50ff2f49
30 changed files with 16645 additions and 0 deletions
29
3_rasta/X_lib.typ
Normal file
29
3_rasta/X_lib.typ
Normal 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]
|
Loading…
Add table
Add a link
Reference in a new issue