我正在做一些功课,我正在检查以确保我的代码编译为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.
这是我的代码:
这是我的序言:
\urcorner
由amssymb
定义,你没有在序言中加入。所以,添加
\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}
永远不要只使用\\
来结束一条线。
类似的问题解决https://tex.stackexchange.com/questions/85024/symbols-in-math-mode
你为什么不用
\begin{enumerate}
\item First item
\item Second item ...
\end{enumerate}
对于数字列表?