# Re: Change math Language - critical

Well Ignacio, If I create an Spanish document, and use "\sin x", Lyx
(on screen) renders it as "sin x". If I use "\sen x", Lyx will render
it (again, on screen) as "\sen x". What I would like is that by using
localization (Spanish), Lyx recognizes that "\sin x" should be
rendered as "sen x". The thing is that I don't know if this a
desirable behavior.

Again, should LaTeX do it automatically? Meaning, in the PDF.

Regards.
-------------------------------------------------
Julio Rojas
jcredbe...@gmail.com

On Sat, May 19, 2012 at 1:01 PM, Ignacio García
<ignacio.gmora...@gmail.com> wrote:
>
>
> 2012/5/19 Julio Rojas <jcredbe...@gmail.com>
>>
>> What a bummer...
>>
>> One question. Shouldn't it be better that Lyx recognizes localization
>> and instead of using "\sin" uses "\sen"? Is it even possible or
>> desirably?
>>
>>
>> The really good question is why, oh why, LaTeX doesn't do it
>> automatically so Lyx has to do it only on-screen.
>>
>> Regards.
>> -------------------------------------------------
>> Julio Rojas
>
>
> Sorry, I do not understand... What do you mean?
> LyX doesn't show the function name "sen" in the math toolbar button,
> but otherwise, if the document language is Spanish you can use the latex
> command "\sen" right away, and then spanish-babel-latex makes the thing
> automatically: in the LyX window the "sen" is shown (if Instant Previw is
> on)
> and also in PDF output
>
> Ignacio García
>
>>
>>
>> On Sat, May 19, 2012 at 8:48 AM, Ignacio García
>> <ignacio.gmora...@gmail.com> wrote:
>> > On fry 8 May 2012 Kenedy Torcatt wrote
>> >
>> >> 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.
>> >
>> >
>> >> P.S: I already set the language in spanish, everything else is fine
>> > (in spanish).
>> >
>> > The function 'sen' is predefined in the latex package babel-spanish,
>> > so you write in math mode the command \sen and you get sen, that's all
>> > E.g., in math mode insert
>> > \sen space a
>> >
>> >
>> > and the output is
>> > sen a
>> > This command are not available in the math panels
>> >
>> > There is info about the functions predefined in Spanish (sen, arcsen,
>> > tg,...)
>> > in the section 15.1 of the spanish version manual 'Math' (Ecuaciones)
>> >
>> >
>> >
>> > I.G.
>
>