\sage inside \[\text{ $ $}\]

33 views
Skip to first unread message

Harald Helfgott

unread,
Mar 18, 2018, 2:26:53 PM3/18/18
to sage-support
At some point I was getting inexplicable results while using SageTex- my variables were all being shifted by one (variable b taking the value of variable a, variable c taking the value of variable b, and worse). Then I realized that the problem was that I had some code of the following form:

\[\begin{cases}  ...  &\text{if $x\geq \sage{xbound}$}\\...
\end{cases}\]

Is this a known feature/bug?

Dima Pasechnik

unread,
Mar 18, 2018, 3:55:46 PM3/18/18
to sage-support
It would be great if you posted a concrete code fragment, explaining what it ought to do, and what it actually does.
Thanks! 
Reply all
Reply to author
Forward
0 new messages