TypstDocumentation

vShowable
Question mark

Insert vertical spacing.

The spacing can be a length or a fractional. In the latter case, the remaining space on the page is distributed among all fractional spacings according to their relative fractions.

Example

In this report, we will explore
the various ethical
considerations that must be
taken into account when
conducting psychological
research:
#v(5mm)

- Informed consent
- Participant confidentiality
- The use of
  vulnerable populations.
Preview

Parameters
Question mark

amount
relative lengthfractionRequiredPositional
Question mark

How much spacing to insert.

weak

If true, the spacing collapses at the start or end of a flow. Moreover, from multiple adjacent weak spacings all but the largest one collapse. Weak spacings will always collapse adjacent paragraph spacing, even if the paragraph spacing is larger.

The following theorem is
foundational to the field:
#v(4pt, weak: true)
$ x^2 + y^2 = r^2 $
#v(4pt, weak: true)
The proof is simple:
Preview