I ran into a rather odd problem today, and I was wondering if it is a known issue with subfloats. I have a paper (AMS article class) in which I have several figures with subfigures and several tables, one of which (Table 6) has two subtables. I created these the usual LyX way (inserting floats inside floats), and I put the figure/table content above the caption (meaning subfigures and subtables went above the figure/table captions as well). I inserted labels in the captions and cross-references to them in the text.
All the figures and tables are correctly numbered, and all the references to subfigures in the text are correct. References to the one pair of subtables (Table 6), however, show up as Table 5a and Table 5b rather than 6a and 6b. Moving the subfloats in Table 6 under the caption fixed the problem (but necessitated my doing the same for all other floats, for stylistic consistency). It seems odd to me that subfigures (done identically) were numbered correctly when subtables were not. Is this an issue with the subfig package? Down the road I would like to revert to my normal practice of putting the content above the caption. Paul
