[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [docbook-apps] Menu arrow off-centered in PDF
Hi Jeff,
Just to be clear here, your example shows an ASCII
representation of an arrow using dash and greater-than, but you are getting an
actual arrow character, right?
Yes, the bottom of the arrow character does rest on
the baseline, because the stylesheet does not say otherwise. That
character is copied from the stylesheet param "menuchoice.menu.separator", whose
default value is:
<xsl:param
name="menuchoice.menu.separator"> → </xsl:param>
Since the stylesheet uses xsl:copy on that param,
you could customize it by putting an fo:inline to adjust the
baseline:
<xsl:param
name="menuchoice.menu.separator"> <fo:inline
baseline-shift=".2em">→</fo:inline>
</xsl:param>
or some other XSL-FO property to adjust its
baseline. I'm not sure what property you would use to get it to be
"centered with the text".
|
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]