Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!sdd.hp.com!spool.mu.edu!snorkelwacker.mit.edu!bloom-beacon!eru!hagbard!sunic!chalmers.se!cs.chalmers.se!animal!jeffrey From: jeffrey@animal.cs.chalmers.se (Alan Jeffrey) Newsgroups: comp.text.tex Subject: Limit subscripts and nested hboxes Message-ID: <4432@undis.cs.chalmers.se> Date: 25 Apr 91 13:08:49 GMT Sender: news@cs.chalmers.se Organization: Dept. of CS, Chalmers, Sweden Lines: 51 Some odd behaviour running under TeX3.0... If I create a box, containing something big (like say a 2in rule and a letter X), but then remove it's depth and height: \setbox0\hbox{\vrule height 1in depth 1in X} \dp0=0pt \ht0=0pt I can then use this as a superscript in display math mode, for example $\displaystyle\sin^{\usebox0}$ and I get | | X sin| } this is the height of the enclosing box | as you would expect. But if I use a mathop with \limits (for example \sum, I get | } | } X } this is the height of the enclosing box | } | } SUM } that is, {\em the height and depth of \box0 have been restored\/}! If I replace \usebox0 with \hbox{\usebox0} then I get what you'd expect, that is: | | X SUM } this is the height of the enclosing box | Okay, I give in, I'm confused. Why does TeX remove one layer of box information when it sets the subscripts and superscripts of \mathop's with \limits? Cheers, Alan. Alan Jeffrey Tel: +46 31 72 10 98 jeffrey@cs.chalmers.se Department of Computer Sciences, Chalmers University, Gothenburg, Sweden