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-apps] Centering Table Titles in Print


Tom,
I have had this issue as well. Here is how I solved it.
 
   
    <!-- center table titles -->
    <xsl:attribute-set name="formal.title.properties">
        <xsl:attribute name="text-align">
            <xsl:choose>
                <xsl:when test="self::table">center</xsl:when>
                <xsl:otherwise>left</xsl:otherwise>
            </xsl:choose>
        </xsl:attribute>
    </xsl:attribute-set>
  
 
Regards,
Dean nelson
 
 
 
In a message dated 11/08/10 13:51:46 Pacific Standard Time, tom.browder@gmail.com writes:
I tried the solution on p. 494 of Bob Stayton's book ("DocBook XSL:
The Complete Guide," 4th Ed.) in an attempt to center my tables'
titles.

However, I can't get it to work with fop--the title is still left aligned.

Has anyone had success centering table titles with fop?  Any other ideas?

Thanks.

Regards,

-Tom

Thomas M. Browder, Jr.
Niceville, Florida
USA

---------------------------------------------------------------------
To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org
For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org

 


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