I've used the following commands in my document to ensure that section numbering appears as 1.0, etc. while the subsections appear as 1.1, 1.2, etc.:
However, I want the figures to be formatted as 1-1, 1-2, etc., so I used the following command:
But of course, this appears as 1.0-1, 1.0-2, etc.
So my question: is there a way to keep the section numbering as X.0 while the figure numbering appears as X-1, X-2, etc. (i.e., without the decimal zero)?