diff options
| author | Denis Chevalier <perso@denischevalier.fr> | 2026-08-10 07:36:27 +0200 |
|---|---|---|
| committer | Denis Chevalier <perso@denischevalier.fr> | 2026-08-10 07:36:27 +0200 |
| commit | 230e15f6cb19dda08ec5280f4a8d047aaece4b0a (patch) | |
| tree | d7ae77dd39817973b6ae820845e7645b8579f1fb /lib/unify.typ | |
| parent | 578d2b3bac4bcf698d18c29c494b3143e9a97ad8 (diff) | |
| download | same-230e15f6cb19dda08ec5280f4a8d047aaece4b0a.tar.gz same-230e15f6cb19dda08ec5280f4a8d047aaece4b0a.tar.bz2 same-230e15f6cb19dda08ec5280f4a8d047aaece4b0a.zip | |
push unify.lib into its own lib subdirectory
Diffstat (limited to 'lib/unify.typ')
| -rw-r--r-- | lib/unify.typ | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/unify.typ b/lib/unify.typ new file mode 100644 index 0000000..a8ed0da --- /dev/null +++ b/lib/unify.typ @@ -0,0 +1,9 @@ +#import "@preview/unify:0.8.1": ( + num, numrange as sys-numrange, qty as sys-qty, qtyrange as sys-qtyrange, unit as sys-unit, +) + +// Set global defaults via currying +#let unit = sys-unit.with(per: "/") +#let qty = sys-qty.with(per: "/") +#let numrange = sys-numrange.with(delimiter: "\"to\"") +#let qtyrange = sys-qtyrange.with(per: "/", delimiter: "\"to\"") |
