From 0c92f7c04bbf1e6fc5824791927ff49382371fea Mon Sep 17 00:00:00 2001 From: Mc-Zen <52877387+Mc-Zen@users.noreply.github.com> Date: Mon, 6 Jul 2026 20:17:11 +0200 Subject: [PATCH 1/2] [docs] fixes closes #91 --- README.md | 2 +- docs/figures/quick-demo.typ | 2 +- docs/figures/table.typ | 2 +- docs/figures/unit-demo.typ | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 08ed859..05bf377 100644 --- a/README.md +++ b/README.md @@ -373,7 +373,7 @@ Take a look at the example below: #let kgm-s2 = zi.declare("kg m/s^2") -- The current world record for the 100 metres is held by Usain Bolt with #zi.s[9.58]. +- The current world record for the 100 meters is held by Usain Bolt with #zi.s[9.58]. - The velocity of light is #zi.m-s[299792458]. - A Newton is defined as #kgm-s2[1]. - The unit of a frequency is #zi.Hz(). diff --git a/docs/figures/quick-demo.typ b/docs/figures/quick-demo.typ index ebd1251..ab61f80 100644 --- a/docs/figures/quick-demo.typ +++ b/docs/figures/quick-demo.typ @@ -16,7 +16,7 @@ #let examples = ( `num("1.2e4")` ,`num[1.2e4]`, - `num("-5e-4")` ,`num(fixed: -2)[0.02]`, + `num("-5e-4")` ,`num(exponent: (fixed: -2))[0.02]`, `num("9.81+-.01")` ,`num("9.81+0.02-.01")`, `num("9.81+-.01e2")` ,`num(base: 2)[3e4]`, ) diff --git a/docs/figures/table.typ b/docs/figures/table.typ index faeed6a..51a4d15 100644 --- a/docs/figures/table.typ +++ b/docs/figures/table.typ @@ -37,7 +37,7 @@ [2], [4.568e1], [-0.1+-1e4], [1.23], [3], [12.2e4], [-.02+-.02], [1], [...], [24.1e6], [-1.1+-5], [9.1], - [10], [234e200], [-0.00234+-.3e3], [1.1] + [10], [234e200], [-0.00234+-.0003e3], [1.1] ) #table1 diff --git a/docs/figures/unit-demo.typ b/docs/figures/unit-demo.typ index f2c3ecd..b061f95 100644 --- a/docs/figures/unit-demo.typ +++ b/docs/figures/unit-demo.typ @@ -13,7 +13,7 @@ #let kgm-s2 = zi.declare("kg m/s^2") -- The current world record for the 100 metres is #zi.s[9.58], held by Usain Bolt. +- The current world record for the 100 meters is #zi.s[9.58], held by Usain Bolt. - The velocity of light is #zi.m-s[299792458]. - A Newton is defined as #kgm-s2[1]. - The unit of a frequency is #zi.Hz(). From e40ff84c30a615190e45eac98d62232394bea6c0 Mon Sep 17 00:00:00 2001 From: Mc-Zen <52877387+Mc-Zen@users.noreply.github.com> Date: Mon, 6 Jul 2026 20:23:57 +0200 Subject: [PATCH 2/2] Update images in README for light and dark modes --- README.md | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index 05bf377..80fd60d 100644 --- a/README.md +++ b/README.md @@ -78,9 +78,9 @@ See below for a few examples of the syntax that can be used with `num`.
+
+
+