+<xsl:template name="mksymbol">
+ <xsl:param name="symbol" select="''"/>
+ <xsl:choose>
+ <xsl:when test="$UNICODEvsSYMBOL = 'symbol'">
+ <xsl:variable name="fontsymbol">
+ <xsl:choose>
+ <xsl:when test="$symbol = 'emptyset'">
+ <xsl:value-of select="'Æ'"/>
+ </xsl:when>
+ <xsl:when test="$symbol = 'in'">
+ <xsl:value-of select="'Î'"/>
+ </xsl:when>
+ <xsl:when test="$symbol = 'notin'">
+ <xsl:value-of select="'Ï'"/>
+ </xsl:when>
+ <xsl:when test="$symbol = 'intersect'">
+ <xsl:value-of select="'Ç'"/>
+ </xsl:when>
+ <xsl:when test="$symbol = 'union'">
+ <xsl:value-of select="'È'"/>
+ </xsl:when>
+ <xsl:when test="$symbol = 'subset'">
+ <xsl:value-of select="'Í'"/>
+ </xsl:when>
+ <xsl:when test="$symbol = 'prsubset'">
+ <xsl:value-of select="'Ì'"/>
+ </xsl:when>
+ <xsl:when test="$symbol = 'setdiff'">
+ <xsl:value-of select="'/'"/>
+ </xsl:when>
+ </xsl:choose>
+ </xsl:variable>
+ <FONT FACE="symbol" mathcolor="blue">
+ <xsl:value-of select="$fontsymbol"/>
+ </FONT>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:variable name="unicodesymbol">
+ <xsl:choose>
+ <xsl:when test="$symbol = 'emptyset'">
+ <xsl:value-of select="'∅'"/>
+ </xsl:when>
+ <xsl:when test="$symbol = 'in'">
+ <xsl:value-of select="'∈'"/>
+ </xsl:when>
+ <xsl:when test="$symbol = 'notin'">
+ <xsl:value-of select="'∉'"/>
+ </xsl:when>
+ <xsl:when test="$symbol = 'intersect'">
+ <xsl:value-of select="'∩'"/>
+ </xsl:when>
+ <xsl:when test="$symbol = 'union'">
+ <xsl:value-of select="'∪'"/>
+ </xsl:when>
+ <xsl:when test="$symbol = 'subset'">
+ <xsl:value-of select="'⊆'"/>
+ </xsl:when>
+ <xsl:when test="$symbol = 'prsubset'">
+ <xsl:value-of select="'⊂'"/>
+ </xsl:when>
+ <xsl:when test="$symbol = 'setdiff'">
+ <xsl:value-of select="'/'"/>
+ </xsl:when>
+ </xsl:choose>
+ </xsl:variable>
+ <xsl:value-of select="$unicodesymbol"/>
+ </xsl:otherwise>
+ </xsl:choose>
+</xsl:template>
+