Open charmoniumQ opened 5 months ago
Yeah, unfortunately subfigures only work for figures as Pandoc understands them, that is, images. There are a few reasons for that, the main one being pdf/latex needs quite a few hacks to handle heterogenous subfloats, and even with the hacks it's wonky. In terms of workarounds, the best I can suggest at the moment is to write the listing to an SVG and use that.
Is it possible to create a subfigure grid, where one of the cells of the grid is a code listing? The following snippet doesn't quite do the trick. The listing does not get a label or a caption and the fourth subfigure gets labeled "c".