Closed JamesxX closed 3 weeks ago
Actually, I have already thought to use the subpar
package. However, it doesn't seem to allow separate supplements : one for the caption and one for referencing the element. It is a common usage in my field to have caption with "Figure 1: ..." and to cite it as "Fig. 1" in the text (I have checked that in the guides for authors). That is why, I have implemented subfigure
this way.
However, I agree that using the subpar
package would simplify the code of the template.
The new release supports subpar
now ;)
https://github.com/maucejo/elsearticle/blob/bd90396f1123410352107ef72b3507c5d358fe0c/src/elsearticle.typ#L39-L44
The
subpar
package deals with many of the edge-cases that we'd otherwise need to deal with ourselves