[xep-support] Inline-area containing multiple lines

Ettinger, Christian Christian.Ettinger at 3SOFT.de
Tue Jul 4 23:49:52 PDT 2006


Hi,
 
in my document I want chapter titles to be styled as follows:
On the left there is a large (72pt) number indicating the current chapter number. Next to the right of this number I want to have the chapter title, about half the height of the number (24pt). The chapter number and chapter title should sit on the same line.
This works by using the following simple FO code:
 
<fo:block font-size="24pt">
  <fo:inline font-size="74pt>
    1
  </fo:inline>
  Overview
</fo:block>
 
So far that's good. But a problem arises when the title is so long so it does not fit in the line any more. Then XEP continues the title in the next line, below the number.
Instead, I want to have both title lines next to the number (see the attached example).
 
My idea was now to use <fo:inline-container> for the chapter title, specifying a vertical alignment of 'bottom'. This way single-lined titles should reside on the same line as the number, whereas multi-lined titles are placed with their bottom line at the same line as the number (that's my theory).
 
However, I can't get this work, whichever way I set the attributes. XEP always places the inline-container on a new line below the chapter number. 
Am I using the right FO for that? Is my theory correct, or do I have to do that completely different?
 
I am grateful for any suggestions!
 
Thanks in advance,
Christian
 
--
Dipl.-Ing. (FH) Christian Ettinger, OSEK Business Division
3SOFT GmbH - Member of the Elektrobit Group,
Frauenweiherstraße 14, 91058 Erlangen, Germany
Phone: +49 - 9131 - 7701-249  mailto:christian.ettinger at 3SOFT.de
Fax: +49 - 9131 - 7701-333  http://www.3SOFT.de <http://www.3soft.de/> 
 
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.renderx.com/pipermail/xep-support/attachments/20060705/b106eb90/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: example.jpg
Type: image/jpeg
Size: 9076 bytes
Desc: example.jpg
URL: <http://lists.renderx.com/pipermail/xep-support/attachments/20060705/b106eb90/attachment.jpg>


More information about the Xep-support mailing list