From 230e15f6cb19dda08ec5280f4a8d047aaece4b0a Mon Sep 17 00:00:00 2001 From: Denis Chevalier Date: Mon, 10 Aug 2026 07:36:27 +0200 Subject: push unify.lib into its own lib subdirectory --- lib/unify.typ | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 lib/unify.typ (limited to 'lib/unify.typ') 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\"") -- cgit