I am writng a paper with the elsarticle
class and I want to span a table in the two column mode over the whole textwidth (so to say interrupt the two column mode for the table, and afterwards continue with the one column mode).
I would like to wrap the text around, however the table always moves to the middle of the next page.
I scanned the internet, but I did not manage to solve my problem. I just want to include a table at a certain point, and when I type text before that table, it should be filled on both 2 columns before on that page and if I write text behind that table it should appear within the two columns afterwards.
I would be very thankful for any help.
\documentclass[a4paper,10pt,3p,twocolumn]{elsarticle}
\usepackage{lineno,hyperref}
\modulolinenumbers[5] %Show line numbers
% Added packages
\usepackage{romannum}
\usepackage{amsmath}
\usepackage{siunitx}
\usepackage{graphicx}
\graphicspath{{images/} }
\usepackage{tabu}
\usepackage{xltabular}
\usepackage{booktabs,tabularx}
\usepackage{pgfplots}
\usepackage{boldline}
\usepackage{epstopdf}
\usepackage{multirow}
\usepackage{bm}
\usepackage{enumitem}
\usepackage{float}
\usepackage{wrapfig}
\usepackage{subfigure}
\usepackage{xcolor}
\usepackage{array}
\usepackage[utf8]{inputenc}
\usepackage{booktabs,tabularx}
\newcolumntype{Y}{>{\centering\arraybackslash}X}
% Added packages
\begin{document}
Some text, tables, figures etc.
\end{document}
Best Answer
table*
is working fine, as you are not provided anyMWE
, I've taken my own, please refer the tags:EDIT