RE: [xep-support] Creating inline areas with zero width

From: Janean Angeles <>
Date: Wed Jun 14 2006 - 09:43:12 PDT

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:

        A<fo:inline baseline-shift="super" inline-progression-dimension="0pt">X</fo:inline><fo:inline baseline-shift="sub" padding-left="-8pt">Y</fo:inline>

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: [] 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


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:




I thought that setting width (or inline-progression-dimension) to 0pt
will not move typesetting point and I will get desired output by using:

    A<fo:inline baseline-shift="super"

 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 Kosek     e-mail:
   Profesionální školení a poradenství v oblasti technologií XML.
      Podívejte se na náš nově spuštěný web
        Podrobný přehled školení
                    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 **
------------------------------------------------------------------    Blog mostly about XML for English readers
(*) To unsubscribe, send a message with words 'unsubscribe xep-support'
in the body of the message to from the address
you are subscribed from.
(*) By using the Service, you expressly agree to these Terms of Service
Received 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