<num>

<num> 各種形式による数値を示す. [3.5.3 Numbers and Measures]
モジュールcore — Elements Available in All TEI Documents
属性att.global (@xml:id, @n, @xml:lang, @rend, @style, @rendition, @xml:base, @xml:space) (att.global.linking (@corresp, @synch, @sameAs, @copyOf, @next, @prev, @exclude, @select)) (att.global.analytic (@ana)) (att.global.facs (@facs)) (att.global.change (@change)) att.ranging (@atLeast, @atMost, @min, @max, @confidence)
type数値の種類を示す. 提案する値は以下の通り: 1] cardinal; 2] ordinal; 3] fraction; 4] percentage
状態 任意
データ型

<rng:ref name="data.enumerated"/>
data.enumerated
提案する値は以下の通り:
cardinal
基数.例えば,21, 21.5など.
ordinal
序数.例えば,21番など.
fraction
割合.例えば,1/2, 3/4など.
percentage
パーセント.百分率.
解説

上記とは別の分類が必要であれば,それを使うことができる.

value標準的な形式で数値を示す.
状態 任意
データ型

<rng:ref name="data.numeric"/>
data.numeric
a numeric value.
解説

標準的な形式は,TEIデータ型data.numericで定義されている.

クラブのメンバー
上位
analysis: cl phr s span
figures: cell figDesc
iso-fs: fDescr fsDescr
linking: ab seg
spoken: u writing
tagdocs: eg valDesc
verse: metSym rhyme
下位
宣言

<rng:element name="num">
 <rng:ref name="att.global.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.ranging.attributes"/>
 <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:data type="Name"/>
   </rng:choice>
  </rng:attribute>
 </rng:optional>
 <rng:optional>
  <rng:attribute name="value">
   <rng:ref name="data.numeric"/>
  </rng:attribute>
 </rng:optional>
 <rng:ref name="macro.phraseSeq"/>
</rng:element>
element num
{
   att.global.attributes,
   att.global.linking.attributes,
   att.global.analytic.attributes,
   att.global.facs.attributes,
   att.global.change.attributes,
   att.ranging.attributes,
   attribute type
   {
      "cardinal" | "ordinal" | "fraction" | "percentage" | xsd:Name
   }?,
   attribute value { data.numeric }?,
   macro.phraseSeq
}
<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>
解説

歴史的文書の量や大きさの詳細な分析には,18 Feature Structuresで解説 されている素性構造機能を使うことになるかもしれない. 当該要素numは,簡単なソフトウェアで使われることが想定され ている.