This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: Sub- and Superscript




> -----Original Message-----
> From: David Carlisle [mailto:davidc@nag.co.uk]
> Sent: 23 April 2001 14:32
> To: xsl-list@lists.mulberrytech.com
> Subject: Re: [xsl] Sub- and Superscript
> 
> 
> 
> > This is really an HTML question though, not an XSL question.
> 
> No, your answer was an HTML answer, but the original poster
> was creating XSL-FO not HTML!
> 
> I don't think there is a direct way of specifying this in FO.
> One could use an inline table, or for a processor that supports MathML
> (eg passivetex) one could use msubsup from the MathMl namespace.

How about 

<xsl:template match="sup">
<fo:inline baseline-shift="10%">
  <xsl:apply-templates /> 
  </fo:inline>
  </xsl:template>

Works for me.

HTH DaveP

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]