12

In Einstein's summation convention, it is sometimes necessary to have subscript and superscript indices in a certain order. If you just use ^ and _, these indices would appear on top of one another, e.g. \Lambda^\mu_\nu. How do I escape this?


(The following is an answer to the question, but I cannot add an answer as the question is closed.)

To escape this, you can type

\Lambda{}^\mu{}_\nu

The first {} is necessary to get the same vertical positioning for the first super-/subscript as for all the others.

Couldn't find this on the web, so I figured I'd post it myself.

dremodaris
  • 464
  • 4
  • 13
  • 14
    Welcome to TeX.SX! The package tensor should help. – egreg Dec 23 '13 at 19:05
  • 4
    This is almost, but not quite a question. Could you maybe ask if there is an idiomatic way to do this in either Plain Tex or Latex? – Charles Stewart Dec 23 '13 at 19:32
  • My question was: How can you put super- and subscripts in order, rather than on top of one another? I couldn't find the answer on the web, but I found it by experimenting, and I decided it would be useful to put the answer on the web myself. So the answer is effectively in the posted question. Is this considered a problem? – dremodaris Jan 17 '14 at 21:15
  • 2
    Consider reopening. He's trying to do this: https://en.wikipedia.org/wiki/Mixed_tensor#Changing_the_tensor_type – Neil G Nov 27 '18 at 00:57
  • This question should be reopened, because the answer I'm giving above is useful and is not an answer to the "duplicate" question. – dremodaris Oct 03 '21 at 18:26
  • 1
    @dremodaris You should post your answer at Is there a way to stop the vertical spread of multiple super- and sub-scripts? I think. Basically $x^2{}_6{}^4{}_8$ for the asked case. – Archange Oct 03 '21 at 20:26
  • @Archange The approach using curly braces is explicitly rejected in that question, because the OP there especially cares about the vertical positioning. – dremodaris Oct 04 '21 at 20:27
  • Yes, but I could not see a difference in vertical positioning with any of the symbols they mentioned (x X or Π). – Archange Oct 04 '21 at 21:46
  • I've posted an answer there. However, they ask a different question. Their question is about vertical positioning, whereas my question is about horizontal positioning and specifically the Einstein summation convention. They are obviously related, but they are not the same question. Please consider reopening. – dremodaris Jan 03 '22 at 18:26

0 Answers0