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}
```