Using MathJax.js to display LaTeX equations in the browser.
Last active
October 3, 2017 14:30
-
-
Save EfratVil/f37c308dc73e35d9868d1f4bc1045757 to your computer and use it in GitHub Desktop.
LaTeX Equations
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
<html lang="en"> | |
<head> | |
<meta charset="UTF-8" /> | |
<title>Maths Equations</title> | |
<link href="https://fonts.googleapis.com/css?family=Raleway" rel="stylesheet"> | |
<style> | |
body { | |
font-size: 22px; | |
font-family: 'Raleway', sans-serif; | |
} | |
</style> | |
<script src='https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML'></script> | |
<script> | |
MathJax.Hub.Config({ | |
tex2jax: { inlineMath: [['$', '$'], ['\\(', '\\)']] } | |
}); | |
</script> | |
</head> | |
<body> | |
<h2 style="text-align:center">Multivariate Normal</h2> | |
$$ x{\sim}N(\mu,\Sigma)$$ | |
$$|2{\pi}{\Sigma}|^{-\frac{1}{2}} e^{-\frac{1}{2}(x-{\mu})^T{\Sigma}^{-1}(x-{\mu})}$$ | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment