[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
Mete Kural wrote:
This is an FAQ and is also covered in the spec itself.
The trick is to use the text-align-last="justify" value on the block, with an auto-length leader between them. You can also use a table, which is more appropriate if you have multi-line items that need to be pushed to the edges of the header or footer.
Cheers,
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Re: [xsl] How to Align Text in the Page Header?
Subject: Re: [xsl] How to Align Text in the Page Header? From: "W. Eliot Kimber" <eliot@xxxxxxxxxx> Date: Fri, 10 Jan 2003 13:11:40 -0600 |
Mete Kural wrote:
Hello,
I'm trying to align the text in the page header. There are two pieces of text that need to go to the header: chapter name and page number. I do this using markers. I want to put both of these pieces of text on the same line in the page header. I want to align the chapter name to the left and the page number to the right. How can I do this?
This is an FAQ and is also covered in the spec itself.
The trick is to use the text-align-last="justify" value on the block, with an auto-length leader between them. You can also use a table, which is more appropriate if you have multi-line items that need to be pushed to the edges of the header or footer.
<fo:block text-align-last="justify"> <fo:retrieve-marker class="title"/> <fo:leader leader-pattern="space"/> <fo:page-number/> </fo:block>
Cheers,
E. -- W. Eliot Kimber, eliot@xxxxxxxxxx Consultant, ISOGEN International
1016 La Posada Dr., Suite 240 Austin, TX 78752 Phone: 512.656.4139
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] How to Align Text in the Page, Mete Kural | Thread | Re: [xsl] xslt style, Dimitre Novatchev |
[xsl] How to Align Text in the Page, Mete Kural | Date | Re: [xsl] How to Align Text in the , David Tolpin |
Month |