Mathematica How to write mathematical expressions?

AI Thread Summary
To write mathematical expressions correctly using LaTeX, ensure there are no unnecessary spaces between the tags and the expressions. The correct format for the expression is [tex] a^2 + b = \sqrt{c} [/tex]. Users noted that the backslash in the closing tag should be correctly placed to avoid parsing errors. Proper formatting is essential for the expressions to render correctly. Following these guidelines will help in successfully displaying mathematical content.
Gamma
Messages
355
Reaction score
11
Can anyone tell me how I can write mathematical expressions here. I read the 'LateX crash course'. See what happens.

a^2 + b = sqrt {c}[\tex]<br /> <br /> What am I doing wrong?<br /> <br /> regards,<br /> Gamma.
 
Physics news on Phys.org
You've got a space between and a^2, methinks that&#039;s why it isn&#039;t being parsed.
 
Nylex said:
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.
 
Last edited:
Thank You.

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

a^2 + b = \sqrt{c}


Gamma
 

Similar threads

Replies
9
Views
2K
Replies
4
Views
2K
Replies
1
Views
1K
Replies
7
Views
3K
Replies
1
Views
2K
Replies
7
Views
2K
Replies
2
Views
2K
Back
Top