I have a figure composed by 9 subfigures (3 rows and 3 columns). I divided this figure into 2 blocks using the following commands: \addtocounter{figure}{-1}
and \addtocounter{subfigure}{1}
. These 2 blocs have the same label and the same figure number (Figure 1). I would like that the numbers of the 2 figures (blocs) become "Figure 1.1" and "Figure 1.2".
Any ideas?
Thank you.
[Tex/LaTex] Figure numbering
floatsnumbering
Best Answer
Here's one possibility using a temporal counter. For me it wasn't clear why you used
but I respected this in my example codes below.
subfigure
is an obsolete package which shouldn't be used anymore; in its stead you should usesubfig
orsubcaption
. Here's the above approach, but usingsubfig
:The
demo
option forgraphicx
simply replaces actual figures with black rectangles; do not use that option in your actual document.