Thanks Gunter. I tried:
+----------------------------------------+-----------------------------------+ |.. _SuperCompArch: |.. _ClustArch: | | | | |.. image:: _static/SuperCompArch.jpg |.. image:: _static/ClustArch.jpg | | :width: 80% | :width: 80% | | :alt: Supercomputer archeticture | :alt: Cluster archeticture | | :align: bottom | :align: bottom | | | | |Super computer archeticture |Cluster archticture | +----------------------------------------+-----------------------------------+ but it gives: /home/boris/pst/wordy/edu/HighestProgramming/00_-_intro.rst:484: ERROR: Error in "image" directive: "bottom" is not a valid value for the "align" option. Valid values for "align" are: "left", "center", "right". /home/boris/pst/wordy/edu/HighestProgramming/00_-_intro.rst:484: ERROR: Error in "image" directive: "bottom" is not a valid value for the "align" option. Valid values for "align" are: "left", "center", "right". I'm using latest docutils (0.91) and Sphinx 1.1.3 Does the it work for You? Any way it's a nice idea of "manual captions" -- I'm sure I'll use it somewhere. Boris, On Friday, August 24, 2012 12:00:49 AM UTC+4, Guenter Milde wrote: > > On 2012-08-20, Boris Kheyfets wrote: > > > [-- Type: text/plain, Encoding: --] > > > I have two figure in a table: > > > > +----------------------------------------+-----------------------------------+ > > > >|.. _SuperCompArch: |.. > > _ClustArch: | > > >| | > >|.. figure:: _static/SuperCompArch.jpg |.. figure:: > > _static/ClustArch.jpg | > >| :width: 80% | :width: > > 80% | > >| :alt: Supercomputer archeticture | :alt: Cluster > > archeticture | > >| :align: center | :align: > > center | > > >| | > >| Super computer archeticture | Cluster > > archticture | > > > +----------------------------------------+-----------------------------------+ > > > > > but they are of different heigh. And I would like them to be sticked to > the > > bottom of the table. In other words I want them to be centerd and > bottomed > > in the same time. > > > I've read the docs, but it looks like `figure` doesn't have `bottom` > > option at all. > > There are two image directives: "image" and "figure". > If you don't need a caption and legend, use "image". > > See http://docutils.sourceforge.net/docs/ref/rst/directives.html#images > > There you also see: > > align : "top", "middle", "bottom", "left", "center", or "right" > The alignment of the image, equivalent to the HTML <img> tag's > "align" attribute. The values "top", "middle", and "bottom" control > an image's vertical alignment (relative to the text baseline); they > are only useful for inline images (substitutions). The values "left", > "center", and "right" control an image's horizontal alignment, > allowing the image to float and have the text flow around it. The > specific behavior depends upon the browser or rendering software > used. > > which means you need to define your images as inline, e.g. via > > .. |left-image| > .. image:: _static/SuperCompArch.jpg > :width: 80% > :alt: Supercomputer archeticture > :align: bottom > > and use the tag(s) in the table > > =================== ================ > |left-image| |right-image| > > left caption right caption > =================== ================ > > Günter > > -- You received this message because you are subscribed to the Google Groups "sphinx-dev" group. To view this discussion on the web visit https://groups.google.com/d/msg/sphinx-dev/-/SFFVIOdfLA8J. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/sphinx-dev?hl=en.
