Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我已将环境定义为
\newenvironment{question}[1] {Question (#1 points):}{}
我用它作为
\begin{question}[10] ... \end{question}
我收到以下错误:
Missing number, treated as zero \begin{question}[ 10]
正确的语法是使用花括号,而不是方括号:
\begin{question}{10} What is the airspeed velocity of an unladen swallow? \end{question}