Hi.
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.
Text Formatting ⇒ Appendix equation numbering repetitive and not in order
- Stefan Kottwitz
- Site Admin
- Posts: 10290
- Joined: Mon Mar 10, 2008 9:44 pm
Appendix equation numbering repetitive and not in order
Hi Soo,
welcome to the forum!
Can you post code that shows the issue?
Stefan
welcome to the forum!
Can you post code that shows the issue?
Stefan
LaTeX.org admin
Appendix equation numbering repetitive and not in order
Hi Stefan,
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
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