What is subst()?

Is the problem here that SymPy does not convert E1m1 into a LaTeX
string with subscripts? You can use _ in the symbol name to indicate
that part of it should be subscripted. For example

>>> latex(Symbol("E_1m1"))
'E_{1m1}'

Aaron Meurer

On Mon, Feb 10, 2020 at 11:35 AM Thomas Ligon <[email protected]> wrote:
>
> I just discovered something. Instead of symbols(str), I should be using 
> sympify(str), but that doesn't seem to change anything.
>>
>>
>>
> --
> You received this message because you are subscribed to the Google Groups 
> "sympy" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected].
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/sympy/dae77559-feca-4bba-8f09-899b24df1103%40googlegroups.com.

-- 
You received this message because you are subscribed to the Google Groups 
"sympy" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sympy/CAKgW%3D6LqX7aahME%3DZU5JroujRr3yxuO2FLu6DEWO7xp%2BrzZSiA%40mail.gmail.com.

Reply via email to