额外的对齐标签已更改为 \cr

额外的对齐标签已更改为 \cr

这可能不是重复的问题。我检查了这个错误,但所有问题似乎都有表格问题。我的整个文档中没有表格。这个错误来自我声明环境的行\abstract。编译后,该行会突出显示。我正在使用article class。它不会阻止文档编译,尽管错误表明我可能遇到了问题。这是我作为 MWE 所拥有的

    \documentclass[12pt,a4paper]{article}
    \usepackage[latin1]{inputenc}
    \usepackage{hyperref}
    \hypersetup{
        colorlinks   = true, %Colours links instead of ugly boxes
        urlcolor     = blue, %Colour for external hyperlinks
        linkcolor    = blue, %Colour of internal links
        citecolor   = blue %Colour of citations
    }
    \usepackage{amsmath}
    \usepackage{amsfonts}
    \usepackage{amssymb}
    \usepackage{apacite}
    \usepackage{graphicx}
    \author{George & Idi}
    \title{Medical Haemorrhage}
    % Removing hyphens from the document
    \tolerance=1
    \emergencystretch=\maxdimen
    \hyphenpenalty=10000
    \hbadness=10000
    \setlength{\parskip}{0.5\baselineskip}

    \begin{document}
        \maketitle  
    %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
    \begin{abstract}
        This has been quite an unprecedented cause of death.
    \end{abstract}

\bibliographystyle{apacite}
\bibliography{reference}
\end{document}

刚才\begin{abstract}我收到了警告。

答案1

非转义字符&只能用于对齐。要&在文本中生成字符,您需要\&但要分隔多个作者(最后您在评论中提到),在article课堂上您应该使用\and

\author{George kariuki\thanks{University of Cape Town, South Africa}
       \and
       Idi Jackson\thanks{Kenyatta University, Nairobi}}. 

相关内容