latex - Loading AMSmath explicitly in IPython notebook causes "[Math Processing Error]" -
i relatively new ipython notebook user , using ipython 3.2.1. upfront, apologies if did not read documentation carefully!
i trying typeset latex in notebook intended presentation. tried utilize mathjax capabilities better what's (supposedly) available default , tried incorporating other extensions come mathjax explicitly. in particular, tried getting ipython notebook load amscd.js, amssymbols.js , unicode.js through following sequence of steps:
- obtain .js files these extensions latest mathjax (v2.5) source
- add them ~/.ipython/nbextensions
- modify custom.js in ~/.ipython/profile_<mine>/static/custom appending
ipython.load_extensions("amscd")
, etc.
now, these work fine, , able typeset commutative diagrams nicely in ipython notebook. so, while @ this, decided include/load amsmath.js comes along mathjax , problematic. (to me, seems natural thing given other extensions work well!) however, attempting include amsmath.js via ipython.load_extensions("amsmath")
causes latex math in notebook display [math processing error] everywhere. here's minimal example , output , without including ipython.load_extensions("amsmath")
.
markup:
## minimal working example \\[ \delta u = f \text{ on } \omega \\]
(i totally include images here, alas, not being active participant in community here leaves me not 10 reputation!)
so, missing here? why inclusion of amsmath problematic? appreciated! thanks!
it should work without configuration. have here.
your example in markdown cell should be
(if want equation inline can use $...$)
inline equation $\delta u = f \text{ on } \omega$
(or if want equation centered in own line can use $$...$$)
$$\delta u = f \text{ on } \omega$$
the result of both snippets in same markdown cell rendered as:
how loaded?
ipython/jupyter notebook preloads mathjax extensions including extension want load. extension not ipython/jupyter extension shouldn't work if try load mathjax extension ipython/jupyter extension. see here know more how load other mathjax extensions.
Comments
Post a Comment