<!-- Parameter affecting line-breaking -->
<!--***********************************************************************-->
-<xsl:variable name="framewidth" select="30"/>
+<xsl:variable name="framewidth" select="35"/>
<!--***********************************************************************-->
<!-- Gli oggetti sono stampati come mtext all'interno di una marca toplevel-->
<xsl:attribute name="helm:xref"><xsl:value-of select="@helm:xref"/></xsl:attribute>
</xsl:if>
<xsl:choose>
+ <xsl:when test="$name='forall'">
+ <xsl:choose>
+ <xsl:when test="$charlength >= $framewidth">
+ <m:mtable align="baseline 1" equalrows="false" columnalign="left">
+ <m:mtr>
+ <m:mtd>
+ <m:mo color="Blue"><m:mchar name="ForAll"/></m:mo>
+ <xsl:apply-templates select="m:bvar"/>
+ </m:mtd>
+ </m:mtr>
+ <m:mtr>
+ <m:mtd>
+ <m:mrow>
+ <m:mo>.</m:mo>
+ <xsl:apply-templates select="*[position()=3]"/>
+ </m:mrow>
+ </m:mtd>
+ </m:mtr>
+ </m:mtable>
+ </xsl:when>
+ <xsl:otherwise>
+ <m:mo color="Blue"><m:mchar name="ForAll"/></m:mo>
+ <xsl:apply-templates select="m:bvar/m:ci"/>
+ <m:mo>:</m:mo>
+ <xsl:apply-templates select="m:bvar/m:type"/>
+ <m:mo>.</m:mo>
+ <xsl:apply-templates select="*[position()=3]"/>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:when>
<xsl:when test="$name='prod'">
<xsl:choose>
<xsl:when test="$charlength >= $framewidth">
<m:mtr>
<m:mtd>
<m:mrow>
- <m:mo color="#b03060">:></m:mo>
+ <m:mo color="Maroon">:></m:mo>
<xsl:apply-templates select="*[position()=3]"/>
</m:mrow>
</m:mtd>
<xsl:otherwise>
<m:mo stretchy="false">(</m:mo>
<xsl:apply-templates select="*[position()=2]"/>
- <m:mo color="#b03060">:></m:mo>
+ <m:mo color="Maroon">:></m:mo>
<xsl:apply-templates select="*[position()=3]"/>
<m:mo stretchy="false">)</m:mo>
</xsl:otherwise>
<m:mtr>
<m:mtd>
<m:mrow>
- <m:mtext color="#b03060">we proved </m:mtext>
+ <m:mtext color="Maroon">we proved </m:mtext>
+ <m:mphantom><m:mtext>_</m:mtext></m:mphantom>
<xsl:apply-templates select="*[position()=3]"/>
</m:mrow>
</m:mtd>
<m:mphantom><m:mtext>_</m:mtext></m:mphantom>
<xsl:apply-templates select="*[3]"/>
<m:mphantom><m:mtext>_</m:mtext></m:mphantom>
- <m:mtext>and apply</m:mtext>
+ <m:mtext>and apply to</m:mtext>
<m:mphantom><m:mtext>_</m:mtext></m:mphantom>
<xsl:apply-templates select="*[position()>3]"/>
</m:mrow>
<m:mtext>(</m:mtext>
<xsl:apply-templates select="*[3]"/>
<m:mtext>)</m:mtext>
+ <m:mphantom><m:mtext>_</m:mtext></m:mphantom>
<xsl:apply-templates select="*[4]"/>
</m:mrow>
</m:mtd>
<m:mtext>(</m:mtext>
<xsl:apply-templates select="*[5]"/>
<m:mtext>)</m:mtext>
+ <m:mphantom><m:mtext>_</m:mtext></m:mphantom>
<xsl:apply-templates select="*[6]"/>
</m:mrow>
</m:mtd>
<m:mtr>
<m:mtd>
<m:mrow>
+ <m:mtext color="Maroon">we get</m:mtext>
+ <m:mphantom><m:mtext>_</m:mtext></m:mphantom>
<xsl:apply-templates select="."/>
</m:mrow>
</m:mtd>
<m:mtr>
<m:mtd>
<m:mrow>
+ <m:mtext color="Maroon">we get</m:mtext>
+ <m:mphantom><m:mtext>_</m:mtext></m:mphantom>
<xsl:apply-templates select="."/>
</m:mrow>
</m:mtd>
<xsl:template match = "m:set">
<xsl:choose>
<xsl:when test="count(child::*) = 0">
- <m:mo>
- <m:mchar name="EmptySet"/>
- </m:mo>
+ <m:mi>
+ <m:mchar name="emptyset"/>
+ </m:mi>
</xsl:when>
<xsl:otherwise>
<xsl:variable name="charlength">