Ask Your Question
1

Latex (?)--Riemann tensor overflow

asked 4 years ago

rrogers gravatar image

updated 4 years ago

slelievre gravatar image

While running Kerr_Schild.ipynb

I get a bad output; not necessarily incorrect. I copied the TeX to a LaTeX GUI editor and it looks right. When the last expression is evaluated it outputs TeX instead of LaTeX image. It is very long so it might just be a converter problem; that I can ignore. After the leadin the expression:

g.riemann().display()

Well I can't attach a trimmed file but I can provide a Dropbox link if needed. The above expression was added just after the "Kerr Metric" paragraph; about line 13. Is this my machine or LaTeX or Jupyter ?

Preview: (hide)

1 Answer

Sort by » oldest newest most voted
2

answered 4 years ago

eric_g gravatar image

Indeed, for very long expressions, Jupyter does not display LaTeX via MathJax, but displays instead the LaTeX source. There might be a MathJax option to circumvent this...

Preview: (hide)
link

Comments

Thanks, I was just wondering if this was a bad sign of a coding error :) Turns out I can always drop it into Lyx; although it does run off the "page" :)

rrogers gravatar imagerrogers ( 4 years ago )

Among the results of

is a mention of a "mathjax-safe" extension, not sure if that is at play here.

See also comment 16 at

pointing to some discussion of Jupyter Notebook shipping "its own (smaller) version of MathJax".

slelievre gravatar imageslelievre ( 4 years ago )

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 4 years ago

Seen: 906 times

Last updated: Sep 04 '20