Skip to content

Commit

Permalink
Add single dollar to MathJax config
Browse files Browse the repository at this point in the history
  • Loading branch information
mgeier committed Oct 4, 2018
1 parent 670f86b commit d4c7403
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions doc/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,16 @@
\vfil\penalty-1\vfilneg
"""

# Work-around until https://github.com/sphinx-doc/sphinx/pull/5504 is done:
mathjax_config = {
'tex2jax': {
'inlineMath': [['$', '$'], ['\\(', '\\)']],
'processEscapes': True,
'ignoreClass': '.*',
'processClass': 'math',
}
}

# -- The settings below this line are not specific to nbsphinx ------------

master_doc = 'index'
Expand Down

0 comments on commit d4c7403

Please sign in to comment.