[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [docbook-apps] docbook.xsl/fo: best way to bring all titles closerto their context
Sebastian Fey wrote: > hi, > > in my printed documents component titles are as close to their context (the following) as to the preceding elements. > figure and table titles alike. > > whats the best and easiest way to change this? > > thx, > > Sebastian > > To unsubscribe from this list, send a post to docbook-apps-unsubscribe@lists.oasis-open.org, or visit http://www.oasis-open.org/mlmanage/. > > Hi, you want to change the space before and/or the space after table/figure/whatever titles, right? They get their attributes from the formal.title.properties attribute set (which uses the attribute-set normal.para-spacing). Here's a part of my customisation layer: <xsl:attribute-set name="formal.title.properties" use-attribute-sets="normal.para.spacing"> <xsl:attribute name="font-family">ScalaSans-Bold</xsl:attribute> <xsl:attribute name="font-size">9pt</xsl:attribute> <xsl:attribute name="hyphenate">false</xsl:attribute> <xsl:attribute name="space-before.minimum">0pt</xsl:attribute> <xsl:attribute name="space-before.optimum">0pt</xsl:attribute> <xsl:attribute name="space-before.maximum">0pt</xsl:attribute> <xsl:attribute name="space-after.minimum">8.5pt</xsl:attribute> <xsl:attribute name="space-after.optimum">9pt</xsl:attribute> <xsl:attribute name="space-after.maximum">9.5pt</xsl:attribute> </xsl:attribute-set> I hope I got your problem right :) ... maybe some of the gurus here on the list have a more elegant solution but this works for me ... Cheers Thomas Gier Technical Writer Aachen / Germany
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]