Skip to content

<num>

number

contains a number, written in any form.

Module coreCONANU

Attributes

@typeindicates the type of numeric value.
Status
Optional
Datatype
teidata.enumerated
Suggested values
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
<div type="verse">
  <head>Night in Tarras</head>
  <lg type="stanza">
    <l>At evening tramping on the hot white road</l>
    <l>…</l>
  </lg>
  <lg type="stanza">
    <l>A wind sprang up from nowhere as the sky</l>
    <l>…</l>
  </lg>
</div>
@valuesupplies the value of the number in standard form.
Status
Optional
Datatype
teidata.numeric

Classes and content

Member of
May contain

dictionaries

gaiji

header

textcrit

textstructure

Character data

  • character data
Contained by

analysis

cmc

linking

spoken

tagdocs

Note

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

Example

<p>I reached <num type="cardinal" value="21">twenty-one</num> on
my<num type="ordinal" value="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>

Content model

<content>
    <macroRef key="macro.phraseSeq"/>
  </content>