<num>

<num> (숫자) 다양한 형식의 숫자를 포함한다. [3.6.3 Numbers and Measures]
모듈 core — Elements Available in All TEI Documents
속성
type⚓︎ 수치의 유형을 나타낸다.
Derived from att.typed
상태 수의적
자료 유형 teidata.enumerated
제안값은 다음을 포함한다:
cardinal
예를 들어, 21, 21.5와 같은 절대값
ordinal
예를 들어, 21번째와 같은 서수
fraction
예를 들어, 1/2 또는 3/4와 같은 분수
percentage
백분율
value⚓︎ 표준형의 숫자 값을 제시한다.
상태 수의적
자료 유형 teidata.numeric
a numeric value.
클럽 회원
에 의해 포함된
analysis: cl phr s span
cmc: post
figures: cell figDesc
iso-fs: fDescr fsDescr
linking: ab seg
spoken: u writing
tagdocs: eg valDesc
verse: metSym rhyme
포함할 수 있다
주석

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

<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>
Content model
<content>
 <macroRef key="macro.phraseSeq"/>
</content>
선언
<rng:element name="num">
 <rng:ref name="att.global.attributes"/>
 <rng:ref name="att.global.rendition.attributes"/>
 <rng:ref name="att.global.linking.attributes"/>
 <rng:ref name="att.global.analytic.attributes"/>
 <rng:ref name="att.global.facs.attributes"/>
 <rng:ref name="att.global.change.attributes"/>
 <rng:ref name="att.global.responsibility.attributes"/>
 <rng:ref name="att.global.source.attributes"/>
 <rng:ref name="att.ranging.attributes"/>
 <rng:ref name="att.cmc.attributes"/>
 <rng:ref name="att.typed.attribute.subtype"/>
 <rng:optional>
  <rng:attribute name="type">
   <rng:choice>
    <rng:value>cardinal</rng:value>
    <rng:value>ordinal</rng:value>
    <rng:value>fraction</rng:value>
    <rng:value>percentage</rng:value>
    <rng:ref name="teidata.enumerated"/>
   </rng:choice>
  </rng:attribute>
 </rng:optional>
 <rng:optional>
  <rng:attribute name="value">
   <rng:ref name="teidata.numeric"/>
  </rng:attribute>
 </rng:optional>
 <rng:ref name="macro.phraseSeq"/>
</rng:element>
element num
{
   att.global.attributes,
   att.global.rendition.attributes,
   att.global.linking.attributes,
   att.global.analytic.attributes,
   att.global.facs.attributes,
   att.global.change.attributes,
   att.global.responsibility.attributes,
   att.global.source.attributes,
   att.ranging.attributes,
   att.cmc.attributes,
   att.typed.attribute.subtype,
   attribute type
   {
      "cardinal" | "ordinal" | "fraction" | "percentage" | teidata.enumerated
   }?,
   attribute value { teidata.numeric }?,
   macro.phraseSeq
}