t19@np1.hep.nl (Geert J v Oldenborgh) (02/08/89)
I have the following formula which I'd like to typeset in LaTeX. \mu s_j \delta s_i s_j Does anyone have a solution which will align the indices both horizontally and vertically? (N.B. The solution given in the LaTeX manual $\delta{}^\mu_{s_i}{}^{s_j}_{s_j}$ does not work as the second column is lifted by the descending j's. Replacing {} by \mathstrut works on some systems, but not on others). Many thanks in advance ... Geert Jan van Oldenborgh, t19@nikhefh.hep.nl
mcglk@blake.acs.washington.edu (Ken McGlothlen) (02/11/89)
In article <134@np1.hep.nl> t19@np1.hep.nl (Geert J v Oldenborgh) writes: +---------- | I have the following formula which I'd like to typeset in LaTeX. | | \mu s_j | \delta | s_i s_j | | Does anyone have a solution which will align the indices both horizontally | and vertically? (N.B. The solution given in the LaTeX manual | $\delta{}^\mu_{s_i}{}^{s_j}_{s_j}$ does not work as the second column is | lifted by the descending j's. Replacing {} by \mathstrut works on some | systems, but not on others). Many thanks in advance ... | | Geert Jan van Oldenborgh, t19@nikhefh.hep.nl +---------- I'm not sure exactly what you're asking. You want the \mu and the s_j in the top row to line up on the same baseline, the s_i and the s_j in the bottom row to line up on the same baseline, and you want the \mu and the s_i in the first column, and the s_j and s_j in the second column. Plus you want a little space between the two columns, it looks like. Weird, but I'll try my hand at it. $\delta^{\vphantom{j}\mu}_{\vphantom{j}s_i} {}^{s_j}_{s_j}$ The key thing is to put those \vphantom{j}s in; they take up no horizontal space, but create essentially a box the height and depth of the formula contained in the parameter. --Ken McGlothlen mcglk@blake.acs.washington.edu