Csaba Dunai
Csaba Dunai

Reputation: 100

How to prevent floats form moving between a paragraph and an align?

In my document I talk about a calculation and then I do all the equations. So I would like to have those next to each other. Unfortunately some floats really make life difficult.

I have the folowing latex code:

  [Some Paragraph]

    \begin{table}
      ... This is a small table (4rows)
    \end{table}

    \begin{table}
      ... This table spans almost a page
    \end{table}

    \begin{figure}
      ... This figure spans half a page
    \end{figure}


    %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
    THIS PARAGRAP REFERS TO THE CALCULATION BELOW AND SHOULD BE FOLLOWED IMMEDIATELY BY THE CALCULATION.
    %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

    \begin{align*}
      ... This is the CALCULATION.
    \end{align*}

The result is that all the tables and figures slide between the PARAGRAPH and the CALCULATION.

I could fix every Figure with the [H] parameter but that's not what I really want to do. Instead I want to prevent anything from sliding between my PARAGRAPH and my CALCULATION

How is it possible to prevent floats from getting between a paragraph and an align?

Upvotes: 1

Views: 506

Answers (0)

Related Questions