<unit>
The self-closing <unit/>
tag is used to specify units inside a <quantity>
. Adjacent units will
be multiplied together. Units may optionally include a prefix via the prefix
attribute and an exponent via the exp
attribute.
See The PreTeXt Guide for more information.
Syntax
Attributes
Attribute | Required? | Values |
---|---|---|
base = "…" | required | string |
exp = "…" | optional | string |
prefix = "…" | optional | string |
Children
This tag must be empty (i.e., no children or text allowed).Parents
This element may appear as an immediate child of the following elements:<quantity>