displaying results in latex fonts
Is there way to display results in latex fonts? Let me explain what I mean by that. Let's say I have the following expression
(y3^3)*(y2^2)*(y1^2)
I want to see the expression above in the format $y_3^3y_2^2y_1^2$.
Is there a way to do this?