\NeedsTeXFormat{LaTeX2e}[1996/06/01]
\documentclass{cambridge7A}
\usepackage{natbib}
\usepackage[figuresright]{rotating}
\usepackage{floatpag}
\rotfloatpagestyle{empty}
\usepackage{amsthm}
\usepackage{graphicx}
\usepackage{epstopdf}
\usepackage{txfonts}
\usepackage{multind}\ProvidesPackage{multind}
\makeindex{authors}
\makeindex{subject}
\usepackage[number=none]{glossary}
\makeglossary
\theoremstyle{plain}% default
\newtheorem{theorem}{Theorem}[chapter]
\newtheorem{lemma}[theorem]{Lemma}
\newtheorem{proposition}[theorem]{Proposition}
\newtheorem{corollary}[theorem]{Corollary}
\newtheorem{conjecture}[theorem]{Conjecture}
\newtheorem*{theorem*}{Theorem}
\newtheorem*{lemma*}{Lemma}
\newtheorem*{proposition*}{Proposition}
\newtheorem*{corollary*}{Corollary}
\newtheorem*{conjecture*}{Conjecture}
\theoremstyle{definition}
\newtheorem{definition}[theorem]{Definition}
\newtheorem{example}[theorem]{Example}
\newtheorem{prob}[theorem]{Problem}
\newtheorem{remark}[theorem]{Remark}
\newtheorem{notation}[theorem]{Notation}
\newtheorem{exer}[theorem]{Exercise}
\newtheorem*{definition*}{Definition}
\newtheorem*{example*}{Example}
\newtheorem*{prob*}{Problem}
\newtheorem*{remark*}{Remark}
\newtheorem*{notation*}{Notation}
\newtheorem*{exer*}{Exercise}
\setcounter{tocdepth}{2}
\newcommand\cambridge{cambridge7A}
\def\makeRRlabeldot#1{\hss\llap{#1}}
\renewcommand\theenumi{{\rm (\roman{enumi})}}
\renewcommand\theenumii{{\rm (\alph{enumii})}}
\renewcommand\theenumiii{{\rm (\arabic{enumiii})}}
\renewcommand\theenumiv{{\rm (\Alph{enumiv})}}
\begin{document}
.
.
\end{document}
这是代码。错误是
Paragraph ended before \@tempa was complete. \newenvironment{proof}[1]
[\proofname]{\par