I am having a problem with the numbering of the theorems (by section) in a paper. My problem is that I want to number my theorems and propositions such that they appear as something like:
Theorem 3.1, Proposition 3.1 etc.
However, using the current list of commands I have, I am getting the following:
Theorem 31, Proposition 31 etc.
It seems like at least for the theorem command that I have put in, it is the usual command to call when trying to number theorems by section, so I am a little stumped why I am getting this error.
Here is my list of packages and commands:
\documentclass[smallextended,referee]{svjour3}
\smartqed
\usepackage{graphicx}
\usepackage{epstopdf}% To incorporate .eps illustrations using PDFLaTeX, etc.
\usepackage{subfigure}% Support for small, `sub' figures and tables
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{amscd}
\usepackage{epsfig}
\usepackage{amsfonts}
\usepackage{amsthm}
\usepackage{color}
\theoremstyle{plain}
\newtheorem{thm}{Theorem}[section]
\newtheorem{cor}[theorem]{Corollary}
\newtheorem{lem}[theorem]{Lemma}
\newtheorem{ntn}{Notations}[section]
\newtheorem{pro}{Proposition}[section]
\newtheorem{dfn}{Definition}[section]
\newtheorem{as}{Assumption}[section]
\newtheorem{rem}{Remark}[section]
\newtheorem{ob}{Observation}[section]
\renewcommand{\thefigure}{\arabic{section}.\arabic{figure}}
\renewcommand{\theequation}{\arabic{section}.\arabic{equation}}
\def\div{\mathop{\rm div}}
\def\D{\mathop{\bf \rm D}}
\def\FP{\mathop{\rm p}}
\def\Span{\mathop{\rm Span}}
\def\boldalpha{\mbox{\boldmath $\alpha$}}
\def\boldpi{\mbox{\boldmath $\pi$}}
\def\boldzeta{\mbox{\boldmath $\zeta$}}
\def\boldtheta{\mbox{\boldmath $\theta$}}
\begin{document}
\section{Solution}\label{Solution}
\begin{lem}\label{conditions}
Words for lemma
\end{lem}
\begin{thm}\label{mainthm}
Words for theorem
\end{thm}
\begin{rem}\label{remone}
Words for remark
\end{rem}
\section{Analysis}\label{Analysis}
\begin{pro}\label{observation}
Words for proposition
\end{pro}
\begin{rem}\label{remtwo}
Words for remark
\end{rem}
\begin{thm}\label{secondthm}
Words for remark
\end{thm}
\begin{pro}\label{proposition}
Words for proposition
\end{pro}
\end{document}
\documentclass{...}
and ending with\end{document}
.\spnewtheorem
and not\newtheorem
.svjour3
andamsthm
, and when I compile I receive an error (fromamsthm
) that theproof
environment (or\proof
, to be specific) is already defined. I would assume therefore that the class is not compatible withamsthm
by default.