Spacing (H)
Documentation for the `h` function.
Inserts horizontal spacing into a paragraph.
The spacing can be absolute, relative, or fractional. In the last case, the remaining space on the line is distributed among all fractional spacings according to their relative fractions.
Example
Loading compiler...
Fractional spacing
With fractional spacing, you can align things within a line without forcing a paragraph break (like align would). Each fractionally sized element gets space based on the ratio of its fraction to the sum of all fractions.
Loading compiler...
Mathematical Spacing
In mathematical formulas, you can additionally use these constants to add spacing between elements: thin (1/6 em), med (2/9 em), thick (5/18 em), quad (1 em), wide (2 em).
#h(
amount,
weak: bool
) -> contentParameters
Prop
Type