eqnarray 中的 Latex 单词被强调

eqnarray 中的 Latex 单词被强调

我在 eqnarray 中有一个乳胶方程,如下所示,

\begin{eqnarray*}\nonumber
f(\xi) = \min \xi\\
where, \forall n_{j} \in N, \xi = \max (\xi_{1}, \xi_{2}, .., \xi_{j})\\
s.t.\\
\forall n_{j} \in N, \sum_{C_{i} \in C} x_{ij} \leq \eta_{j}\\
\end{eqnarray*}

但问题是单词“where”被强调了,而我并不想这样。单词max没有被强调,因为它是保留字,前面有一个“\”。

有什么方法可以弱化“where”这个词的含义吗?字母“st”的命运也一样 - 我也不希望它们在 eqnarray 中被强调。

答案1

这并不是在强调“哪里”,而是将其排版为方程式中的一个项,即w*h*e*r*e。改为写\mbox{where,}(或\text{where,}使用 amsmath)。您应该s.t.在下一行使用 执行相同操作。

相关内容