# Writing (mixed) tensors

Does anybody know about a specific package for handling tensors? Consider, for example, a contraction of the type

$g^{\alpha\beta}g^{\gamma\delta}R_{\alpha\mu\gamma\nu}=R^{\beta\;delta}_{\;\mu\;\nu}$


Handling the indices in the mixed tensor in the r.h.s. appears particularly annoying and the result is not aesthetically satisfying. Any suggestion?

-
How about the tensor package – Peter Grill Aug 17 '11 at 17:11
It may be possible to devise/construct a macro to typeset things to your liking, but that requires some more information. For instance, do you have an example of what an aesthetically satisfying/pleasing tensor handling looks like? – Werner Aug 17 '11 at 17:13
Perhaps the tensind package could be useful. – Gonzalo Medina Aug 17 '11 at 17:14
Looks great! thank you. – user1999 Aug 17 '11 at 17:17
Werner: I think the tensor package pointed by Peter is satisfying. Gonzalo, I'll take a look. Thanks. – user1999 Aug 17 '11 at 17:23

Is the result you are looking for?

\documentclass{article}
\usepackage{amsmath}
\usepackage{tensor}

\begin{document}
$g^{\alpha\beta}g^{\gamma\delta}R_{\alpha\mu\gamma\nu}=R^{\beta\;\delta}_{\;\mu\;\nu}$

$g^{\alpha\beta}g^{\gamma\delta}R_{\alpha\mu\gamma\nu} =\tensor{R}{^\beta_\mu^\delta_\nu}$
\end{document}

-
Yes, that's it... – user1999 Aug 17 '11 at 17:24