Re: [xep-support] evem line height with superscript (was:1. unicode characters (eg arrow up) 2. line-height)

From: Paul A. Hoadley (
Date: Wed Jan 22 2003 - 03:02:33 PST

  • Next message: Tobias Reif: "Re: [xep-support] evem line height with superscript (was:1. unicode characters (eg arrow up) 2. line-height)"

    On Wed, Jan 22, 2003 at 11:12:31AM +0100, Tobias Reif wrote:
    > >There is a special XSL property, "line-height-shift-adjustment",
    > Thank you very much for these suggestions.
    > line-height-shift-adjustment seems to do what it should (though I
    > have the impression that now there's a more space *below* the line),
    > but the superscript text now nearly touches the above line.

    This combination looks pretty good to me:

      <xsl:template name="format.footnote.mark">
        <xsl:param name="mark" select="'?'"/>
        <fo:inline baseline-shift="super" font-size="70%">
          <xsl:copy-of select="$mark"/>

    [Above is what I suggested in a previous mail, but with a more
    reasonable 70% scale factor.]

      <xsl:attribute-set name="normal.para.spacing">
        <xsl:attribute name="space-before.optimum">1em</xsl:attribute>
        <xsl:attribute name="space-before.minimum">0.8em</xsl:attribute>
        <xsl:attribute name="space-before.maximum">1.2em</xsl:attribute>
        <xsl:attribute name="line-height-shift-adjustment">

    With 10 point Times Roman, the superscript footnote marks seem to miss
    the descenders from the line above and are not too small, and the line
    spacing is unaffected. However, if you didn't like 90%, Tobias,
    you're not going to like 70%. :-) You may have to keep trying, but
    this looks nice to me. Also, this could break all manner of other
    formatting with Norm's FO stylesheets for all I know, in particular
    inline graphics -- I've only tested it on a minimal input to see what
    it did for footnotes. There is bound to be a better way.

    (*) To unsubscribe, send a message with words 'unsubscribe xep-support'
    in the body of the message to from the address
    you are subscribed from.
    (*) By using the Service, you expressly agree to these Terms of Service

    This archive was generated by hypermail 2.1.5 : Wed Jan 22 2003 - 02:56:42 PST