]> granicus.if.org Git - docbook-dsssl/commitdiff
Changed text-alignment on centered titles to be 'center' rather than 'justify'
authorNorman Walsh <ndw@nwalsh.com>
Thu, 14 Jun 2001 18:25:32 +0000 (18:25 +0000)
committerNorman Walsh <ndw@nwalsh.com>
Thu, 14 Jun 2001 18:25:32 +0000 (18:25 +0000)
xsl/fo/titlepage.templates.xml

index 92fefe6234432ccd244f8e3cd7baf87efa2a49dd..b206a7e01da764860002c354efd905815cc1f0c5 100644 (file)
       <title
             named-template="component.title"
             param:node="ancestor-or-self::article[1]"
+            fo:text-align="center"
             fo:margin-left="-4pc"
             fo:keep-with-next="always"
             fo:font-size="&hsize5;"
             fo:font-weight="bold"
             fo:font-family="{$title.font.family}"/>
     <subtitle
-             fo:font-family="{$title.font.family}"/>
+             fo:font-family="{$title.font.family}"
+             fo:text-align="center"/>
     <corpauthor/>
     <authorgroup/>
     <author/>
       <title
             named-template="division.title"
             param:node="ancestor-or-self::set[1]"
+            fo:text-align="center"
             fo:font-size="&hsize5;"
             fo:space-before="&hsize5space;"
             fo:font-weight="bold"
             fo:font-family="{$title.font.family}"/>
     <subtitle
-             fo:font-family="{$title.font.family}"/>
+             fo:font-family="{$title.font.family}"
+             fo:text-align="center"/>
     <corpauthor/>
     <authorgroup/>
     <author/>
       <title
             named-template="division.title"
             param:node="ancestor-or-self::book[1]"
+            fo:text-align="center"
             fo:font-size="&hsize5;"
             fo:space-before="&hsize5space;"
             fo:font-weight="bold"
             fo:font-family="{$title.font.family}"/>
       <subtitle
+               fo:text-align="center"
                fo:font-size="&hsize4;"
                fo:space-before="&hsize4space;"
                fo:font-family="{$title.font.family}"/>
       <title
             named-template="division.title"
             param:node="ancestor-or-self::part[1]"
+            fo:text-align="center"
             fo:font-size="&hsize5;"
             fo:space-before="&hsize5space;"
             fo:font-weight="bold"
             fo:font-family="{$title.font.family}"/>
     <subtitle
+             fo:text-align="center"
              fo:font-size="&hsize4;"
              fo:space-before="&hsize4space;"
              fo:font-weight='bold'
 <t:titlepage element="partintro" wrapper="fo:block">
   <t:titlepage-content side="recto">
     <title
+          fo:text-align="center"
           fo:font-size="&hsize3;"
           fo:font-weight="bold"
           fo:margin-left="-4pc"
           fo:space-before="1em"
           fo:font-family="{$title.font.family}"/>
     <subtitle
+             fo:text-align="center"
              fo:font-size="&hsize2;"
              fo:font-weight="bold"
              fo:font-style="italic"
       <title
             named-template="division.title"
             param:node="ancestor-or-self::reference[1]"
+            fo:text-align="center"
             fo:font-size="&hsize5;"
             fo:space-before="&hsize5space;"
             fo:font-weight="bold"
             fo:font-family="{$title.font.family}"/>
     <subtitle
-             fo:font-family="{$title.font.family}"/>
+             fo:font-family="{$title.font.family}"
+             fo:text-align="center"/>
     <corpauthor/>
     <authorgroup/>
     <author/>