开发者

\geqslant Undefined control sequence in Latex

开发者 https://www.devze.com 2022-12-26 16:08 出处:网络
When I compile the following latex code: \\begin{align} f_{m}(x) = c_{1,m} \\times I(x_{i}^{m} \\geqslant t_{m} ) + c_{2,m} \\times I(x_{i}^{m} <t_{m} ),

When I compile the following latex code:

\begin{align}   
f_{m}(x) = c_{1,m} \times I(x_{i}^{m} \geqslant t_{m} ) + c_{2,m} \times I(x_{i}^{m} <     t_{m} ),  
\end{align} 

I always get an error:

! Undefined control sequence.  
<argument> ..._{1,m} \times I(x_{i}^{m} \geqslant   
   开发者_运维知识库                                           t_{m} ) + c_{2,m} \times I...  
l.124 \end{align}

When I replace \geqslant with >=, it is okay.

I already include the amsmath package. What would cause the problem?

Thanks and regards!


That command isn't defined in the amsmath package, but rather the amssymb package -- put \usepackage{amssymb} in your preamble and you should be fine.

0

精彩评论

暂无评论...
验证码 换一张
取 消