pandoc-crossref-0.2.3.0: test/m2m/subfigures-grid/expect.md
You can define subfigures:
<div id="fig:subfigures" class="subfigures">
+-----------------------+-----------------------+-----------------------+
| {#fig:s | {#fig:s | {width= |
| ubfig1 | ubfig2 | "100%"} |
| width="100%"} | width="100%"} | |
+-----------------------+-----------------------+-----------------------+
| {#fig:s | {width= | {#fig:s |
| ubfig4 | "100%"} | ubfig6 |
| width="100%"} | | width="100%"} |
+-----------------------+-----------------------+-----------------------+
| {#fig:s | {width= | {#fig:s |
| ubfig7 | "100%"} | ubfig9 |
| width="100%"} | | width="100%"} |
+-----------------------+-----------------------+-----------------------+
Figure 1: Caption. a — 1, b — 2, c — 3, d — 4, e — 5, f — 6, g — 7, h —
8, i — 9
</div>
<div id="fig:subfigures2" class="subfigures">
+-------------------------------------------------------------------------+
| {#fig:subfig21 width="100%"} |
+-------------------------------------------------------------------------+
| {#fig:subfig22 width="100%"} |
+-------------------------------------------------------------------------+
| {width="100%"} |
+-------------------------------------------------------------------------+
| {#fig:subfig24 width="100%"} |
+-------------------------------------------------------------------------+
| {width="100%"} |
+-------------------------------------------------------------------------+
| {#fig:subfig26 width="100%"} |
+-------------------------------------------------------------------------+
| {#fig:subfig27 width="100%"} |
+-------------------------------------------------------------------------+
| {width="100%"} |
+-------------------------------------------------------------------------+
| {#fig:subfig29 width="100%"} |
+-------------------------------------------------------------------------+
Figure 2: Caption. a — 1, b — 2, c — 3, d — 4, e — 5, f — 6, g — 7, h —
8, i — 9
</div>
Figures themselves can be referenced fig. 2, as well as individual
subfigures: figs. 1 (a), 1 (b), 2 (i)