If I define three figures like this




 \caption{Caption 1}\label{AA}

 \caption{Caption 2}\label{BB}

 \caption{Caption 3}\label{cc}


So the result can be showing 3 images one by one, but I want to set the number of the figure with label AA as 3, and the one with label BB as 1. The one with label CC as 2.

You might recommend changing the order in code, but I do not want to do in that way. How can I do that by LaTeX?

  • 2
    Please can you edit your code and could put a complete and compilable MWE with all your package? – Sebastiano Feb 25 '19 at 11:55
  • 2
    I see you edited your question and added some \usepackage commands. However, (1) they should not be inside \begin{document}...\end{document} and (2) please add the \documentclass. – user156344 Feb 25 '19 at 12:09
  • See also tex.stackexchange.com/questions/269301/… – John Kormylo Feb 25 '19 at 15:04
  • Your renumbering of the figures will look very odd to any reader of your work. They expect the figures to be numbered in the order that they appear in the document. As an extreme example what if you had 100 figures and labelled the first as 100 and the last as 1. How would your reader know where to look if you referenced them in your text? – Peter Wilson Feb 25 '19 at 18:50

By adding the option: \addtocounter{figure}{-1} you can change the current figure order in your document. Try \addtocounter{figure}{2} before figure AA, so the current fig. number will be 2. After inserting Figure AA, try \addtocounter{figure}{-3} and ....


Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.