My goal is to create code that displays various mathematical formulas. The formula I am focusing on right now is for the mean (average) and it currently looks like this: ∑n⁄n:
<span class="frac"><sup>∑n</sup><span>⁄</span><sub>n</sub></span>
However, I am not satisfied with how it looks. I want the line to be horizontal with text above and below it.
Does anyone have suggestions on how to achieve this using only HTML, JS, jQuery, and CSS? I attempted to use MathJax, but unfortunately, it loads and then disappears for some reason...