Compare commits
2 Commits
b9b310b5c0
...
93473a3ee5
Author | SHA1 | Date | |
---|---|---|---|
93473a3ee5 | |||
88a75f85e9 |
10
libs.typ
10
libs.typ
@ -1,8 +1,12 @@
|
||||
#import "/templates/main.typ": settings, font
|
||||
|
||||
#import "@preview/metro:0.1.0": units, prefixes, num
|
||||
#import units: *
|
||||
#import prefixes: *
|
||||
#import "@preview/unify:0.5.0": num, qty, unit
|
||||
// percentage error quantity
|
||||
// (because both unify and metro currently can't parse percentages)
|
||||
#let pq(nb, un, pe) = {
|
||||
return $(num(nb) plus.minus qty(pe, "%")) unit(un)$
|
||||
}
|
||||
|
||||
|
||||
// this used to be an alias to styled tablex
|
||||
#let tablef = table.with(
|
||||
|
Loading…
Reference in New Issue
Block a user