ellipse
ElementElementElement functions can be customized with set
and show
rules.
Element
Element functions can be customized with
set
and show
rules.An ellipse with optional content.
Example
// Without content.
#ellipse(width: 35%, height: 30pt)
// With content.
#ellipse[
#set align(center)
Automatically sized \
to fit the content.
]

ParameterParameterParameters are input values for functions. Specify them in parentheses after the function name.
Parameter
Parameters are input values for functions. Specify them in parentheses after the function name.
width
The ellipse's width, relative to its parent container.
Default value: auto
height
The ellipse's height, relative to its parent container.
Default value: auto
stroke
How to stroke the ellipse. See the rectangle's documentation for more details.
Default value: auto
inset
SettableSettableSettable parameters can be set using the set
rule, changing the default value used thereafter.
Settable
Settable
Settable parameters can be set using the
set
rule, changing the default value used thereafter.How much to pad the ellipse's content. See the box's documentation for more details.
Default value: 0% + 5pt
outset
SettableSettableSettable parameters can be set using the set
rule, changing the default value used thereafter.
Settable
Settable
Settable parameters can be set using the
set
rule, changing the default value used thereafter.How much to expand the ellipse's size without affecting the layout. See the box's documentation for more details.
Default value: (:)
body
The content to place into the ellipse.
When this is omitted, the ellipse takes on a default size of at most
45pt
by 30pt
.
Default value: none