Re: Align inlinegraphic to text

From
Vitaly Ostanin <>
Date
2005-07-14T10:50:05+00:00
ID
Thread
Re: Align inlinegraphic to text
Vitaly Ostanin wrote:
> Hello.
> 
> I have trouble with inlinegraphic alignment in PDF output.
> 
> Markup:
> <orderedlist>
>   <listitem>
>     <para>
> Click <inlinegraphic fileref="button.png" width="19" depth="19"/>
>     </para>
>   </listitem>
> </orderedlist>
> 
> In PDF output I get:
> 
> 1.______XX
>   Click_XX
> 
> where XX is button. How can I get another alignment like this ?
> 
> 1.Click_XX
> ________XX
> 
> inlinegraphic with @valign not works.

Self reply:

I added in my customization layer:

<xsl:attribute-set name="list.block.spacing">
  <xsl:attribute name="space-before.optimum">1em</xsl:attribute>
  <xsl:attribute name="space-before.minimum">0.8em</xsl:attribute>
  <xsl:attribute name="space-before.maximum">1.2em</xsl:attribute>
  <xsl:attribute name="space-after.optimum">1em</xsl:attribute>
  <xsl:attribute name="space-after.minimum">0.8em</xsl:attribute>
  <xsl:attribute name="space-after.maximum">1.2em</xsl:attribute>
  <xsl:attribute
name="line-stacking-strategy">font-height</xsl:attribute>
</xsl:attribute-set>

Thanks so much to RenderX for their perfect examples page:
http://www.renderx.com/featurestest.html
where I found example with @line-stacking-strategy.

<skipped/>

-- 
Regards, Vyt
mailto:  
JID: