<num>

<num> (數字) 包含一個以任何形式呈現的數字。 3.5.3 Numbers and Measures
組件core — 3 Elements Available in All TEI Documents
屬性
type說明數值的種類
狀態 非必備的
資料類型
data.enumerated
被推薦的值包含:
cardinal
獨立的數字,例如21、21.5
ordinal
代表順序的數字,例如第21
fraction
分數,例如二分之ㄧ或是四分之三
percentage
百分比
If a different typology is desired, other values can be used for this attribute.
value用標準形式來說明該數字所代表的值。
狀態 非必備的
資料類型
data.numeric
a numeric value.
The standard form used is defined by the TEI datatype data.numeric.
屬於 model.measureLike
可包含
宣告
element num
{
   att.global.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...
light travels at <num value="10E10">10<hi rend="sup">10</hi>
 </num> cm per second.</p>
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.