我无法使用 AIP 模板编译它,但它可以在标准 tex 中编译。我该如何使用该模板?

我无法使用 AIP 模板编译它,但它可以在标准 tex 中编译。我该如何使用该模板?
\documentclass{amsart}
\usepackage{amsfonts}
\setcounter{MaxMatrixCols}{10}

\newtheorem{theorem}{Theorem}
\theoremstyle{plain}
\newtheorem{acknowledgement}{Acknowledgement}
\newtheorem{algorithm}{Algorithm}
\newtheorem{axiom}{Axiom}
\newtheorem{case}{Case}
\newtheorem{claim}{Claim}
\newtheorem{conclusion}{Conclusion}
\newtheorem{condition}{Condition}
\newtheorem{conjecture}{Conjecture}
\newtheorem{corollary}{Corollary}
\newtheorem{criterion}{Criterion}
\newtheorem{definition}{Definition}
\newtheorem{example}{Example}
\newtheorem{exercise}{Exercise}
\newtheorem{lemma}{Lemma}
\newtheorem{notation}{Notation}
\newtheorem{problem}{Problem}
\newtheorem{proposition}{Proposition}
\newtheorem{remark}{Remark}
\newtheorem{solution}{Solution}
\newtheorem{summary}{Summary}
\numberwithin{equation}{section}


%------------------------------------------------------------------

\begin{document}
\begin{corollary}
\label{Corollary1}
Let $f:I\subseteq[0,\infty)\rightarrow\mathbb{R}$ be twice differantiable mapping on
$I^{\circ}$, $a,b\in I$ with $a<b$. If $|f''|^q$ is convex, then
\begin{eqnarray}
\label{C1}
&&\bigg|\int_{a}^bf(x)dx-f(\frac{a+b}{2})\bigg| \\
&& \leq   \frac{(b-a)^2}{16(2p+1)^\frac{1}{p}}\bigg[\bigg(\frac{|f''(a)|^q+3|f''(b)|^q}{4}\bigg)^\frac{1}{q}
+\bigg(\frac{|3f''(a)|^q+|f''(b)|^q}{4}\bigg)^\frac{1}{q}\bigg] \nonumber \\
&& \leq \frac{(b-a)^2}{2^{(2+\frac{2}{q})}(2p+1)^\frac{1}{p}}\Big(|f''(a)|+|f''(b)|\Big). \nonumber
\end{eqnarray}
\end{corollary}

%-------------------------------------------------------------------------------

\begin{corollary}
\label{Corollary2}
Let $f:I\subseteq[0,\infty)\rightarrow\mathbb{R}$ be twice differantiable mapping on
$I^{\circ}$, $a,b\in I$ with $a<b$. If $|f''|^q$ is convex, 
then
\begin{eqnarray}
\label{C2}
&&\bigg|\int_{a}^bf(x)dx-f(\frac{a+b}{2})\bigg| \\
&&\leq \frac{(b-a)^2}{48} \bigg[\bigg(\frac{3|f''(a)|^q+5|f''(b)|^q}{8}\bigg)^\frac{1}{q}
+\bigg(\frac{|5f''(a)|^q+|3f''(b)|^q}{8}\bigg)^\frac{1}{q}\bigg] \nonumber \\ \nonumber
\end{eqnarray}
\end{corollary}

\end{document}

答案1

要使用您的文档revtex4-1而不是amsart我必须加载amsmathamsthm包,并重命名您的case环境,因为该名称已经定义,请参阅标有%%%%%%%

\documentclass{revtex4-1}%%%%%%%
\usepackage{amsmath,amsthm}%%%%%%%
\usepackage{amsfonts}
\setcounter{MaxMatrixCols}{10}

\newtheorem{theorem}{Theorem}
\theoremstyle{plain}
\newtheorem{acknowledgement}{Acknowledgement}
\newtheorem{algorithm}{Algorithm}
\newtheorem{axiom}{Axiom}
\newtheorem{mycase}{Case}%%%%%%%

相关内容