4. Images / Figures¶
4.1. Images¶
Images are in-lined in the code. But, they don’t have cross-reference.
When the write with the following reStructuredText
markup / syntax:
.. image:: /img/red-circle.*
.. image:: /img/blue-circle.*
The |rst| text written above is generated/rendered as shown below:
4.2. Figures¶
Figures are placed where space is are available to place this figure. i.e. it is possible that in PDF, the figure are shown on next page. Not in continuation with the text. But, figures get a cross-reference.
When the write with the following reStructuredText
markup / syntax:
See :ref:`figure-red-circle`
.. _figure-red-circle:
.. figure:: /img/red-circle.*
A red circle
.. _figure-blue-circle:
.. figure:: /img/blue-circle.*
A blue circle
See :ref:`figure-blue-circle`
The |rst| text written above is generated/rendered as shown below:
Note
Since, this is not the PDF, figures would be shown directly below. In case of PDF, the figures would be in next available free space.
See A red circle
See A blue circle
See more at