[Tex/LaTex] MathJax won’t render ‘bold’ faces

boldmathjax

I recently implemented LaTeX on my website. I'm displaying my equations using MathJax. I have a problem displaying bold faces.

This is my latex syntax:

[latex] \text{{\bf 1 calorie} = amount of energy required to raise the temperature of {\bf 1 gram} of water by 1 degree Celsius.} [/latex]

I'm not sure if it is a browser issue or an issue with MathJax itself.

EDIT: Here is how MathJax renders: http://bit.ly/1l0v6p5

Best Answer

It seems that MathJax interprets \textbf as a text if enclosed inside \text. Corrected syntax: [latex]\textbf{1 calorie} \text{ = amount of energy required to raise the temperature of } \textbf{1 gram} \text { of water by 1 degree Celsius.}[/latex] works :)