Article View: comp.text
Article #5839Re: difficult equation in LaTeX
From: Ken McGlothlen
Date: Sat, 11 Feb 1989 03:14
Date: Sat, 11 Feb 1989 03:14
34 lines
1766 bytes
1766 bytes
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
Technical Details
Message-ID:
<847@blake.acs.washington.edu>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!cornell!uw-beaver!blake!mcglkReferences:
<134@np1.hep.nl>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!cornell!uw-beaver!blake!mcglk From: mcglk@blake.acs.washington.edu (Ken McGlothlen) Newsgroups: comp.text Subject: Re: difficult equation in LaTeX Keywords: LaTeX Message-ID: <847@blake.acs.washington.edu> Date: 11 Feb 89 03:14:55 GMT References: <134@np1.hep.nl> Reply-To: mcglk@blake.acs.washington.edu (Ken McGlothlen) Organization: Me? Organized? Lines: 34