MathJax just added ASCIIMath support, and I think it'd be great to support it as an option, alongside regular \$\LaTeX\$-based MathJax.

In many posts (such as this one) people forget to or are too lazy to properly format units:

What we see: \$5 kg\$ (\$5 kg\$)

What we should see (pretty!): \$5~\mathrm{kg}\$ (\$5~\mathrm{kg}\$).

In ASCIIMath, you can use quotation marks ("") to delimit roman text, so the properly formatted variant becomes \`5\ "kg"`.

  • \$\begingroup\$ Is it also lighter? anyway in my defense, I didn't know how to format units :) \$\endgroup\$
    – clabacchio
    Mar 21 '12 at 6:59
  • \$\begingroup\$ :) I wasn't bashing you, I just couldn't find another example quickly enough. \$\endgroup\$ Mar 22 '12 at 6:11
  • \$\begingroup\$ But i'm not the poster, just one of those who make the mistake :) \$\endgroup\$
    – clabacchio
    Mar 22 '12 at 6:56
  • \$\begingroup\$ That's what I get for doing two things at the same time. \$\endgroup\$ Mar 22 '12 at 18:57

You must log in to answer this question.

Browse other questions tagged .