Closed dragonstyle closed 1 year ago
(This one will be hard to make work for #4944 because it interacts badly with some of the downstream formats we need to support. Leaving it open for future
in case we figure out a way to do it.)
What if you kinda cheat and make the cell output n cells (I know how to do it in knitr, but here it would require something more agnostic) 🤔 This also comes with some caveats as you would not necessarily know what lines output something ...
The fundamental problem doesn't go away, which is that if you have a subfigure and a subtable, then you either have an enclosing figure with a subtable or an enclosing table with a subfigure. Neither of those are allowed in LaTeX.
This is not going to be possible for the foreseeable future, even if the new crossref work that just landed, precisely because of the enclosing float problem, and the inconsistency with counters that we'd get.
Sometimes (especially with margin layout), it is useful to place the outputs of a code chunk side by side. To accomplish this, the outputs needs to come from the same chunk (e.g. a table of data and a plot of that data). It would be nice to be able to specify the labels for a chunk as an array, allowing something like: