I would like to remove the section number from only the title, but display it in the figures and equations in the section.
My document class is scrartcl
and I am using sectsty
I tried
\section*{Problem 1}
but then all my figures and equations become 0.1,0.2… instead of 1.1, 1.2..
How does one go about this?
Best Answer
You can do this more simply by defining a personal command. This is the simplest way:
Here's a skeleton document:
There are many possible refinements. For example, you seem to want to have sequences of problems. Here's an attempt at it:
A “main problem” is started with
\problem
, while a “subproblem” is started with\problem*
. The equation number will still be the one established by the main problem.Avoiding the explicit number in the command allows for easily change the order of the problem, by just shuffling around their texts.