I am using the package linguex (for 'linguistic examples') to number the examples in my text, using its command \ex.
I am creating a table that I am numbering with this command \ex.:
\ex. \label{my_table}
\begin{tabular}[t]{l l l l}
Row 1 & Row 2 & Row 3 & Row 4\\
etc.
\end{tabular}
The option [t] for \begin{tabular} is necessary to have the example number be on the same line as the first row in the table.
My table is rather large, so I want to make it a float, so I embed the section above within a {table} environment. When I do this, however, the example number for my table is separated from the table, i.e. there is a page break between them. How can I prevent this?
\ex. \label{my_table}
\begin{table}
\begin{tabular}[t]{l l l l}
Row 1 & Row 2 & Row 3 & Row 4\\
etc.
\end{tabular}
\end{table}
