AH Formatter / XSL Formatter
Q&A



XSLT/XSL-FO/MathML Technics

Inline

Top
Basic, General
About AH Formatter
About XSL Formatter
Operation
Programming
XSLT/XSL-FO/SVG/MathML Conformance
XSLT/XSL-FO/MathML Technics
Index
Q.  I specified baseline-shift="super" in fo:list-item-label. Not only the label but also the body is superscript. [No.2005070803]
A. 

Your FO is as follows:

<fo:list-item>
  <fo:list-item-label ...>
    <fo:block><fo:inline baseline-shift="super">Label</fo:inline>:</fo:block>
  </fo:list-item-label>
  <fo:list-item-body ...><fo:block>Body</fo:block></fo:list-item-body>
</fo:list-item>

XSL Formatter works correctly.

In the W3C Recommendation for XSL-FO, the initial value of relative-align is before. Therefore, list-item-label and list-item-body are aligned at each before-edge position. The line-area including baseline-shift="super" is higher. The baseline position of line-area has fallen.

7.13.6 "relative-align"

XSL Definition:

Value: before | baseline | inherit
Initial: before
Applies to: fo:list-item, fo:table-cell
Inherited: yes

If relative-align="baseline" is specified for fo:list-item, the baseline position of list-item-label and list-item-body is the horizontal.


Copyright © 1999-2011 Antenna House, Inc. All rights reserved.
Antenna House is a trademark of Antenna House, Inc.