[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

[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

[sage-support] LatexExpr

2021-11-29 Thread 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 one cote as in "it's". Is there a way to escape the cote ? Thanks -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe

Re: [sage-support] Re: Constrained optimization with strange result.

2021-11-29 Thread cyrille.piate...@univ-orleans.fr
Thanks Emmanuel for your precious answer. But It generates some few new questions : - is there a place in the documentation where I can find the information on `solve()` and mainly its options ?- if I understand clearly z_{6497} is an integer but how to fix it to zero --- when the number change

[sage-support] Re: Constrained optimization with strange result.

2021-11-29 Thread Emmanuel Charpentier
Variables of the form z_ are *integer* variables created by Maxima, which attempts to give you *also* the complex roots, if any, thus ignoring the assumptions on x, y and l. Note that : sage: solve(FOC[0], x) --- [