title: Figure numbers according to sections and subsections
body: <p>I want to generate the figure numbers depending on the sections, for example, if section number is 1.1 then I want to generate the figure numbers as 1.1.1, 1.1.2 and so on.</p>
  
  <p>Thanks in advance</p>