Open andrew-murdza opened 1 week ago
Code:
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Change FontShape of MathField</title> <script defer src="https://unpkg.com/mathlive"></script> <script src="mathjax-config.js" defer></script> <script type="text/javascript" id="MathJax-script" defer src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-svg.js"> </script> </head> <body> <math-field id='mf' readonly>\frac{1}{3}</math-field> \(\displaystyle\frac{1}{3}\) </body> </html>
Screenshot
Run the html code
The MathLive fraction (on the left) has more vertical spacing on the bottom than the top
For the fraction to be like the one on the right.
Code:
Screenshot
Steps to Reproduce
Run the html code
Actual Behavior
The MathLive fraction (on the left) has more vertical spacing on the bottom than the top
Expected Behavior
For the fraction to be like the one on the right.