How to enumerate figures acording to a previous enumeration

by J.Rodriguez   Last Updated April 16, 2019 03:23 AM

I when I create a command for (for example) the examples in my article, I do it in this way:

\newtheorem{teo}{Theorem}[section]
\newtheorem{ex}[teo]{Example}

So the enumeration is consecuent to what I have done with the theorems and other things, but the figures do their own enumeration, how can I change that in the same way of the examples? Thanks



Related Questions


Updated November 14, 2016 07:38 AM

Updated March 21, 2017 21:23 PM

Updated July 12, 2017 00:23 AM

Updated April 07, 2015 21:09 PM

Updated April 28, 2015 23:10 PM