FO:XSL apex number superscript for letter

Viewed 102

Currently i'm trying to put a superscript number over a letter in xslt, but i've no found nothing for to do that on internet, it must be like km², thank you for interest.

1 Answers

You may try the attribute vertical-align="super" of fo:inline element.

<fo:block>km<fo:inline vertical-align="super">2</fo:inline></fo:block>

But it may depend on the font type.

Related