This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
[docbook-apps] image & caption alignment problem
- From: Tristan Fiedler <fiedler at cshl dot edu>
- To: Docbook-Apps <docbook-apps at lists dot oasis-open dot org>
- Date: Tue, 8 Feb 2005 16:51:46 -0500
- Subject: [docbook-apps] image & caption alignment problem
Hi All,
When using :
<mediaobject id="figure1" xreflabel="Figure1">
<imageobject>
<imagedata entityref="fig1" width="60%" align="center"/>
</imageobject>
&fig1legend;
</mediaobject>
where fig1legend is :
<caption>
<formalpara>
<title>Figure 1. Types of splicing.</title>
<para>Legend text goes here </para>
</formalpara>
</caption>
The caption text is also being "centered" presumably by the align
attribute in the imagedata element. I have tried <caption align="left">
with no success.
How can one center the image, but left justify the caption?
Cheers, Tristan
------------------------------
Tristan J. Fiedler
Cold Spring Harbor Laboratory