概要
記号類。 (短縮形: sym) 主に、MS IME の変換で出せない文字。
利用方法
<symbol name="name"></symbol>
サンプル
<symbol n="forall"/>x s.t. <symbol n="vtheta"/><paren>x</paren> <op>=</op> 0
∀x s.t. ϑ(x) = 0
XSL template
<xsl:template match="ufcpp:math//ufcpp:symbol|ufcpp:math//ufcpp:sym|ufcpp:Math//ufcpp:symbol|ufcpp:Math//ufcpp:sym"> <xsl:variable name="n"><xsl:choose><xsl:when test="@name != ''"><xsl:value-of select="@name"/></xsl:when><xsl:otherwise><xsl:value-of select="@n"/></xsl:otherwise></xsl:choose></xsl:variable> <span class="normal"> <xsl:choose> <xsl:when test="$n = 'forall'">∀</xsl:when><!--∀--> <xsl:when test="$n = 'exist'">∃</xsl:when><!--∃--> <xsl:when test="$n = 'partial'">∂</xsl:when><!--∂--> <xsl:when test="$n = 'part'">∂</xsl:when><!--∂--> <xsl:when test="$n = 'nabla'">∇</xsl:when><!--∇--> <xsl:when test="$n = 'infinity'">∞</xsl:when><!--∞--> <xsl:when test="$n = 'infty'">∞</xsl:when><!--∞--> <xsl:when test="$n = 'infin'">∞</xsl:when><!--∞--> <xsl:when test="$n = 'ang'">∠</xsl:when><!--∠--> <xsl:when test="$n = 'therefore'">∴</xsl:when><!--∴--> <xsl:when test="$n = 'because'">∵</xsl:when><!--∵--> <xsl:when test="$n = 'empty'">∅</xsl:when><!--∅--> <xsl:when test="$n = 'weierp'">℘</xsl:when><!--℘--> <xsl:when test="$n = 'image'">ℑ</xsl:when><!--ℑ--> <xsl:when test="$n = 'real'">ℜ</xsl:when><!--ℜ--> <xsl:when test="$n = 'alef'">ℵ</xsl:when><!--ℵ--> <xsl:when test="$n = 'planck'">ℏ</xsl:when><!--ℏ--> <!-- ellipsis --> <xsl:when test="$n = 'dots'">⋯</xsl:when><!--⋯--> <xsl:when test="$n = 'vdots'">⋮</xsl:when><!--⋮--> <xsl:when test="$n = 'updots'">⋰</xsl:when><!--⋰--> <xsl:when test="$n = 'downdots'">⋱</xsl:when><!--⋱--> <!--ギリシャ文字異字体--> <xsl:when test="$n = 'vbeta'">ϐ</xsl:when> <xsl:when test="$n = 'vepsilon'">∊</xsl:when> <xsl:when test="$n = 'vtheta'">ϑ</xsl:when> <xsl:when test="$n = 'vkappa'">ϰ</xsl:when> <xsl:when test="$n = 'vpi'">ϖ</xsl:when> <xsl:when test="$n = 'vrho'">ϱ</xsl:when> <xsl:when test="$n = 'vsigma'">ς</xsl:when> <xsl:when test="$n = 'vphi'">ϕ</xsl:when> <xsl:otherwise> <xsl:value-of select="text()"/> </xsl:otherwise> </xsl:choose> </span> </xsl:template>
style sheet
span.normal { font-weight:normal; font-style:normal; }