Ask Your Question

how to render a latex string in a notebook cell

asked 2020-07-06 17:03:24 +0200

jbaxter gravatar image

updated 2020-07-12 02:58:34 +0200

slelievre gravatar image

Say we have a string variable s = "some context: $x = 3$". The string s is rather simple latex, but is not just an equation. I would like to display the typeset version of s in a notebook cell, without having to retype the string by hand in the cell. Thanks for any help.

edit retag flag offensive close merge delete


You may be interested in answers to similar questions like this one, this one, this one or this one.

Juanjo gravatar imageJuanjo ( 2020-07-08 12:33:35 +0200 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2020-07-06 22:51:08 +0200

rburing gravatar image

You can do:

edit flag offensive delete link more


that worked! thank you much!

jbaxter gravatar imagejbaxter ( 2020-07-09 01:14:43 +0200 )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


Asked: 2020-07-06 17:03:24 +0200

Seen: 585 times

Last updated: Jul 12 '20