← Prev in month ← Prev in thread

Centering lines of text in FO output

From
Ron Catterall <>
Date
2006-12-05T19:05:56+00:00
ID
p06240800c19b6f62bbff@[192.168.1.65]
Thread
Centering lines of text in FO output
Hi
I have a problem which looks like it ought be general.  there may be 
an easy way around it, but I haven't found it.

Within some normal <para> text I want to center a group of lines in a 
PDF file, e.g. I want to get output like:

  This is a normal line of text from a <para> and
  </para> piece of XML
                    abc def
              qwerty asdfgh zxcvbn
                      123
                qazwsx edc rfvt
  This is a normal line of text from a <para> and
  </para> piece of XML

I've tried using a single column table with line height control - it 
works, but it's a very inelegant solution, and very slow with all the 
PIs.

A better solution would be to use a <simplelist columns="1" 
type="vert"> with each line a <member>, but how to center the lines?

Am I missing something simple?  I'm using XEP.

Ron
-- 
Ron Catterall, Phd, DSc			        	email: 

Prolongacion de Hidalgo 140				http://catterall.net/
San Felipe del Agua					tel: +52 951 520 1821
Oaxaca      68020	Mexico				fax: +1 530 348 8309
← Prev in month ← Prev in thread