On 2012-05-18, Scott Kostyshak wrote:
> From: Kenedy Torcatt [yde...@gmail.com]
> Sent: Friday, May 18, 2012 3:30 AM

>>Hey guys... I'm working with lyx in spanish, The mathematical operator
>>like sin are showing in english "sin". I need this math operators in
>>spanish, I mean "sen".
>>How can I do this with lyx? I'm using latest version 2.0.3.

> Put this in your preamble:

> \DeclareMathOperator*{\espsin}{sen}

> (also make sure that you are using the amsmath package) Then when you
> want to input "sen" in your math inset just put \espsin. Note that you
> can choose the name "espsin".

E.g. I would use the name \sen for the macro: in the preamble

and in LyX  f(x) = \sen(x).

If you do not like the red \sen in the math box, you can also define a 
dummy math macro (in an inactive branch or a comment).


Reply via email to