§

<num>

<num> (number) contains a number, written in any form. [3.5.3. ]
Modulecore
AttributesAttributes att.global (@xml:id, @n, @xml:lang, @rend, @style)
typeindicates the type of numeric value.
Status Optional
Datatype data.enumerated
Suggested values include:
cardinal
absolute number, e.g. 21, 21.5
ordinal
ordinal number, e.g. 21st
fraction
fraction, e.g. one half or three-quarters
percentage
a percentage
Note

If a different typology is desired, other values can be used for this attribute.

Member of
Contained by
May contain
derived-module-tei_tite: b cols i smcap sub sup ul
figures: figure formula
gaiji: g
linking: seg
transcr: handShift
Declaration
element num
{
   attribute type
   {
      "cardinal" | "ordinal" | "fraction" | "percentage" | xsd:Name
   }?,
   macro.phraseSeq
}
Example
<p>I reached <num type="cardinalvalue="21">twenty-one</num> on
my <num type="ordinalvalue="21">twenty-first</num> birthday</p>
<p>Light travels at <num value="3E10">3×10<hi rend="sup">10</hi>
 </num> cm per second.</p>
Note

Detailed analyses of quantities and units of measure in historical documents may also use the feature structure mechanism described in chapter 18. . The num element is intended for use in simple applications.