<xsl:if test="parent::tml:g and following-sibling::tml:i"><xsl:value-of select="' '"/></xsl:if>
</xsl:when>
<xsl:when test="string-length(@val)=1"><xsl:value-of select="@val"/></xsl:when>
- <xsl:otherwise>{\it <xsl:value-of select="@val"/>}</xsl:otherwise>
+ <xsl:otherwise>{\rm <xsl:value-of select="@val"/>}</xsl:otherwise>
</xsl:choose>
</xsl:template>
<xsl:apply-templates select="*"/>
</xsl:template>
+<!--/// CURSOR ///-->
+
+ <xsl:template match="tml:cursor[@visible='1' and @val]">
+ <xsl:choose>
+ <xsl:when test="string-length(@val)=1"><xsl:value-of select="@val"/></xsl:when>
+ <xsl:otherwise>{\rm <xsl:value-of select="@val"/>}</xsl:otherwise>
+ </xsl:choose>
+ </xsl:template>
+
</xsl:stylesheet>