Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I have used GMS class to write design a math book. In that book, the author has a special theorem, as following:

\documentclass{gsm-l}
\newtheorem{theorem}{Theorem}
\newtheorem{lemma}[theorem]{Lemma}
\theoremstyle{definition}
\newtheorem{definition}[theorem]{Definition}
\newtheorem{example}[theorem]{Example}
\newtheorem{xca}[theorem]{Exercise}
\theoremstyle{remark}
\newtheorem{remark}[theorem]{Remark}
\numberwithin{section}{chapter}
\numberwithin{equation}{chapter}
\setcounter{tocdepth}{2}
\makeindex
\begin{document}
\title{}
\maketitle

\section{Indent the subsection}
\begin{theorem}Here is theorem 1
\end{theorem}
\begin{theorem}This theorem must be numbered as theorem 2A
\end{theorem}
\printindex
\end{document}

As you can see in the MWE, there are two theorems. I want to number the second theorem to theorem 2A, and the next theorem to that is theorem 3 as usual.

How can I do? Please help me.

Thanks.

share|improve this question
add comment

1 Answer 1

up vote 3 down vote accepted

Temporarily adjust the theorem counter presentation:

enter image description here

...
\renewcommand{\thetheorem}{\arabic{theorem}A}%
\begin{theorem}This theorem must be numbered as theorem 2A
\end{theorem}
\renewcommand{\thetheorem}{\arabic{theorem}}%
...
share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.