On 12/12/2011 11:21 AM, Ignacio Martinez wrote:
Hi I'm trying to add the operator argmax to my LyX document.I added the following to my preamble: \DeclareMathOperator*{\argmax}{arg\,max} But is not working. I write in math mode \argmax but the operator does not work. What am I doing wrong? Thanks! -Ignacio
DeclareMathOperator is described in "Section 10.4 Self-defined Operators" of the Math help manual. It doesn't display nicely in LyX if that's what you mean by "does not work". But compiling your document to pdf should work. If it did not, please describe what kind of errors you are getting.
Cheers, Julien
