1T3XT info wrote: > Ian Hobson wrote: >> 1T3XT info wrote: >>> Why not use a generic tag on the Chunk. >>> This example is used to add ellipses and boxes: >>> http://1t3xt.info/examples/browse/?page=example&id=67 >>> but you could easily adapt it to add text in subscript or superscript. >>> >> I don't see how this would help. > > Obviously it won't work if you don't try. Sticks and stones! > See the attachment. Thanks for the example. I could not have got it working from the information in the book.
The sub and superscripts are being written over the following text. I can use getWidthPoint to discover the width of the larger of these, in points. How can I use this figure to move the following text over enough to lay things out correctly? Regards Ian ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ _______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://www.1t3xt.com/docs/book.php
