\text tag not working.

  • chenna reddy

    chenna reddy - 2012-09-06


    the above latex code is not working using JSMATH. If I remove \text its working.
    Kindly let me know how to make \text to work in JSMATH.

  • Davide P. Cervone

    Your expression is not valid LaTeX code. The


    macro is a math-mode macro, not a text-mode one, and so you can't use




    (except by doing something like


    ).  Also, jsMath doesn't process macros inside text-mode material (other than within embedded math like above), because jsMath only handle mathematical typesetting, not text typesetting. 

    If you are trying to get an upright i, j, and k rather than italics, try

    3\hat{\rm i} + 4\hat{\rm j}+5\hat{\rm k}



Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

No, thanks