diff --git a/README.md b/README.md index 08ed859..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`.

- - - Quick demo + + + num syntax overview

@@ -351,12 +351,11 @@ Zero not only aligns numbers at the decimal point but also at the uncertainty an

- - - Advanced number alignment in tables + + + Advanced number alignment in tables

- --- ## Units and Quantities @@ -373,16 +372,16 @@ 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(). ```

- - - Units and quantities + + + Units and quantities

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().