[xep-support] Footnote causing gap between lines

From: Gustaf Liljegren (gustaf.liljegren@bredband.net)
Date: Sat Mar 01 2003 - 13:00:38 PST

  • Next message: Werner Donné: "[xep-support] JAXPDriver.transform()"

    Here's something that I've never been able to solve completely. The
    footnote number is causing an ugly gap in the text. I've tried setting
    line-height to zero, but the gap doesn't go away completely. Is there any
    other propoerties to play with?

      <xsl:template match="footnote">
        <xsl:variable name="footnote-number">
          <xsl:number level="any" from="chapter"/>
        </xsl:variable>
        <fo:footnote>
          <fo:inline baseline-shift="super" font-size="5pt" line-height="0">
            <xsl:value-of select="$footnote-number"/>
          </fo:inline>
          <fo:footnote-body>
            ...
          </fo:footnote-body>
        </fo:footnote>
      </xsl:template>

    Gustaf

    -------------------
    (*) To unsubscribe, send a message with words 'unsubscribe xep-support'
    in the body of the message to majordomo@renderx.com from the address
    you are subscribed from.
    (*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/tos.html



    This archive was generated by hypermail 2.1.5 : Sat Mar 01 2003 - 12:54:43 PST