\endlist \ifx \enit@series \relax \else \if

\endlist \ifx \enit@series \relax \else \if

我收到这个错误:

! Undefined control sequence.
\enit@endenumerate ->\enit@after 
                                 \endlist \ifx \enit@series \relax \else \if...
l.167 \end{enumerate}


 %--------------------------------------------------------------------------------------------------
\documentclass{article}
\usepackage{float}
\usepackage[section]{placeins}
\usepackage{rotating}
\usepackage{indentfirst}
\usepackage{graphicx}
\usepackage{epsfig}
\usepackage{latexsym}
\usepackage{amssymb}
\usepackage{amsmath}
\usepackage{rotating}
\usepackage{enumitem}
\usepackage{enumerate}
\usepackage[a4paper,left=2.5cm,right=2cm,top=3cm,bottom=2.5cm]{geometry}
%--------------------------------------------------------------------------------------------------

\newtheorem{llemma}{Lemma}[section]
\newtheorem{prop}[llemma]{Proposition}
\newtheorem{pf}[llemma]{Proof}
\newtheorem{exmp}[llemma]{Example}
\newtheorem{ttheorem}[llemma]{Theorem}
\newtheorem{ccorollary}[llemma]{Corollary}
\newtheorem{defn}[llemma]{Definition}
\newtheorem{rem}[llemma]{Remark}
\newtheorem{cconjecture}[llemma]{Conjecture}
\newtheorem{nnote}[llemma]{Note}
\newtheorem{key}[llemma]{Keyword}
\newtheorem{ack}[llemma]{Acknowledgement}
\newtheorem{pro}[llemma]{Property}
\newtheorem{result}[llemma]{Result}
%--------------------------------------------------------------------------------------------------
\setlength{\parskip}{1em}

\begin{enumerate}
    \item The given operators based on archimedean  norms are introduced to propose
a new decision making method for solving an MADM-problems with trapezoidal fuzzy multi numbers.
    \item  The main aim is to develop ATS-TFMWA operator and
ATS-TFMWG operator for a MADM-problems with trapezoidal fuzzy multi
numbers.
    \item A method is constructed under MADM-problems with trapezoidal fuzzy multi numbers.
    \item An example  for application is given to show the effectiveness and advantage of the introduced method.
\end{enumerate} 

答案1

一个更合理的例子是

\documentclass{article}

\usepackage{enumitem}
\usepackage{enumerate}

\begin{document}

\begin{enumerate}
\item x
\end{enumerate}
\end{document}

产生

! Undefined control sequence.
\enit@endenumerate ->\enit@after 
                                 \endlist \ifx \enit@series \relax \else \if...
l.10 \end{enumerate}
                    
? 

只需删除

\usepackage{enumerate}

这两个包都重新定义了\enumerate您不能同时使它们工作。enumitem可以做所有事情enumerate,所以您永远不需要\usepackage{enumerate}

\documentclass{article}

\usepackage{enumitem}

\begin{document}

\begin{enumerate}
\item x
\end{enumerate}
\end{document}

相关内容