Development build 586e1bd4
Typst文档简体中文版v0.15.1 + dev 586e1bd4

fraction自始可用Go to source

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

Left #h(1fr) Left-ish #h(2fr) Right