add tag
Trevor
I'm writing a document, and have an equation followed by a table followed by an equation. I would like to format the document so that the first equation is directly followed by the table which is directly followed by the second equation, and that they all appear on the same page. I'm wondering what the best way to do that is.

In reality my table has 25 rows and my equations have several lines, but here is a minimal example:
```
\documentclass{article}

\usepackage{amsmath}
\usepackage{tabularray}

\begin{document}

\begin{align}\label{eq1}
\begin{aligned}
a &= b \\
c &= d
\end{aligned}
\end{align}

\begin{table}
\centering
\begin{tblr}{|c|c|}
e & f \\
g & h
\end{tblr}
\caption{My table}\label{tab1}
\end{table}

\begin{align}\label{eq2}
\begin{aligned}
i &= j \\
k &= l
\end{aligned}
\end{align}

\end{document}

```

Enter question or answer id or url (and optionally further answer ids/urls from the same question) from

Separate each id/url with a space. No need to list your own answers; they will be imported automatically.