#89 latex2e: Propagate figure align to image

pending-remind
nobody
None
5
2011-11-10
2011-11-08
No

latex2e: Propagate figure align to image

Previously figure alignment was not taken into account for
embedding-in-fugure images -- images were always center-aligned.

Fix it, by propagating figure's alignment to image, centering by
default.

Discussion

  • Günter Milde

    Günter Milde - 2011-11-10

    Thanks for the patch.

    Unfortunately, the problem at hand is more complex:
    It is quite common to have distinct alignment of images and figures,
    a left aligned image and caption inside a right aligned figure, say
    (this is the default of the HTML writer with :align: right).

    Currently, the only way to configure the alignment of an image inside a figure is via
    class arguments.

    While re-using the :align: argument for "image in figure" alignment in LaTeX
    seems an improvement over the current ignoring, it will prevent image alignment
    setting once aligned figures (with pargraph reflow) are supported.

    This should be discussed in the docutils list.

     
  • Günter Milde

    Günter Milde - 2011-11-10
    • status: open --> pending-remind
     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks