Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

How to write mathematical expressions?

  1. Dec 21, 2004 #1
    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?

  2. jcsd
  3. Dec 21, 2004 #2
    You've got a space between [tex] and a^2, methinks that's why it isn't being parsed.
  4. Dec 21, 2004 #3


    User Avatar
    Science Advisor
    Homework Helper

    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:
    [tex] a^2 + b = \sqrt {c}[/tex]


    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: Dec 21, 2004
  5. Dec 21, 2004 #4
    Thank You.

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

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

Share this great discussion with others via Reddit, Google+, Twitter, or Facebook