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 <
sympy@googlegroups.com> wrote:

> 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/mo
>>> dules/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 to sympy+unsubscr...@googlegroups.com
> <javascript:_e(%7B%7D,'cvml','sympy%2bunsubscr...@googlegroups.com');>.
> To post to this group, send email to sympy@googlegroups.com
> <javascript:_e(%7B%7D,'cvml','sympy@googlegroups.com');>.
> Visit this group at https://groups.google.com/group/sympy.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/sympy/39c194ad-c2d6-4219-825b-1e453679fbe9%40googlegroups.com
> <https://groups.google.com/d/msgid/sympy/39c194ad-c2d6-4219-825b-1e453679fbe9%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> 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 
to sympy+unsubscr...@googlegroups.com.
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 
https://groups.google.com/d/msgid/sympy/CAKgW%3D6LS5PeK0gGabuYDcVqXLKXcgX%3DsFoUTgwoy%2BeN-C1Gk%2BA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to