mystmd
mystmd copied to clipboard
Figures side by side with aligned captions.
trafficstars
I am using the following code to represent two figures side by side:
:::::{grid} 2
::::{grid-item}
:::{figure} assets/fish_swimming.svg
:label: fish_swimming
:alt: Fish swimming with its body in a curve shape not representable in polar coordinates.
:height: 350px
A swimming fish with its body curved cannot be represented by a polar parameterization.
:::
::::
::::{grid-item}
:::{figure} assets/stanford_bunny.svg
:label: stanford_bunny
:height: 250px
:alt: The Stanford Bunny shown as a target curve.
The [Stanford Bunny](https://en.wikipedia.org/wiki/Stanford_bunny). We will use it as
a target shape against which we test our parameterization techniques.
:::
::::
But the captions are not aligned and it appears weird.
How do I fix this?
Attaching .svg files below.