LaTeX未定义的控制序列

问题描述 投票:0回答:2

我正在做一些功课,我正在检查以确保我的代码编译为PDF。我不断得到一个错误:

! Undefined control sequence.
<recently read> \urcorner
l.74 (($\urcorner
$
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.

这是我的代码:

enter image description here

这是我的序言:

enter image description here

latex
2个回答
1
投票

\urcorneramssymb定义,你没有在序言中加入。所以,添加

\usepackage{amssymb}

到你的序言,你将能够使用\urcorner(和\ulcorner\llcorner\lrcorner)。

继续你的文件建设。我会用enumerate环境来设置你的问题。也许还可以使用enumitem格式化标签以满足您的需求:

\usepackage{amssymb,enumitem}
...
\begin{enumerate}[label={\arabic*)}]
  \item <some item>
  \item <some other item>
  ...
  \item <last item>
\end{enumerate}

永远不要只使用\\来结束一条线。


0
投票

类似的问题解决https://tex.stackexchange.com/questions/85024/symbols-in-math-mode

你为什么不用

\begin{enumerate}
   \item First item
   \item Second item ...
 \end{enumerate}

对于数字列表?

© www.soinside.com 2019 - 2024. All rights reserved.