作为对此的扩展question https://stackoverflow.com/questions/10219634/image-grid-in-restructuredtext-sphinx:如何使用 Sphinx 和 reStructuredText 在每个网格图像下添加描述?
例如,一个表格,三个图像交叉,每个图像下方有一个标题。
我不确定仅使用figure指令是否可以实现这一点,就像图像指令一样 https://stackoverflow.com/a/10229407/623518。然而,虽然看起来很可怕,但您可以将这三个数字放在一个表格中。例如,以下 reStructuredText
+-----------------------------------------+-----------------------------------------+-----------------------------------------+
| .. figure:: http://placehold.it/150x150 | .. figure:: http://placehold.it/150x150 | .. figure:: http://placehold.it/150x150 |
| :alt: map to buried treasure | :alt: map to buried treasure | :alt: map to buried treasure |
| | | |
| This is the caption of the figure (a | This is the caption of the figure (a | This is the caption of the figure (a |
| simple paragraph). | simple paragraph). | simple paragraph). |
+-----------------------------------------+-----------------------------------------+-----------------------------------------+
produces
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)