packages feed

pandoc-crossref-0.3.15.0: test/m2m/subfigures-grid/expect.md

You can define subfigures:

::: {#fig:subfigures .figure .subfigures}
+:------------------:+:------------------:+:------------------:+
| ::                 | ::                 | ::: {.f            |
| : {#fig:subfig1 .f | : {#fig:subfig2 .f | igure width="30%"} |
| igure width="30%"} | igure width="30%"} | ![c](fig3.         |
| ![a](fig1.         | ![b](fig2.         | png){width="100%"} |
| png){width="100%"} | png){width="100%"} |                    |
|                    |                    | ::: caption        |
| ::: caption        | ::: caption        | c                  |
| a                  | b                  | :::                |
| :::                | :::                | :::                |
| :::                | :::                |                    |
+--------------------+--------------------+--------------------+
| ::                 | ::: {.f            | ::                 |
| : {#fig:subfig4 .f | igure width="30%"} | : {#fig:subfig6 .f |
| igure width="30%"} | ![e](fig5.         | igure width="30%"} |
| ![d](fig4.         | png){width="100%"} | ![f](fig6.         |
| png){width="100%"} |                    | png){width="100%"} |
|                    | ::: caption        |                    |
| ::: caption        | e                  | ::: caption        |
| d                  | :::                | f                  |
| :::                | :::                | :::                |
| :::                |                    | :::                |
+--------------------+--------------------+--------------------+
| ::                 | ::: {.f            | ::                 |
| : {#fig:subfig7 .f | igure width="30%"} | : {#fig:subfig9 .f |
| igure width="30%"} | ![h](fig8.         | igure width="30%"} |
| ![g](fig7.         | png){width="100%"} | ![i](fig9.         |
| png){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 .figure}                                          |
| ![1](fig1.png)                                                       |
|                                                                      |
| ::: caption                                                          |
| a                                                                    |
| :::                                                                  |
| :::                                                                  |
+----------------------------------------------------------------------+
| ::: {#fig:subfig22 .figure}                                          |
| ![2](fig2.png)                                                       |
|                                                                      |
| ::: caption                                                          |
| b                                                                    |
| :::                                                                  |
| :::                                                                  |
+----------------------------------------------------------------------+
| ::: figure                                                           |
| ![3](fig3.png)                                                       |
|                                                                      |
| ::: caption                                                          |
| c                                                                    |
| :::                                                                  |
| :::                                                                  |
+----------------------------------------------------------------------+
| ::: {#fig:subfig24 .figure}                                          |
| ![4](fig4.png)                                                       |
|                                                                      |
| ::: caption                                                          |
| d                                                                    |
| :::                                                                  |
| :::                                                                  |
+----------------------------------------------------------------------+
| ::: figure                                                           |
| ![5](fig5.png)                                                       |
|                                                                      |
| ::: caption                                                          |
| e                                                                    |
| :::                                                                  |
| :::                                                                  |
+----------------------------------------------------------------------+
| ::: {#fig:subfig26 .figure}                                          |
| ![6](fig6.png)                                                       |
|                                                                      |
| ::: caption                                                          |
| f                                                                    |
| :::                                                                  |
| :::                                                                  |
+----------------------------------------------------------------------+
| ::: {#fig:subfig27 .figure}                                          |
| ![7](fig7.png)                                                       |
|                                                                      |
| ::: caption                                                          |
| g                                                                    |
| :::                                                                  |
| :::                                                                  |
+----------------------------------------------------------------------+
| ::: figure                                                           |
| ![8](fig8.png)                                                       |
|                                                                      |
| ::: caption                                                          |
| h                                                                    |
| :::                                                                  |
| :::                                                                  |
+----------------------------------------------------------------------+
| ::: {#fig:subfig29 .figure}                                          |
| ![9](fig9.png)                                                       |
|                                                                      |
| ::: caption                                                          |
| i                                                                    |
| :::                                                                  |
| :::                                                                  |
+----------------------------------------------------------------------+

::: 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)