Imagine an electromagnet with two pole faces, one flat (N) and one pointed (S). If you put a diamagnet in between them, I know that it will be attracted to the high-field region (i.e. the S pole where the field lines are more concentrated). On the other hand, they always say that diamagnets will have an induced moment that cancels the field inside of them. That would mean that the diamagnet in this example could be viewed as a dipole, with its N pole closer to the pointed S pole of the electromagnet, and with its S pole closer to the flat N pole of the external magnet. I would, from this analysis, then expect my diamagnet to be attracted to both poles of the electromagnet, but more so to the pole with the higher field: the S pole. That is paramagnetic behavior, and obviously this is completely wrong. What am I missing?