Herbert Voss <[EMAIL PROTECTED]> writes: > this seems to be a bug in preview.sty. > the relevant latex code is > > \begin{eqnarray} > y & = & d\label{eq:2}\\ > y & = & cx+d\\ > y & = & bx^{2}+cx+d\\ > y & = & ax^{3}+bx^{2}+cx+d\label{eq:5} > \end{eqnarray}
It's not a bug, it is a feature (of course, of course, yeah sure, everything you say, boo, hiss). Ok, here is the gist: \label can be used in a host of different circumstances (figures, tables, equations...). preview.sty just stacks the labels it finds in a preview and places them at the bottom right of the preview. In this case, the stacking corresponds too perfectly visually with the actual equations. I'll make the labels smaller in the next release; at least they will not line up as perfectly as they do now. AMSLaTeX has a different way of placing equation labels. If you use AMSLaTeX's math environments (which are infinitely preferable to the basic LaTeX ones), the labels will be arranged corresponding to the actual equations instead of the overall preview box. Personally, I am not too much of a fan of the showlabels option, and this particular problem (which only occurs when not using the AMSLaTeX environments) is not going to get the necessary time and attention before getting the next release out. If anybody wants to try his hands at it, the code in the standard package "showkeys" might or might not give pointers about how to find out the labels. Note that this package does not work with preview.sty since it does not impact bounding boxes, and so the material it produces gets cut off. -- David Kastrup, Kriemhildstr. 15, 44793 Bochum Email: [EMAIL PROTECTED]