<num>
number
contains a number, written in any form.
Module coreCONANU
Attributes
Global and inherited 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
core
figures
gaiji
header
msdescription
namesdates
textstructure
transcr
Character data
- character data
- Contained by
cmc
core
dictionaries
header
msdescription
- accMat
- acquisition
- additions
- catchwords
- collation
- collection
- colophon
- condition
- custEvent
- decoNote
- explicit
- filiation
- finalRubric
- foliation
- heraldry
- incipit
- institution
- layout
- material
- musicNotation
- objectType
- origDate
- origin
- origPlace
- provenance
- repository
- rubric
- secFol
- signatures
- source
- stamp
- summary
- support
- surrogates
- typeNote
- watermark
namesdates
textstructure
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>