Typst Fumadocs

Fraction

Documentation for the Fraction type.

Defines how the remaining space in a layout is distributed.

Each fractionally sized element gets space based on the ratio of its fraction to the sum of all fractions.

For more details, also see the h and v functions and the grid function.

Example

Loading compiler...

On this page