underline
ShowableShowable functions can be customized with show
rules.
Showable functions can be customized with
show
rules.Underline text.
Example
This is #underline[important].

ParametersParameters are the inputs to a function. They are specified in parentheses after the function name.
Parameters are the inputs to a function. They are specified in parentheses after the function name.
underline()
body
The content to underline.
stroke
How to stroke the line. The text color and thickness are read from the
font tables if auto
.
Take #underline(
stroke: 1.5pt + red,
offset: 2pt,
[care],
)

offset
Position of the line relative to the baseline, read from the font tables
if auto
.
#underline(offset: 5pt)[
The Tale Of A Faraway Line I
]

extent
lengthSettableSettable parameters can be customized for all following uses of the function with a set
rule.
Settable parameters can be customized for all following uses of the function with a
set
rule.Amount that the line will be longer or shorter than its associated text.
#align(center,
underline(extent: 2pt)[Chapter 1]
)

evade
booleanSettableSettable parameters can be customized for all following uses of the function with a set
rule.
Settable parameters can be customized for all following uses of the function with a
set
rule.Whether the line skips sections in which it would collide with the glyphs.
This #underline(evade: true)[is great].
This #underline(evade: false)[is less great].
