Interesting.  

Function('V_{C}')

returns a string (V_{C})

Function('V_{C}')(t)

returns proper latex.  It must be how it's handled in the printer...

On Sunday, March 29, 2015 at 10:13:36 PM UTC-7, G B wrote:
>
> Hi--
>
> I can give a symbol a latex representation with:
>
> x1=symbols(r'x_{1}')
>
> How do I create a function with a latex representation?
>
> Ic=symbols(r'I_{C}',cls=Function)
> Ic=Function(r'I_{C}')
>
> Don't seem to work... They pretty print as strings.
>
> 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.
To post to this group, send email to sympy@googlegroups.com.
Visit this group at http://groups.google.com/group/sympy.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sympy/02276aae-b6ae-4518-a559-1cdf97c87b01%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to