Font size/rendering of superscripts in PDF output

From
Steve Whitlatch <>
Date
2004-02-14T08:02:57+00:00
ID
Thread
Font size/rendering of superscripts in PDF output
>is it possible to reduce the font size of superscripts in PDF output 
> (using XSL styleshettes)?

I'm using the following, and it is working nicely . . . not sure where 
I got it . . . probably the archives. Perhaps its author will 
recognize it and claim authorship? It is the very useful kind of 
thing we all need.

**********************
<!-- Controls the size of the superscript number denoting a footnote 
       -->
  <xsl:template name="format.footnote.mark">
    <xsl:param name="mark" select="'?'"/>
    <fo:inline font-size="80%">
      <xsl:choose>
        <xsl:when test="$fop.extensions != 0">
          <xsl:attribute name="vertical-align">super</xsl:attribute>
        </xsl:when>
        <xsl:otherwise>
          <xsl:attribute name="baseline-shift">super</xsl:attribute>
        </xsl:otherwise>
      </xsl:choose>
      <xsl:copy-of select="$mark"/>
    </fo:inline>
  </xsl:template>
***********************

Steve Whitlatch