Files
sphinx/tests/roots/test-latex-figure-in-admonition/index.rst
Jean-François B. 152b78318d LaTeX: fix figures in seealso and seealso inside table cell (#12598)
This also fixes unreported issues unrelated to the 7.4.0 release:

- (now old style "lightbox") admonitions render badly in tabulary,
- "heavybox" admonitions (they are all now but warning et al. were already) cause PDF crash if in tabulary and rendered badly if in tabular or longtable.
- figure in a table cell is not properly separated from immediately preceding text.

Co-authored-by: Adam Turner <9087854+aa-turner@users.noreply.github.com>
2024-07-16 21:03:42 +01:00

27 lines
380 B
ReStructuredText

Test Figure in Admonition
=========================
.. caution::
This uses a figure in a caution directive.
.. figure:: img.png
.. note::
This uses a figure in a note directive.
.. figure:: img.png
.. seealso::
This uses a figure in a seealso directive.
.. figure:: img.png
.. todo::
This uses a figure in a todo directive.
.. figure:: img.png