Thank you. It works!
On Tuesday, September 28, 2021 at 7:47:13 PM UTC+3 [email protected]
wrote:
> Symbol('x_alpha_beta') # SymPys own magic, works for pretty printer as well
> Symbol('x_{\\alpha \\beta}') # Escape the \
> Symbol(r'x_{\alpha \beta}') # Python "raw" string, no need to escape
>
> BR Oscar
>
>
> Den tis 28 sep. 2021 kl 16:15 skrev Paul Royik <[email protected]>:
>
>> I'm trying to create a symbol, where both alpha and beta are in subscript.
>> Symbol('x_{\alpha \beta}') doesn't work.
>>
>> --
>> 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/7912cef5-b505-4dd7-b2ee-0451a1fbd2c6n%40googlegroups.com
>>
>> <https://groups.google.com/d/msgid/sympy/7912cef5-b505-4dd7-b2ee-0451a1fbd2c6n%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>
--
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/18c99f45-a827-45de-9784-268fea57a04an%40googlegroups.com.