[Tex/LaTex] How to enumerate theorems using letters with amsthm without losing the section numbering


It seems \renewcommand{\theexample}{\Alph{example}} makes the section numbering disappear. Is there a way to avoid this?



\begin{example}[special curve]
Let something be something.
\begin{example}[special manifold]
Let something be something.

Best Answer

When you do


then \theexample is defined by


and the example counter is reset any time section is stepped.

So you want to redefine \theexample by