Skip to main content

lazy-v

Lazy fractional vertical space, used with lazy-layout to push content to the bottom of a block while keeping sibling blocks at equal height without filling the entire page.

Has no visual effect without lazy-layout. If a column contains multiple lazy-v markers (stacked blocks), only the last one is activated.

Example:

#lazy-layout(grid(
columns: (1fr, 1fr),
block(width: 100%)[
#lorem(10)
#lazy-v(1fr)
Bottom left.
],
block(width: 100%)[
#lorem(20)
#lazy-v(1fr)
Bottom right.
],
))
Parameters

amount : fraction

The fractional amount of space (e.g. 1fr).

weak : bool    default: false

Whether the space is weak. Default is false.

Returns: content