Ask Your Question
1

Latex (?)--Riemann tensor overflow

asked 2020-09-03 16:45:04 -0600

rrogers gravatar image

updated 2020-09-03 17:53:02 -0600

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 03:06:33 -0600

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 07:05:53 -0600 )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 05:19:06 -0600 )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 16:45:04 -0600

Seen: 49 times

Last updated: Sep 04