# [sympy] Re: How does sympy know there are two tokens in the string "xalpha"

Hello,
I'm a beginner too. What would I use to get an \alpha x? I tried r'\alpha
x' but Spaces already have a meaning in symbol declarations so I couldn't
find a way to do it.
Thank you

Am Donnerstag, 12. März 2015 12:33:57 UTC+1 schrieb Chris Smith:
>
> Does r'x\alpha' work for you?
>
> On Wednesday, March 11, 2015 at 10:33:32 PM UTC-5, asmwarrior wrote:
>>
>> Hi, I'm a beginner of sympy, I found that using the Tex to render the
>> output of math expression is so wonderful.
>> I see on doc page here: Extended LaTeXModule for SymPy — SymPy 0.7.2
>> documentation -
>> http://docs.sympy.org/0.7.2/modules/galgebra/latex_ex/latex_ex.html
>> It shows some code which can show a x and alpha character, but the code
>> don't works under my currently 0.7.5 version of sympy, here is what I get
>> from Ipython
>> xa = sympy.symbols('xalpha')
>>
>> xa
>> Out[18]: (I attach the output as an image)
>>
>> But what I expect the is result from the page
>> http://docs.sympy.org/0.7.2/modules/galgebra/latex_ex/latex_ex.html
>>
>> So, my question is: do I need to add a special delimiter to separate
>> characters, thanks.
>>
>>
>>

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