I want my figure to have the number 1.1 ,instead I got figure 1 enter image description here

  • This is probably related to your documentclass. Not all of them add the chapter or section to the figure label. There is a very detailed answer here: tex.stackexchange.com/a/28334/118712 My guess is that you want to use \usepackage{chngcntr} \counterwithin{figure}{section}.
    – Markus G.
    Jun 14 at 10:26
  • thank you so much
    – Imene Yd
    Jun 14 at 10:41
  • Loading chngcntr is not even necessary as it should be part of your latex kernel (since 2018). Jun 15 at 13:46

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.