Hi Jirka,
I'm not sure if this is the 'best' way of doing this, but it worked for me.
Try applying a negative padding-left to the 2nd value. Taking your fo and altering it like this:
<fo:block>
A<fo:inline baseline-shift="super" inline-progression-dimension="0pt">X</fo:inline><fo:inline baseline-shift="sub" padding-left="-8pt">Y</fo:inline>
</fo:block>
This technique worked in my test. You may still have to play with the padding variable to get them right (due to font differences), but it's something to start with...
Janean Angeles
-----Original Message-----
From: owner-xep-support@renderx.com [mailto:owner-xep-support@renderx.com] On Behalf Of Jirka Kosek
Sent: Monday, June 12, 2006 11:21 AM
To: xep-support
Subject: [xep-support] Creating inline areas with zero width
Hi,
I need to typeset both super- and subscripts in a way that they are
aligned above, not placed one after another.
I need to get:
X
A
Y
not
X
A
Y
I thought that setting width (or inline-progression-dimension) to 0pt
will not move typesetting point and I will get desired output by using:
<fo:block>
A<fo:inline baseline-shift="super"
inline-progression-dimension="0pt">X</fo:inline><fo:inline
baseline-shift="sub">Y</fo:inline>
</fo:block>
From my reading of XSL-FO it is not perfectly clear whether it is
possible to set width of inline areas. Above example works in XSL
Formatter, but not in XEP.
Is there any other workaround for creating "inline phantoms"?
Jirka
-- ------------------------------------------------------------------ Jirka Kosek e-mail: jirka@kosek.cz http://www.kosek.cz ------------------------------------------------------------------ Profesionální školení a poradenství v oblasti technologií XML. Podívejte se na náš nově spuštěný web http://DocBook.cz Podrobný přehled školení http://xmlguru.cz/skoleni/ ------------------------------------------------------------------ Nejbližší termíny školení: ** DocBook 15.-17.5.2006 ** XSL-FO 12.-13.6.2006 ** ** XSLT 23.-26.10.2006 ** XML schémata 13.-15.11.2006 ** ------------------------------------------------------------------ http://xmlguru.cz Blog mostly about XML for English readers ------------------------------------------------------------------ ------------------- (*) To unsubscribe, send a message with words 'unsubscribe xep-support' in the body of the message to majordomo@renderx.com from the address you are subscribed from. (*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/terms-of-service.htmlReceived on Wed Jun 14 10:23:07 2006
This archive was generated by hypermail 2.1.8 : Wed Jun 14 2006 - 10:23:08 PDT