未定义控制序列(参考 LYX、MikTex)

未定义控制序列(参考 LYX、MikTex)

对于我输入到文档中的每个引用,我都会收到以下错误消息。我该怎么办?

Undefined control sequence

Document Class: scrreprt 2013/12/19 v3.12 KOMA-Script document class (report)

    \usepackage{color}
    \usepackage{fancyhdr}
    \pagestyle{fancy}
    \fancyhead[R]{\nouppercase{\leftmark}}
    \lhead{}
    \chead{}
    \cfoot{\thepage}

 ! Undefined control sequence.
    <argument> ...hr mit den H�nden ber�hren.``\citet 
                                                      {DMS Aplizieren}
    l.1333 ...�nden ber�hren.``\citet{DMS Aplizieren}}

    The control sequence at the end of the top line
    of your error message was never \def'ed. If you have
    misspelled it (e.g., `\hobx'), type `I' and the correct
    spelling (e.g., `I\hbox'). Otherwise just continue,
    and I'll forget about whatever was undefined.

答案1

\citet命令在 LaTeX 中默认不可用,您需要加载定义它的参考书目包。在 LyX 中,转到文档 --> 设置 --> 参考书目并设置纳特比布作为引用样式。这将加载natbib包,其中\citet\citep已定义。

相关内容