[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: fo:inline baseline-shift that doesn't change line

Subject: Re: fo:inline baseline-shift that doesn't change line-height
From: "Tony Graham" <tgraham@xxxxxxxxxx>
Date: Tue, 22 May 2012 22:07:56 +0100 (IST)
Re:  fo:inline baseline-shift that doesn't change  line
On Tue, May 22, 2012 9:51 pm, Karl Stubsjoen wrote:
> This is probably an easy answer, but how do you create an fo:inline
> with a shifted baseline that does not impact the characteristics of
> the existing line of text?  In other words, I want superscript text
> but I do not want the line height to increase to accommodate for the
> superscript.

line-height-shift-adjustment="disregard-shifts" [1] should do it.  As the
note in the property definition says, "This property can be used to
prevent superscript and subscript characters from disrupting the
line-spacing."

Regards,


Tony Graham                                   tgraham@xxxxxxxxxx
Consultant                                 http://www.mentea.net
Mentea       13 Kelly's Bay Beach, Skerries, Co. Dublin, Ireland
 --  --  --  --  --  --  --  --  --  --  --  --  --  --  --  --
    XML, XSL-FO and XSLT consulting, training and programming

[1] http://www.w3.org/TR/xsl11/#line-height-shift-adjustment

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.