From 7c42c9bab0b6a6d382b16ba270ebd495ac9d3334 Mon Sep 17 00:00:00 2001 From: Laurenz Date: Mon, 4 Sep 2023 13:18:35 +0200 Subject: Docs fixes Fixes #2059 Fixes #1946 Fixes #1936 Fixes #1862 Fixes #1820 Fixes #1383 --- docs/reference/styling.md | 2 +- docs/reference/types.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'docs') diff --git a/docs/reference/styling.md b/docs/reference/styling.md index 668dde63..31e04b24 100644 --- a/docs/reference/styling.md +++ b/docs/reference/styling.md @@ -88,7 +88,7 @@ fantasy encyclopedia. ```example #set heading(numbering: "(I)") -#show heading: it => block[ +#show heading: it => [ #set align(center) #set text(font: "Inria Serif") \~ #emph(it.body) diff --git a/docs/reference/types.md b/docs/reference/types.md index 1136bd27..5de4fb0c 100644 --- a/docs/reference/types.md +++ b/docs/reference/types.md @@ -60,7 +60,7 @@ You can convert a value to an integer with the [`int`]($func/int) function. ``` # Float -A floating-pointer number. +A floating-point number. A limited-precision representation of a real number. Typst uses 64 bits to store floats. Wherever a float is expected, you can also pass an -- cgit v1.2.3