aspose file tools*
The moose likes XML and Related Technologies and the fly likes xsl-fo superscript and subscript Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of JavaScript Promises Essentials this week in the JavaScript forum!
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "xsl-fo superscript and subscript" Watch "xsl-fo superscript and subscript" New topic
Author

xsl-fo superscript and subscript

Ranjithkumar Periyasamy
Greenhorn

Joined: Jul 11, 2004
Posts: 2
How to get superscript and subscript in xsl-fo for pdf generation.
some on help me
Balaji Loganathan
author and deputy
Bartender

Joined: Jul 13, 2001
Posts: 3150
Its depends on FOP Processor, for Apache FOP you can try vertical-align="super" in fo:inline or baseline-shift="super" in fo:inline...
let us know the output...
Kartik Shah
Ranch Hand

Joined: Dec 07, 2000
Posts: 102
vertical-align="super" works
baseline-shift="super" does not work. Though the link
Apache FOP Compliance Pagesays it is implemented for super and sub.

I also added font-size in inline so that the superscript is small.

Regards,
Kartik


Kartik Shah
SCJP, SCDJWS, IBM Certified Websphere & XML, PMP & Six Sigma - http://blog.kartikshah.info
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: xsl-fo superscript and subscript