<num>
<num> (number) contains a number, written in any form. [3.6.3. Numbers and Measures]
Module | core | ||||||||||||||||||||||
Attributes | Attributes att.global (xml:id, n, xml:lang) (lim.att.global.fragmentable (part)) (att.global.rendition (rendition)) (att.global.source (source)) att.ranging (atLeast, atMost, min, max, confidence)
|
||||||||||||||||||||||
Member of | |||||||||||||||||||||||
Contained by |
core: abbr add author bibl corr date del desc editor emph expan foreign gloss head hi item l label mentioned name note num orig p pubPlace publisher q quote ref reg resp rs sic term time title unclear
corpus: activity
namesdates: addName affiliation birth death faith floruit forename genName langKnown location nameLink nationality objectName occupation orgName persName placeName residence roleName settlement sex surname
textstructure: byline dateline docAuthor docDate docEdition docImprint imprimatur salute signed titlePart trailer
|
||||||||||||||||||||||
May contain |
core: abbr add choice cit date del ellipsis emph foreign gap gloss graphic hi lb mentioned milestone name note noteGrp num orig pb ptr q quote ref reg rs sic term time title unclear
figures: figure
gaiji: g
header: idno
lim: noteMarker rule
linking: linkGrp
msdescription: locusGrp
namesdates: addName affiliation forename genName geo location nameLink objectName orgName persName placeName roleName settlement surname
character data
|
||||||||||||||||||||||
Note |
Detailed analyses of quantities and units of measure in historical documents may also
use the feature structure mechanism described in chapter 18. Feature Structures. The num element is intended for use in simple applications.
|
||||||||||||||||||||||
Examples |
<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> |
||||||||||||||||||||||
Source | Github
<elementSpec module="core" ident="num"> <gloss>number</gloss> <desc>contains a number, written in any form.</desc> <classes> <memberOf key="att.global"/> <memberOf key="att.typed"/> <memberOf key="model.measureLike"/> <memberOf key="att.ranging"/> </classes> <content> <macroRef key="macro.phraseSeq"/> </content> <attList> <attDef ident="type" mode="change" usage="opt"> <desc>indicates the type of numeric value.</desc> <datatype> <dataRef key="teidata.enumerated"/> </datatype> <valList type="semi" mode="add"> <valItem ident="cardinal"> <desc>absolute number, e.g. 21, 21.5</desc> </valItem> <valItem ident="ordinal"> <desc>ordinal number, e.g. 21st</desc> </valItem> <valItem ident="fraction"> <desc>fraction, e.g. one half or three-quarters</desc> </valItem> <valItem ident="percentage"> <desc>a percentage</desc> </valItem> </valList> </attDef> <attDef ident="value" usage="opt"> <desc>supplies the value of the number in standard form.</desc> <datatype> <dataRef key="teidata.numeric"/> </datatype> <valDesc>a numeric value.</valDesc> </attDef> </attList> </elementSpec> |