Re: [docbook-apps] Centering Table Titles in Print

From
deannelson <>
Date
2010-11-08T23:57:36+00:00
ID
Thread
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,  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:  
For additional commands, e-mail: