Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

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?

share|improve this question
2  
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

1 Answer 1

up vote 9 down vote accepted

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}
share|improve this answer
    
Yes, that's it... –  user1999 Aug 17 '11 at 17:24

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.