Text Formatting ⇒ Appendix equation numbering repetitive and not in order
Appendix equation numbering repetitive and not in order
I have got a frustrating problem with equation numbering in the appendix of my overleaf file. I have spent a lot of time to resolve it without results. The equations numbering in the main text is okay; however, in the appendix, they have strange patterns like (17), (18),(18),(19),(20),(19).... repetitive and not in the correct order. When I set the numbering in the appendix to count from 1 and start with the letter A, then it will become A.-1, A.-2, A.-2, A.-3, A.-4, A.-3,... . The same repetitive, not-in-order pattern plus an unwanted dash line.
I appreciate your help.
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
- Stefan Kottwitz
- Site Admin
- Posts: 10360
- Joined: Mon Mar 10, 2008 9:44 pm
Appendix equation numbering repetitive and not in order
welcome to the forum!
Can you post code that shows the issue?
Stefan
Appendix equation numbering repetitive and not in order
Thank you!
I do not use specific code for the equation numbering. I use the "article'' class for my Overleaf document and have tried "paper", and "report" as well, with no help. Equation numbering in the main text goes to (16) with no problem. In the transition from the main text to the Appendix, I use
"\appendix
\section*{Appendix A}
"
And then I faced the first weird pattern in my previous message for the equations in the appendix. When I use
"\appendix
\renewcommand{\theequation}{A.\arabic{equation}}
\setcounter{equation}{0}
\section*{Appendix A}
"
then, I get the second weird pattern.
I would like to have (A.1), (A.2), (A.3), ... for the equation in the appendix. I thought there might be a conflict with some usepackages, so I tried commenting out those unnecessary for the compilation. This also did not help. this is the list of all usepackages I have used:
"
\usepackage{natbib}
\usepackage[font=small,labelfont=bf]{caption}
\usepackage{xcolor
\usepackage{xcolor}
\usepackage{float}
\usepackage{graphics}
\usepackage{graphicx}
\usepackage{textcomp}
\usepackage{amssymb}
\usepackage{cite}
\usepackage{cases}
\usepackage{multirow}
\usepackage{subcaption}
\usepackage{amsmath}
"
Thank you,
Soo