From: Felix Wiemann <Felix.Wiemann@gm...> - 2005-04-21 21:03:21
Philipp Knüsel wrote:
> I tried to use caption to a figure, like:
> .. figure:: one.png
> :align: center
> Describing one
> which results in:
> <div class="figure">
> <div class="image align-center" align="center">
> <img alt="one.png" src="one.png" align="middle">
> <p class="caption">Describing one</p>
I'm getting this with the current code from SVN::
<div align="center" class="figure">
<div class="image"><img alt="one.png" src="one.png" /></div>
<p class="caption">Describing one</p>
And since the surrounding div has align="center" set, the caption is
centered as well; so it shows the behavior you are requesting.
However, this also means that the legend is centered. Is this good? I
think it might look weird. What about setting the align attribute of
image and caption instead of the surrounding div, so that the legend
> I'm completely new to the docutils, but I thougt this list will be the
> right place to ask about that.
Yes, it is indeed.
For private mail please ensure that the header contains 'Felix Wiemann'.