Skip to content

Instantly share code, notes, and snippets.

@mprat mprat/mathjax.html
Created Mar 19, 2017

What would you like to do?
Include for mathjax
<!-- Load mathjax -->
<script src=""></script>
<!-- MathJax configuration -->
<script type="text/x-mathjax-config">
tex2jax: {
inlineMath: [ ['$','$'], ["\\(","\\)"] ],
displayMath: [ ['$$','$$'], ["\\[","\\]"] ],
processEscapes: true,
processEnvironments: true
// Center justify equations in code and markdown cells. Elsewhere
// we use CSS to left justify single line equations in code cells.
displayAlign: 'center',
styles: {'.MathJax_Display': {"margin": 0}},
linebreaks: { automatic: true }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.