PDA

View Full Version : How to write mathematical expressions?


Gamma
Dec21-04, 09:12 AM
Can any one tell me how I can write mathematical expressions here. I read the 'LateX crash course'. See what happens.

[tex] a^2 + b = sqrt {c}[\tex]

What am I doing wrong?

regards,
Gamma.

Nylex
Dec21-04, 09:27 AM
You've got a space between [tex] and a^2, methinks that's why it isn't being parsed.

dextercioby
Dec21-04, 10:02 AM
You've got a space between (tex) and a^2, methinks that's why it isn't being parsed.

You're wrong,Nylex.LaTex doesn't mind about spaces.He wrote "a^2 + b = sqrt {c}(\tex)",instead of "a^2 + b =\sqrt{c}(/tex).Which should give:
a^2 + b = \sqrt {c}

Daniel.

PS.I used "(" instead of "[" so that the compiler wouldn't give error.Click on the fromula to see the code and compare it with yours.

Gamma
Dec21-04, 02:01 PM
Thank You.

Got it. I think the error is in the back slash in [/tex]

a^2 + b = \sqrt{c}


Gamma