Thanks obviously I have not understud the suggestion of John. ----- Mail d’origine ----- De: Samuel Lelièvre <samuel.lelie...@gmail.com> À: Sage-support <sage-support@googlegroups.com> 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"\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 """...""". More examples: LatexExpr(r"\text{there's a way } x_i =") LatexExpr(r'''\text{there's a way } y' + y" = 0''') LatexExpr(r"""\text{there's a way } y' + y" = 0""") See more on strings, also known as "text sequences", in the Python documentation for built-in types: https://docs.python.org/3/library/stdtypes.html#textseq -- 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/CAEcArF2ZmBE66XSAudqt0MOeU82yvt7ctgtoksoFyFX2JuGSZw%40mail.gmail.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/1841280528.6250938.1638296225757.JavaMail.zimbra%40univ-orleans.fr.