You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-users@xmlgraphics.apache.org by Jeffrey Walton <no...@gmail.com> on 2013/11/04 20:00:17 UTC
Aligning an Image Caption with the Image?
Hello,
When I use the following in a document:
<figure id="figure-nnn">
<title>YYYYY</title>
<mediaobject>
<imageobject>
<imagedata align="center" fileref="xxx.png" scale="NN"/>
</imageobject>
</mediaobject>
</figure>
The image is aligned center (or even aligned right) but the caption
(title) remains blocked left.
I've tried to put the `align` attributes on other objects, including
`imageobject`, `mediaobject`, and `figure`. All result in an error.
How does one align the caption with the image?
Thanks in advance.
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
Re: Aligning an Image Caption with the Image?
Posted by Alexey Neyman <st...@att.net>.
Jeffrey,
This is a mailing list for FOP. For questions like this, you're better off
asking at docbook-apps@lists.oasis-open.org list.
For control of the title appearance, including the alignment, you'd need to
customize the formal.title.properties attribute set. This [1], along with a
whole lot of other recipes, is described in Bob Stayton's "DocBook XSL: The
Complete Guide".
[1] http://www.sagehill.net/docbookxsl/TitleFontSizes.html
Regards,
Alexey.
On Monday, November 04, 2013 02:00:17 PM Jeffrey Walton wrote:
> Hello,
>
> When I use the following in a document:
>
> <figure id="figure-nnn">
> <title>YYYYY</title>
>
> <mediaobject>
> <imageobject>
> <imagedata align="center" fileref="xxx.png" scale="NN"/>
> </imageobject>
> </mediaobject>
> </figure>
>
> The image is aligned center (or even aligned right) but the caption
> (title) remains blocked left.
>
> I've tried to put the `align` attributes on other objects, including
> `imageobject`, `mediaobject`, and `figure`. All result in an error.
>
> How does one align the caption with the image?
>
> Thanks in advance.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
> For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org