Superscript of \sum cannot be rendered properly
Created by: memakura
When I use \sum_{i=1}^{n} x_i
without other equations, it seems the superscript n
cannot be rendered properly. (n
becomes a subscript together with i=1
.)
But when I use the equation with other symbol, such as \int_a^b
, it works.
<!DOCTYPE html>
<html lang="en-US">
<head>
<script async src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-chtml.js" id="MathJax-script"></script>
<!-- <script async src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.6/MathJax.js?config=TeX-AMS_CHTML"></script> -->
</head>
<body>
<p>When I use only this line, the superscript in \(\sum_{i=1}^{n} x_i\) does not work.</p>
<!-- <p>When I use only this line, the superscript in \(\sum_{i=1}^{n} x_i, \int_a^b\) works.</p> -->
<!-- <p>\(\int_a^b\) has no problem.</p> -->
</body>
</html>