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. http://en.wikipedia.org/wiki/Phonetic_Extensions perhaps. As for merging 2 greek symbols in the absence of an LaTeX type wizardry, I will do without. I will look at the pprint cod to try to glean the mark characters sucha as _ . Thanks Scott On Nov 25, 6:17 pm, "Ondrej Certik" <[EMAIL PROTECTED]> 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 omega_theta , omege subscript theta . > > Do you know the UTF-8 code form _theta (subscript) ? If so, then it > can be implemented. The problem is that unicode is not well suited for > subscripts and superscripts -- one should be using other means to > achieve that, e.g. escape sequences in terminals and patching all > major terminals to support sub/superscripts. > > Ondra --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "sympy" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sympy?hl=en -~----------~----~----~----~------~----~------~--~---
