sample-tex.html (698B)
1 <!DOCTYPE html> 2 <html> 3 <head> 4 <title>MathJax TeX Test Page</title> 5 <!-- Copyright (c) 2010-2015 The MathJax Consortium --> 6 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> 7 <meta http-equiv="X-UA-Compatible" content="IE=edge" /> 8 <meta name="viewport" content="width=device-width, initial-scale=1"> 9 10 <script type="text/x-mathjax-config"> 11 MathJax.Hub.Config({ 12 tex2jax: {inlineMath: [["$","$"],["\\(","\\)"]]} 13 }); 14 </script> 15 <script type="text/javascript" src="../MathJax.js?config=TeX-AMS_HTML-full"></script> 16 17 </head> 18 <body> 19 20 <p> 21 When $a \ne 0$, there are two solutions to \(ax^2 + bx + c = 0\) and they are 22 $$x = {-b \pm \sqrt{b^2-4ac} \over 2a}.$$ 23 </p> 24 25 </body> 26 </html>