I am trying to use the same numbering for theorems, propositions, definitions, etc. This is normally easily be solved by using amsmath and defining these environments and using the same counter:


Problem: I am using a journal document class which has theorems, propositions, definitions, etc. already defined in the document class. Thus I need to change the counter after the environments were already defined, something similar to the way one can simply change the numbering format with:


In my case, the document class is:


Just found the very simple solution inspired from How to identify the counter of Equation, Theorem, and Section. The solution is to match the counters:

  • 1
    We'd like to keep answers separate from questions, so you should write a separate answer instead of editing your answer into the question. Self-answers are perfectly admissible, and a well-written answer may earn you additional reputation. – Werner Dec 31 '12 at 6:45
  • note -- amsmath does not have anything to do with theorem counters; it's amsthm. i'm writing this as a comment instead of editing the question because it's a common misconception, and this might get the point across more clearly. – barbara beeton Dec 31 '12 at 15:32

The definition of these environments in svjour3 are actually initiated using a "special theorem macro" that just receives a bunch of formatting (plus counter and name) information from the respective environments. Originally, theorem, proposition and definition are defined like this:

> \theorem=macro:
->\@spthm {theorem}{\csname theoremname\endcsname }{\bfseries }{\itshape }.

> \proposition=macro:
->\@spthm {proposition}{\csname propositionname\endcsname }{\bfseries }{\itshape }.

> \definition=macro:
->\@spthm {definition}{\csname definitionname\endcsname }{\bfseries }{\rmfamily }.

All you need to do is make the proposition and definition environment starting macros to resemble that of theorem:

enter image description here

\documentclass[twocolumn]{svjour3}% http://www.e-publications.org/springer/support/spr-chicago.html
\def\proposition{\@spthm{theorem}{\csname propositionname\endcsname}{\bfseries}{\itshape}}
\def\definition{\@spthm{theorem}{\csname definitionname\endcsname}{\bfseries}{\itshape}}
\begin{theorem}This is a theorem.\end{theorem}
\begin{proposition}This is a proposition.\end{proposition}
\begin{definition}This is a definition.\end{definition}
\begin{theorem}This is a theorem.\end{theorem}
\begin{proposition}This is a proposition.\end{proposition}
\begin{definition}This is a definition.\end{definition}
| improve this answer | |

The svjour3 class uses a different command for defining new "theorems", but doesn't require it. If you pass the nospthms option, none of the predefined theorems will be defined.



Alternatively, if you want to use the toolbox offered by the class, you can undefine the predefined environments:


% Undefine the predefined environments

% Define them anew
| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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