[sympy] Re: pprint a Symbol as merged greek letters (ie variation of theta)

2008-11-26 Thread Ondrej Certik
On Wed, Nov 26, 2008 at 2:11 AM, Scott [EMAIL PROTECTED] wrote: I'll give your extended latex printer a go. My goal is in the theme of making pprint prettier and being able to have my script output match the conventions of the people I work with. Yes, exactly. Please send us the code of

[sympy] Re: pprint a Symbol as merged greek letters (ie variation of theta)

2008-11-25 Thread Ondrej Certik
On Tue, Nov 25, 2008 at 3:44 PM, Scott [EMAIL PROTECTED] wrote: How can i create one symbol such that the pprint and/or latex output will be merged special characters? What is the X such that: x= symbol('X') pprint(x) produce standard output equivilent that looks like$ \delta \theta_1 $

[sympy] Re: pprint a Symbol as merged greek letters (ie variation of theta)

2008-11-25 Thread Scott
I meant deltatheta_1 or like \delta\theta_1 in latex and also omega_theta , omege subscript theta . Thanks Scott On Nov 25, 12:29 pm, Ondrej Certik [EMAIL PROTECTED] wrote: On Tue, Nov 25, 2008 at 3:44 PM, Scott [EMAIL PROTECTED] wrote: How can i create one symbol such that the pprint

[sympy] Re: pprint a Symbol as merged greek letters (ie variation of theta)

2008-11-25 Thread Ondrej Certik
2008/11/25 Scott [EMAIL PROTECTED]: I meant deltatheta_1 or like \delta\theta_1 in latex I see. Is it just one Symbol? If so, then sympy currently cannot do that, but it can certainly be implemented quite easily by providing a custom Printer. and also omega_theta , omege subscript theta .

[sympy] Re: pprint a Symbol as merged greek letters (ie variation of theta)

2008-11-25 Thread Alan Bromborsky
Ondrej Certik wrote: 2008/11/25 Scott [EMAIL PROTECTED]: I meant deltatheta_1 or like \delta\theta_1 in latex I see. Is it just one Symbol? If so, then sympy currently cannot do that, but it can certainly be implemented quite easily by providing a custom Printer. and also

[sympy] Re: pprint a Symbol as merged greek letters (ie variation of theta)

2008-11-25 Thread Scott
I did not realize that the subscript characters come from a pool than the primary characters. pprint uses a limited subset of unicode and subscripts available in utf-8 format are limited compared to the tex markup language. My solution will be to choose from the list of available subscripts.

[sympy] Re: pprint a Symbol as merged greek letters (ie variation of theta)

2008-11-25 Thread Scott
I'll give your extended latex printer a go. My goal is in the theme of making pprint prettier and being able to have my script output match the conventions of the people I work with. Thanks On Nov 25, 6:54 pm, Alan Bromborsky [EMAIL PROTECTED] wrote: Ondrej Certik wrote: 2008/11/25 Scott