<!-- SEQUENT -->
<xsl:template match="Sequent">
+ <xsl:variable name="rowlines">
+ <xsl:for-each select="Declaration|Definition">
+ <xsl:if test="position() != last()">
+ <xsl:text>none </xsl:text>
+ </xsl:if>
+ </xsl:for-each>
+ <xsl:text>solid</xsl:text>
+ </xsl:variable>
<m:math>
- <m:mtable align="baseline 1" equalrows="false" columnalign="left" helm:xref="{@helm:xref}">
+ <m:mtable align="baseline 1" equalrows="false" columnalign="left" helm:xref="{@helm:xref}" rowlines="{$rowlines}">
<xsl:for-each select="Declaration|Definition">
<m:mtr>
<m:mtd>
</m:mtd>
</m:mtr>
</xsl:for-each>
+ <xsl:if test="not(Declaration|Definition)">
<m:mtr>
<m:mtd>
<m:mrow>
- <m:mtext>========================================</m:mtext>
+ <m:mphantom><m:mtext>_</m:mtext></m:mphantom>
</m:mrow>
</m:mtd>
</m:mtr>
+ </xsl:if>
<m:mtr>
<m:mtd>
<m:mrow>