I have a two-column article document in which I want to place a figure spanning both columns above two (independent) tables (using tabularx), one in each column. I've followed the answer here, but it gives me tables and figures on separate pages. What am I doing wrong?
MWE:
\documentclass[twocolumn]{article}
\usepackage{mwe}
\usepackage{tabularx}
\usepackage{graphicx}
\begin{document}
\begin{figure*}
\centering
\includegraphics[width=0.5\textwidth]{example-image-a}
\end{figure*}
\begin{tabularx}{\columnwidth}{l|X}
1 & Some text\\
2 & Some more text
\end{tabularx}
\newpage
\begin{tabularx}{\columnwidth}{l|X}
3 & Some text\\
4 & Some more text
\end{tabularx}
\end{document}
