Re: [xep-support] How to get a table caption to center over the table (and not the page)

From: Dave Pawson <>
Date: Tue Aug 14 2007 - 00:31:57 PDT

On 13/08/07, Andy Black <> wrote:
> Hello,
> I'm wondering if there is a way to get a table caption to center over the
> width of the (left-aligned) table that it is the caption for. I've only
> been able to get a table caption to center within the page width itself.

 <fo:table-and-caption width="4in">
      <fo:block font-weight="bold" start-indent="1in"
                keep-with-next.within-page="10">This is the caption</fo:block>

I.e. fix the width of the table,
then estimate 'center' for the table,
then indent that far?


Dave Pawson
(*) To unsubscribe, send a message with words 'unsubscribe xep-support'
in the body of the message to from the address
you are subscribed from.
(*) By using the Service, you expressly agree to these Terms of Service
Received on Tue Aug 14 01:21:17 2007

This archive was generated by hypermail 2.1.8 : Tue Aug 14 2007 - 01:21:22 PDT