[xep-support] Outline text over multiple columns
Gustaf Liljegren
gustaf.liljegren at xml.se
Fri Apr 26 08:13:56 PDT 2002
Stefan,
>We have a text containing multiple lines and we want to put
>that text in a 2 column page view.
Try this:
<?xml version="1.0"?>
<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format">
<fo:layout-master-set>
<fo:simple-page-master master-name="test">
<fo:region-body margin="20mm" column-count="2"/>
</fo:simple-page-master>
</fo:layout-master-set>
<fo:page-sequence master-reference="test">
<fo:flow flow-name="xsl-region-body">
<fo:block>Put a long text here.</fo:block>
</fo:flow>
</fo:page-sequence>
</fo:root>
You may want to add text-align (justify) and hyphenation to it. If you need
to switch between one and two columns in the flow, you have to wait for
XEP's support for the "span" property.
Gustaf
-------------------
By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/tos.html
More information about the Xep-support
mailing list