Reputation: 324
I'm trying to use the latex commands for mathjax in my html code. I have the following commands in my body tag:
\usepackage{xcolor}
\color[Hello world]{ABCDEF}
which can be seen in http://jsfiddle.net/gamea12/e6fna2bs/, but it doesn't seem to be working and is displayed as text for some reason. Can I get some help on how mathjax formatting works?
Upvotes: 0
Views: 337
Reputation: 717
You might want to try something like
$${\rm\color[rgb]{1,0,0}Some~red~math}$$
in your document body, keeping in mind that MathJax is not a complete LaTeX authoring environment, only a means to display mathematics in HTML.
Upvotes: 1