You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In a notebook cell one can write:
%latex
Hello
\ [
x=f(x)
\ ]
and an image appear with perfect math notation. (not jsmath)
What is the sage command that does the same receiving a string ? Something like latexrender(r"Hello \ [x=f(x)\ ]")
Of course, this requires some import statement and the raw string. We should be able to make a shortcut for this; the original poster's latex_render() seems appropriate, or some variant on this. We'll have to be sure to document the raw string issue.
I'm putting this under user interface because it improves it, but really it's perhaps graphics? Well...
At ask.sagemath, we see the question of
The best answer was
from John Palmieri.
Of course, this requires some import statement and the raw string. We should be able to make a shortcut for this; the original poster's
latex_render()
seems appropriate, or some variant on this. We'll have to be sure to document the raw string issue.I'm putting this under user interface because it improves it, but really it's perhaps graphics? Well...
CC: @jhpalmieri @jasongrout
Component: user interface
Keywords: latex command line notebook
Issue created by migration from https://trac.sagemath.org/ticket/10592
The text was updated successfully, but these errors were encountered: