Partly for more control of vertical white space, and partly for control with master page mapping, I've used a pairs of styles for certain types of content: FigureAnchor and FigureEnd, TableAnchor and TableEnd.
What about text insets? Any advantages to using InsetAnchor and InsetEnd?
We may not be aiming for the same thing, but while I use an :anchor style to hold table anchors and a range of :fig styles for figures – indented in a list, body text indent, page width – I quickly decided against trying to manage pairs of before/after styles. For the level of finesse I require, the table definition(s) handle the space after tables and the :figcap style (all my graphics have captions below) the space after graphics.
Text insets are a different challenge; trawl through the forum and you should be able to retrieve some useful information. I need to brush up on them myself for a new project; it's the phantom paragraph at the end of insets that bugs me most
A word on text insets, and thank-you for raising the question :-} After this morning's research and testing, I'll be using a single style for insets the same way that I do for tables.
The problem I often ran into before, reported/posted by several people, was that using a text inset introduced an (infuriating, undeletable) extra paragraph after the inset. In the worst case, this picked up a heading format and introduced blank entries in the ToC. Altogether not good!
To retrieve the full thread, search for "Unremovable added paragraph entry in text frame".