Re: [sage-support] Re: LatexExpr

2021-11-30 Thread cyrille.piate...@univ-orleans.fr
Thanks obviously I have not understud the suggestion of John. - Mail d’origine - De: Samuel Lelièvre À: Sage-support Envoyé: Tue, 30 Nov 2021 18:59:04 +0100 (CET) Objet: Re: [sage-support] Re: LatexExpr 2021-11-30 17:46 UTC, Cyrille Piatecki: > > Thanks John. But LatexExpr(r"

Re: [sage-support] Re: LatexExpr

2021-11-30 Thread Samuel Lelièvre
2021-11-30 17:46 UTC, Cyrille Piatecki: > > Thanks John. But LatexExpr(r"\text{there"'"s a way} x_i =") > generates a mistake. John's suggestion was that a string that contains both single-quote and double-quote characters can be enclosed by tripled delimiters, using either '''...''' or """...""".

Re: [sage-support] Re: LatexExpr

2021-11-30 Thread cyrille.piate...@univ-orleans.fr
Thanks John. But LatexExpr(r"\text{there"'"s a way} x_i =") generate a mistake. - Mail d’origine - De: John H Palmieri À: sage-support Envoyé: Mon, 29 Nov 2021 23:47:56 +0100 (CET) Objet: [sage-support] Re: LatexExpr Or if you need single and double quotes

Re: [sage-support] Re: LatexExpr

2021-11-30 Thread cyrille.piate...@univ-orleans.fr
Thanks - Mail d’origine - De: John H Palmieri À: sage-support 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 sing

[sage-support] Re: LatexExpr

2021-11-29 Thread John H Palmieri
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

[sage-support] Re: LatexExpr

2021-11-29 Thread slelievre
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 messag