我正在使用 LaTeXcombine
包来合并具有文档类的数学文章amsart
,但每次我都遇到了问题
\newtheorem{theorem}{\bf Theorem}[section]
谁能帮助我摆脱这种困境?
这是用于主文件:
\documentclass[12pt,colclass=amsart,reqno]{combine}
\usepackage{amsmath,a4,amsfonts,amssymb,enumerate,fleqn,breqn,times}
\usepackage{hyperref}
\usepackage{keyval}
\title{Proceedings of the ...}
\author{ Editor\thanks{Support ...}}
\begin{document}
\pagestyle{combine} % use the combine page style
\maketitle % main title
\tableofcontents % main ToC
\clearpage
\begin{papers}
\begingroup\import{file1}\endgroup % first article, may have own ToC,
\end{papers}
\end{document}
对于 file1 我使用:
\documentclass[a4paper,11pt,reqno]{amsart}
\usepackage{amsmath,a4,amsfonts,amssymb,amsthm,enumerate,fleqn,breqn}
\usepackage{enumitem}
\setdescription{leftmargin=0cm,labelindent=0cm}
\mathindent4em
\renewcommand{\theequation}{\arabic{section}.\arabic{equation}}
\mathsurround1pt
\def\disp{\displaystyle}
\def\CC{\mathbb{C}}
\def\ZZ{\mathbb{Z}}
\pretolerance=5000
\hyphenpenalty=5000
\def\cc#1{\{#1\}}
\def\pp#1{\|#1\|}
\def\ra{\rangle}
\def\la{\langle}
\def\nh{\mathcal{H}}
\def\A{\mathcal{A}}
\theoremstyle{plain}
\newtheorem{theorem}{\bf Theorem}[section]
\newtheorem{lemma}[theorem]{\bf Lemma}
\theoremstyle{remark}
\newtheorem{definition}[theorem]{\bf Definition}
\newtheorem{observations}[theorem]{\bf Observations}
\newtheorem*{notationn}{\bf Notation}
\newtheorem{example}[theorem]{\bf Example}
\newtheorem{remark}[theorem]{\bf Remark}
\newtheorem{proposition}[theorem]{\bf Proposition}
\newtheorem{corollary}[theorem]{\bf Corollary}
\newtheorem*{noten}{\bf Note}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\title{FILE 1}
\author{C}
\address{acs}
\email{[email protected]}
\def\Ker{\mathop{\rm Ker}}
\subjclass[2010]{ xxC40}
\keywords{asc}
\thispagestyle{empty}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{document}
\maketitle
\begin{abstract}
abs
\end{abstract}
\section{Introduction}
\end{document}
错误显示:
! Undefined control sequence.
l.7 \setdescription
{leftmargin=0cm,labelindent=0cm}
?
! Missing \endcsname inserted.
<to be read again>
\relax
l.39 \newtheorem{theorem}{\bf Theorem}[section]
?