Almost every object in sage can return latex output. I think that the answer is no, but is there anyway to tell whether the latex output should be typeset in math-mode or as plain text?
For example, sage: latex(CyclicPermutationGroup(5).character_table()) \left(\begin{array}{rrrrr} 1 & 1 & 1 & 1 & 1 \\ 1 & \zeta_{5} & \zeta_{5}^{2} & \zeta_{5}^{3} & -\zeta_{5}^{3} - \zeta_{5}^{2} - \zeta_{5} - 1 \\ 1 & \zeta_{5}^{2} & -\zeta_{5}^{3} - \zeta_{5}^{2} - \zeta_{5} - 1 & \zeta_{5} & \zeta_{5}^{3} \\ 1 & \zeta_{5}^{3} & \zeta_{5} & -\zeta_{5}^{3} - \zeta_{5}^{2} - \zeta_{5} - 1 & \zeta_{5}^{2} \\ 1 & -\zeta_{5}^{3} - \zeta_{5}^{2} - \zeta_{5} - 1 & \zeta_{5}^{3} & \zeta_{5}^{2} & \zeta_{5} \end{array}\right) Here the output should clearly be typset in math-mode but as far as I can see python doesn't know this. The reason that I am asking is that I am writing a new output routine where it would be useful to know this information. Cheers, Andrew -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To post to this group, send email to sage-devel@googlegroups.com. To unsubscribe from this group, send email to sage-devel+unsubscr...@googlegroups.com. Visit this group at http://groups.google.com/group/sage-devel?hl=en.