pandoc-crossref-0.3.17.1: test/m2m/subfigures-grid/expect.md
You can define subfigures:
:::: {#fig:subfigures .figure .subfigures}
+:------------------:+:------------------:+:------------------:+
| :::: {#fi | :::: {#fi | :::: figure |
| g:subfig1 .figure} | g:subfig2 .figure} | {width="100%"} |
| png){width="100%"} | png){width="100%"} | |
| | | ::: caption |
| ::: caption | ::: caption | c |
| a | b | ::: |
| ::: | ::: | :::: |
| :::: | :::: | |
+--------------------+--------------------+--------------------+
| :::: {#fi | :::: figure | :::: {#fi |
| g:subfig4 .figure} | {width="100%"} | {width="100%"} | | png){width="100%"} |
| | ::: caption | |
| ::: caption | e | ::: caption |
| d | ::: | f |
| ::: | :::: | ::: |
| :::: | | :::: |
+--------------------+--------------------+--------------------+
| :::: {#fi | :::: figure | :::: {#fi |
| g:subfig7 .figure} | {width="100%"} | {width="100%"} | | png){width="100%"} |
| | ::: caption | |
| ::: caption | h | ::: caption |
| g | ::: | i |
| ::: | :::: | ::: |
| :::: | | :::: |
+--------------------+--------------------+--------------------+
::: caption
Figure 1: Caption. a --- 1, b --- 2, c --- 3, d --- 4, e --- 5, f --- 6,
g --- 7, h --- 8, i --- 9
:::
::::
:::: {#fig:subfigures2 .figure .subfigures}
+:--------------------------------------------------------------------:+
| {#fig:subfig21} |
+----------------------------------------------------------------------+
| {#fig:subfig22} |
+----------------------------------------------------------------------+
|  |
+----------------------------------------------------------------------+
| {#fig:subfig24} |
+----------------------------------------------------------------------+
|  |
+----------------------------------------------------------------------+
| {#fig:subfig26} |
+----------------------------------------------------------------------+
| {#fig:subfig27} |
+----------------------------------------------------------------------+
|  |
+----------------------------------------------------------------------+
| {#fig:subfig29} |
+----------------------------------------------------------------------+
::: caption
Figure 2: Caption. a --- 1, b --- 2, c --- 3, d --- 4, e --- 5, f --- 6,
g --- 7, h --- 8, i --- 9
:::
::::
Figures themselves can be referenced fig. 2, as well as individual
subfigures: figs. 1 (a), 1 (b), 2 (i)