Menu

#74 rst2latex: bad vertical alignment in tables with images

closed
None
5
2008-08-22
2006-12-10
No

Hello,

tables containing images show a bad vertical alignment: the first text line of all the cells in the row containing the image is enlarged to fit the image height.

The file attached shows the bug:

tar xzvf tblimg.tar.gz
rst2latex.py < tblimg.txt > tblimg.tex && pdflatex tblimg.tex

rst2newlatex works fine.

Thank you very much,

Daniele

Discussion

  • Daniele Varrazzo

     
  • engelbert gruber

    • assigned_to: nobody --> grubert
     
  • engelbert gruber

    • status: open --> closed
     
  • engelbert gruber

    Logged In: YES
    user_id=147070
    Originator: NO

    that is not "bad vertical alignment", that is latex standard (as far as i can tell)
    latex aligns images with their origin (lower left) to the baseline and adjusts the
    height of the line. one can change the alignment with the ``:align:`` argument , although i feel the result is nonoptimal because then the upperleft of the image wil be aligned to the baseline.

    this one is closed reopen or

     

Log in to post a comment.