[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: How to Create Side Heads in XSL-FO

Subject: RE: How to Create Side Heads in XSL-FO
From: DPawson@xxxxxxxxxxx
Date: Wed, 23 Jan 2002 15:57:19 -0000
fo block side by side
> <xsl:template name="chapter-title">
>   <fo:block
>       xsl:use-attribute-sets="title-characteristics"
>       break-before="odd-page"
>       >
>     <fo:block
>         font-size="78pt">
>       <xsl:number/>
>     </fo:block>
>     <fo:block
>         margin-left="{$offset-margin-left}"
>         space-after.optimum="90pt"
>         font-weight="normal"
>         font-size="30pt">
>       <xsl:apply-templates/>
>     </fo:block>
>   </fo:block>
> </xsl:template>
> 
> What I get (with XSL Formatter) is the 78pt number and the title text
> presented side-by-side on the same baseline. I expected the title text
> to be presented *below* the number (that is, the block for the title
> text would follow the number block in the block presentation 
> direction).
> Here's what I got:
> 
>   **
>  ***
> ****
>   **
>   **
> ******     This is the title text
> 
> This isn't the presentation effect I need: I need the title text and
> number to have the same top alignment (e.g., <tr valign="top">). 


Sure its by the side Eliot?
Not, 
>   **
>  ***
> ****
>   **
>   **
> ******     
           This is the title text

Table layout suggested, 

 <fo:table-cell border="solid black 1px" 
		    display-align="start" 
		    border-collapse="collapse" 
		    text-align="center">
       <fo:block font-weight="bold">XXX</fo:block>
      </fo:table-cell>


HTH DaveP





- 

NOTICE: The information contained in this email and any attachments is 
confidential and may be legally privileged. If you are not the 
intended recipient you are hereby notified that you must not use, 
disclose, distribute, copy, print or rely on this email's content. If 
you are not the intended recipient, please notify the sender 
immediately and then delete the email and any attachments from your 
system.

RNIB has made strenuous efforts to ensure that emails and any 
attachments generated by its staff are free from viruses. However, it 
cannot accept any responsibility for any viruses which are 
transmitted. We therefore recommend you scan all attachments.

Please note that the statements and views expressed in this email 
and any attachments are those of the author and do not necessarily 
represent those of RNIB.

RNIB Registered Charity Number: 226227

Website: http://www.rnib.org.uk 


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.