Document exact sizes of mathematical spaces (#4738)

This commit is contained in:
ssotoen 2024-08-12 13:37:55 +02:00 committed by GitHub
parent 3dbaf3a4ca
commit d84a7e423b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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.