Thanks John. But LatexExpr(r"\text{there"'"s a way} x_i =") generate a mistake.
----- Mail d’origine ----- De: John H Palmieri <jhpalmier...@gmail.com> À: sage-support <sage-support@googlegroups.com> Envoyé: Mon, 29 Nov 2021 23:47:56 +0100 (CET) Objet: [sage-support] Re: LatexExpr Or if you need single and double quotes, delimit the string with """ or ''' (three double-quotes or three single-quotes): r"""here is "some" 'text' """ On Monday, November 29, 2021 at 11:07:21 AM UTC-8 slelievre wrote: 2021-11-29 18:05:58 UTC+1, Cyrille Piatecki: > > I often use LatexExpr(r'\text{blabla} x_i =') encapsulated > in show(). It's very easy to use but not if I need single quotes > as in "it's". Is there a way to escape the quotes? LatexExpr(r"\text{there's a way} x_i =") -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-support+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/sage-support/ce3ddb95-05d2-46ae-9bfa-e4253527a997n%40googlegroups.com. -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-support+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/sage-support/1950007382.6200643.1638294382727.JavaMail.zimbra%40univ-orleans.fr.