Hi Arne,

Arne Hildebrand a écrit :
> Hi all,
>
> just a short question regarding the alignment of inline elements. I have
> an external graphic (SVG) in an inline element that i like to position
> to the middle of the preceding/following text.
>
> I played with aligment-adjust and alignment-baseline properties of the
> surrounding fo:inline element without any success.

That was the right property but on the wrong element ;-)

You want to set alignment-adjust right on the external-graphic itself:
    <fo:block>... text in the line <fo:external-graphic
    alignment-adjust="central" src="image.svg"/> text in the
    line...</fo:block>

You can replace “central” with “middle” or fine-tune with a percentage
to meet your needs.

HTH,
Vincent



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to