summaryrefslogtreecommitdiff
path: root/crates
diff options
context:
space:
mode:
authorssotoen <68116836+ssotoen@users.noreply.github.com>2024-08-12 13:37:55 +0200
committerGitHub <noreply@github.com>2024-08-12 11:37:55 +0000
commitd84a7e423b53e9b5740720270b132da60c8a3fea (patch)
tree5ecaedab0d8816902b8dda13b626efcdae203168 /crates
parent3dbaf3a4ca3437489a8c08c1d459eb20d5f7466c (diff)
Document exact sizes of mathematical spaces (#4738)
Diffstat (limited to 'crates')
-rw-r--r--crates/typst/src/layout/spacing.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/crates/typst/src/layout/spacing.rs b/crates/typst/src/layout/spacing.rs
index 571cc870..60e9b59b 100644
--- a/crates/typst/src/layout/spacing.rs
+++ b/crates/typst/src/layout/spacing.rs
@@ -18,7 +18,8 @@ use crate::utils::Numeric;
///
/// # Mathematical Spacing { #math-spacing }
/// In [mathematical formulas]($category/math), you can additionally use these
-/// constants to add spacing between elements: `thin`, `med`, `thick`, `quad`, `wide`.
+/// constants to add spacing between elements: `thin` (1/6 em), `med`(2/9 em),
+/// `thick` (5/18 em), `quad` (1 em), `wide` (2 em).
#[elem(title = "Spacing (H)", Behave)]
pub struct HElem {
/// How much spacing to insert.