Comment #8 on issue 1477 by Toon.Verstraelen: Printing with double  
subscripts
http://code.google.com/p/sympy/issues/detail?id=1477

Should not be too difficult. There will be a lot of common code, and this  
should be
put in a separate function. Something like split_super_sub. I would suggest  
this:

>>> Printer.split_super_sub(self, "a^2_4_3")
('a', ['2'], ['4', '3'])

This can be used by the latex printer and the pretty printer. It also  
ensures that
the convention for sub and super scripts is the same for all printers. I'm  
just not
100% happy with the '^'-sign as a convention. It will not give nice C code  
with the C
code printer. Any suggestions?


--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"sympy-issues" group.
To post to this group, send email to sympy-issues@googlegroups.com
To unsubscribe from this group, send email to 
sympy-issues+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sympy-issues?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to