I'm trying to follow a book that uses the variable $x$ for dimension in cartesian coordinates and $x'$ for the polar coordinates. I'd like to use this typesetting in my Mathematica notebook so I don't have to mentally convert.
Instead of using $r$ and $\theta$, how would you typeset something like:$$mat=\begin{bmatrix}cos x'^2 & -x'^1 sin x'^2 \\sin x'^2 & x'^1 cos x'^2\end{bmatrix}$$Where $x'^1$ is used in the place of $r$ and $x'^2$ is used in the place of $\theta$? Is it practical to work with this kind of typesetting in Mathematica?