Atrium — shared contracts and the typesetting engine
    Preparing search index...

    Function prepareFloat

    • THE SEAM. One float, boxed and handed to the queue: PreparedFloat for layout/page.ts to place, or null when there is nothing to place.

      layout/vlist.ts parks the result on LayoutContext.floats under floatMarker(n) and pushes that marker into the main vertical list, so the page builder learns both what to place and where the author wrote it — which is what "here" in [h] means, and the line a float must never be placed above.

      null is returned only for a float whose material comes to nothing — \begin{figure}\end{figure}, which doc/build.ts has already warned about at its own line. It is not a silent drop: there is nothing to drop.

      Parameters

      Returns PreparedFloat | null