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.

Reply via email to