aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenis Chevalier <perso@denischevalier.fr>2026-08-10 07:37:21 +0200
committerDenis Chevalier <perso@denischevalier.fr>2026-08-10 07:37:21 +0200
commit6eede3a0703e0b8040ad92984053928e47c00c47 (patch)
tree7c0045348d88d5fc14d17712cd1b102426bab7e8
parent230e15f6cb19dda08ec5280f4a8d047aaece4b0a (diff)
downloadsame-6eede3a0703e0b8040ad92984053928e47c00c47.tar.gz
same-6eede3a0703e0b8040ad92984053928e47c00c47.tar.bz2
same-6eede3a0703e0b8040ad92984053928e47c00c47.zip
load add-unit via lib/unify.typ in preamble
-rw-r--r--lib/unify.typ2
-rw-r--r--preamble.typ2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/unify.typ b/lib/unify.typ
index a8ed0da..e13fabd 100644
--- a/lib/unify.typ
+++ b/lib/unify.typ
@@ -1,5 +1,5 @@
#import "@preview/unify:0.8.1": (
- num, numrange as sys-numrange, qty as sys-qty, qtyrange as sys-qtyrange, unit as sys-unit,
+ add-unit, num, numrange as sys-numrange, qty as sys-qty, qtyrange as sys-qtyrange, unit as sys-unit,
)
// Set global defaults via currying
diff --git a/preamble.typ b/preamble.typ
index a0a4629..5789f6e 100644
--- a/preamble.typ
+++ b/preamble.typ
@@ -1,4 +1,4 @@
-#import "@preview/unify:0.8.1": add-unit
+#import "lib/unify.typ": add-unit
// All units for the specification should be specified here
#add-unit("ppm", "ppm", "upright(\"ppm\")")