未定义的控制序列:overleaf 中的 maketitle(),EMNLP 2020

未定义的控制序列:overleaf 中的 maketitle(),EMNLP 2020

使用 EMNLP-2020 模板时,我收到“OVERLEAF 中未定义的控制序列错误”。它运行正常并产生所需的输出,但由于错误,我无法上传到 arxiv。请提出任何建议...

代码是:

\documentclass[11pt,a4paper]{article}
\usepackage[hyperref]{emnlp2020}
\usepackage{times}
\usepackage{url}
\usepackage{amsmath,amssymb}
\usepackage{latexsym}
\usepackage{natbib}
\usepackage{microtype}
\usepackage{graphicx}
\renewcommand{\UrlFont}{\ttfamily\small}

\aclfinalcopy % Uncomment this line for the final submission
%\def\aclpaperid{***} %  Enter the acl Paper ID here

\title{This is the title  for EMNLP-2020}

\author{{ABC, PQR \and XYZ}\\
\institute{Department of 1234, University of 1234}\\
\email{\{ abc.abc, pqr.pqr, xyz.xyz\}@1234.xx.xx}}

\begin{document}

\maketitle

This is the test document

并显示以下错误

答案1

从标题中删除未定义\institute和宏:\email

\documentclass[11pt,a4paper]{article}
\usepackage[hyperref]{emnlp2020}
%\usepackage{times}
\usepackage{url}
\usepackage{amsmath,amssymb}
\usepackage{latexsym}
\usepackage{natbib}
\usepackage{microtype}
\usepackage{graphicx}
\renewcommand{\UrlFont}{\ttfamily\small}

\aclfinalcopy % Uncomment this line for the final submission
%\def\aclpaperid{***} %  Enter the acl Paper ID here

\title{This is the title  for EMNLP-2020}

\author{ABC, PQR \and XYZ\\
Department of 1234, University of 1234\\
\{abc.abc, pqr.pqr, xyz.xyz\}@1234.xx.xx
}

\begin{document}

\maketitle

This is the test document


\end{document}

在此处输入图片描述

相关内容