Figures#

Tests image rendering, figure captions, alignment, and video embeds. Images reference the jupyter-book example placeholder hosted in the docs, so no binary assets need to live in this repo.

Simple inline image#

QuantEcon logo placeholder

Figure with caption (markdown)#

A figure caption underneath Figure: a caption rendered as italic prose beneath the image.

figure directive with label#

A reference to Fig. 1 should resolve to “Fig. 1” or similar.

Figure with alignment#

https://quantecon.org/assets/img/qe-logo.png

Fig. 2 A centred figure.#

https://quantecon.org/assets/img/qe-logo.png

Fig. 3 A left-aligned figure. Surrounding text should flow if the theme supports floats, or sit below if not — either is acceptable, but should be consistent.#

This paragraph follows a left-aligned figure to test text-wrap behaviour.

Multiple figures side-by-side#

https://quantecon.org/assets/img/qe-logo.png

Fig. 4 Left figure.#

https://quantecon.org/assets/img/qe-logo.png

Fig. 5 Right figure.#

Lorem ipsum text between, to clear any floats.

YouTube embed (sphinxcontrib-youtube)#

The embed should render with a 16:9 aspect-ratio container that scales to the content column width on narrow viewports.

Image inside a list#

  1. First step: logo

  2. Second step.

  3. Third step.

Image with very long caption#

https://quantecon.org/assets/img/qe-logo.png

Fig. 6 A deliberately long figure caption to exercise multi-line caption layout: the caption should wrap below the image with consistent line-height and indent. If the theme indents captions, the second and subsequent lines should align with the first.#