OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: Re: [docbook] chapter space after


Moving to docbook-apps

On Wed, Aug 6, 2008 at 3:40 PM, Andreas Peter <info@minimag.de> wrote:

> Iīve 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īt 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


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]