Last active
August 29, 2015 14:13
-
-
Save pkra/bf36d7d8f7b347714e25 to your computer and use it in GitHub Desktop.
MathJax SVG blacker=1 test
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<title>SVG blacker=1 test</title> | |
<script type="text/x-mathjax-config"> | |
MathJax.Hub.Config({ | |
jax: ["input/MathML","output/SVG"], | |
extensions: ["mml2jax.js","MathEvents.js"], | |
SVG: { | |
blacker: 1, | |
}, | |
messageStyle: "none" | |
}); | |
</script> | |
<script src="//cdn.mathjax.org/mathjax/latest/MathJax.js"></script> | |
</head> | |
<body> | |
<h1>SVG blacker=1 test</h1> | |
<p> | |
When | |
<math xmlns="http://www.w3.org/1998/Math/MathML"> | |
<mi>a</mi><mo>≠</mo><mn>0</mn> | |
</math>, | |
there are two solutions to | |
<math xmlns="http://www.w3.org/1998/Math/MathML"> | |
<mi>a</mi><msup><mi>x</mi><mn>2</mn></msup> | |
<mo>+</mo> <mi>b</mi><mi>x</mi> | |
<mo>+</mo> <mi>c</mi> <mo>=</mo> <mn>0</mn> | |
</math> | |
and they are | |
<math xmlns="http://www.w3.org/1998/Math/MathML" display="block"> | |
<mi>x</mi> <mo>=</mo> | |
<mrow> | |
<mfrac> | |
<mrow> | |
<mo>−</mo> | |
<mi>b</mi> | |
<mo>±</mo> | |
<msqrt> | |
<msup><mi>b</mi><mn>2</mn></msup> | |
<mo>−</mo> | |
<mn>4</mn><mi>a</mi><mi>c</mi> | |
</msqrt> | |
</mrow> | |
<mrow> <mn>2</mn><mi>a</mi> </mrow> | |
</mfrac> | |
</mrow> | |
<mtext>.</mtext> | |
</math> | |
</p> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment