Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I have a latex equation within an eqnarray as follows,

\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*}

But the problem is that the word "where" is getting emphasized which I do not want. The word max is not getting emphasized as it is reserved word preceded by a "\".

Is there any way I can deemphasize the word "where"? The same is the fate of the letters "s.t." - I also don't want them emphasized inside the eqnarray.

share|improve this question

migrated from stackoverflow.com May 8 '12 at 13:10

This question came from our site for professional and enthusiast programmers.

3  
eqnarray gets a lot of scorn from the TeXperts. Consider using the AMS packages instead. –  chrisaycock May 7 '12 at 22:10
1  
Yes, you should avoid eqnarray: See \eqnarray vs \align –  Peter Grill May 8 '12 at 15:52

1 Answer 1

up vote 5 down vote accepted

It is not that "where" is getting emphasized; rather, it is being typeset as if it were a term in an equation, i.e. w*h*e*r*e. Write \mbox{where,} instead (or \text{where,} with amsmath). And you should do the same with s.t. on the next line.

share|improve this answer
    
terrific, thank you. –  user396089 May 7 '12 at 22:44

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.