O'Reilly logo

DITA for Print by Leigh W. White

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Justify elements of a header or footer

Use leaders to justify headers or footers all the way across the page

So far, header and footer information has been all together, like this:

10/24/2013Copyright ©20133-7

But what if you want to spread it across the entire width of the header or footer area, like this?

../images/justified_footer.png

You’re going to need to insert a leader between the elements of the header or footer as well as change the alignment of the header or footer.

  1. Open static-content.xsl.
  2. Find the insertBodyOddFooter template.
  3. Make changes to the template as shown:
    <fo:static-content flow-name="odd-body-footer"> <fo:block xsl:use-attribute-sets="__body__odd__footer"> ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required