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

Thank you for your reply, though my issue was more to combine Greek and
Latin letters like this: Δa.
After some experimenting I have found it  to work with this:
da= sympy.symbols(r'\Delta\ a')
Am Sonntag, 18. September 2016 20:20:03 UTC+2 schrieb Aaron Meurer:
>
> To create a symbol with spaces you have to use the Symbol() constructor,
> not symbols().
>
> Aaron Meurer
>
> On Sunday, September 18, 2016, 'Finn Krein' via sympy <
>
>> 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
>> To post to this group, send email to sympy@googlegroups.com.
>> Visit this group at https://groups.google.com/group/sympy.
>> To view this discussion on the web visit
>>
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>

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