The enumerate environment I use is as follows:

\begin{enumerate}[label={\bfseries{Problem }\arabic*}]
\item The text of the problem

I hope the equation number for f(n+1)=f(n)+1 is displayed as the normal (1). But the actual label displayed is

(Problem 1.1)

So, what should I do for the equation f(n+1)=f(n)+1 to have a normal label (1) instead of above, i.e., to remove the item text (as well as its format) in the label? Of course, I also hope the subsequent citation ~\eqref{eq_label} can also display (1) as expected. Thank you.

  • 1
    Welcome to TeX.SX! If I create a minimal working example (MWE) using the code fragment you provided so far, I end up with the following output, which does not contain "(Problem 1.1)". Therefore, please create a MWE that allows others to reproduce the output you get. – leandriis Mar 5 at 19:45
  • Unrelated, never use eqnarray it is broken in many ways. Secondly please always post full minimal examples, that makes it easier to test your code. – daleif Mar 5 at 19:46
  • 1
    Since you used eqnarray, you might want to take a look as eqnarray vs align and at this article that summarizes, why to avoid eqnarray – leandriis Mar 5 at 19:47
  • It's hard to understand what your trying to do with the numbering, and what you're getting. Possibly related: \bfseries doesn't take an argument, so it should be {\bfseries Problem}, or \textbf{Problem}. – Teepeemm Mar 5 at 19:59
  • 2
    by default the equation number would not be affected by the list numbering. As you have not provided an example we can not see how that is happening in your case. It is possible (but unusual) to declare the equation counter is counted within enumerate. But unless you show where you hav edone that it is hard to tell you what to remove. – David Carlisle Mar 5 at 20:06

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.