Wrapping a figure seems to me like a basic feature that is prevalent enough. Why isn't it added to the mainstream latex?
This feature seems to involve enough complexity such that a mere package cannot handle adequately. Issues for example:
Two floating wrapfigures in a row: Two floating wrapfigures in a row
Incorrect figure numbering using wrapfigure: Incorrect figure numbering using wrapfigure , which sounds like an issue that old latex compilers had (with figures), which was resolved at the time with
\RequirePackage{fixltx2e}
.
figure
environment or\section
command either, they are defined in class files such asarticle
.