0 0 Votes

MathJax: Space in Formula

Question by Guest | 27/09/2018 at 22:18

To display formulas on my website properly formatted, I am using MathJax.

The whole thing works wonderfully and the formatted formulas are looking really good. However, now I have the problem that I want to use a space within a formula. It's about things like "Number Of Months". But MathJax always makes "NumberOfMonths" out of it and deletes spaces or does not even show them in the formula. What can I do?


Stefan Trost

Show Profile | Message
1Best Answer
1 Vote

A space is reprsented with a tilde ~ in a MathJax formula.

So just write in your formula "number~of~months" if you want to have "number of months".
28/09/2018 at 20:16

ReplyPositive Negative

Related Topics

Important Note

Please note: The contributions published on askingbox.com are contributions of users and should not substitute professional advice. They are not verified by independents and do not necessarily reflect the opinion of askingbox.com. Learn more.


Ask your own question or write your own articles on askingbox.com. How to do.