← Prev in month ← Prev in thread
Next in thread → Next in month →

Re: [docbook] chapter space after

From
"Oeter Eesjardins"
Date
2008-08-06T19:49:13+00:00
ID
Thread
Re: [docbook] chapter space after
Moving to docbook-apps

On Wed, Aug 6, 2008 at 3:40 PM, Andreas Peter <> wrote:

> I扉e searched the web for a solution about space before and after for
> chapter titles. I want to generate a space after of each chapter title, but
> unfortunately I can愒 find any solution to this :-( Are there any
> attribute-sets for this?

Do you mean vertical space in FO output for PDF?

Here's the section from my customization layer that does that:

<xsl:attribute-set name="formal.title.properties"
use-attribute-sets="normal.para.spacing">
 <xsl:attribute name="font-weight">bold</xsl:attribute>
 <xsl:attribute name="font-size">
   <xsl:value-of select="$body.font.master * 1"/>
   <xsl:text>pt</xsl:text>
 </xsl:attribute>
 <xsl:attribute name="hyphenate">false</xsl:attribute>
 <xsl:attribute name="text-align">left</xsl:attribute>
 <xsl:attribute name="space-after.minimum">0.4em</xsl:attribute>
 <xsl:attribute name="space-after.optimum">0.6em</xsl:attribute>
 <xsl:attribute name="space-after.maximum">0.8em</xsl:attribute>
</xsl:attribute-set>

Peter
← Prev in month ← Prev in thread
Next in thread → Next in month →