This week's book giveaway is in the Cloud/Virtualizaton forum.
We're giving away four copies of Mesos in Action and have Roger Ignazio on-line!
See this thread for details.
Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

xsl-fo superscript and subscript

 
Ranjithkumar Periyasamy
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How to get superscript and subscript in xsl-fo for pdf generation.
some on help me
 
Balaji Loganathan
author and deputy
Bartender
Posts: 3150
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 102
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic