[sage-support] Re: Displaying Sagetex code

When you wrote:

> --------
> \begin{sageblock}
> a = 140
> b = 10
> res = a*b
> \end{sageblock}
>
> It is easily seen that our constant is $\sage{res}$.
> -------------
>
> I want to display:
>
> It is easily seen that our constant is $10^{\text{\texttt{res}}}$.

did you mean you wanted it to display

It is easily seen that our constant is $1400^{\text{\texttt{res}}}$.

where "1400" is the value of "res" and "\texttt{res}" is its "label"?

--
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