This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Re: [docbook-apps] docbook.xsl/fo: best way to bring all titles closerto their context
- From: Thomas Gier <thomas dot gier at gmx dot de>
- To: docbook-apps <docbook-apps at lists dot oasis-open dot org>
- Date: Thu, 04 Mar 2004 16:29:18 +0100
- Subject: Re: [docbook-apps] docbook.xsl/fo: best way to bring all titles closerto their context
- References: <53DD404D1B0B67479AD684BFFA54858B24299A@srvac03.parsytec.local>
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
To unsubscribe from this list, send a post to docbook-apps-unsubscribe@lists.oasis-open.org, or visit http://www.oasis-open.org/mlmanage/.