Ask Your Question
1

Latex (?)--Riemann tensor overflow

asked 2020-09-03 23:45:04 +0100

rrogers gravatar image

updated 2020-09-04 00:53:02 +0100

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 ?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
2

answered 2020-09-04 10:06:33 +0100

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...

edit flag offensive delete link more

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 ( 2020-09-04 14:05:53 +0100 )edit

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 ( 2020-09-05 12:19:06 +0100 )edit

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: 2020-09-03 23:45:04 +0100

Seen: 745 times

Last updated: Sep 04 '20