## LaTeX forum ⇒ Graphics, Figures & Tables ⇒ Making Table Full Width For Two Column Template

Information and discussion about graphics, figures & tables in LaTeX documents.
fk4517
Posts: 2
Joined: Mon Jul 27, 2020 11:42 pm

### Making Table Full Width For Two Column Template

Hi,

I am using this template:

https://www.latextemplates.com/template/stylish-article

Could someone please kindly explain how I can make tables span two columns? I can't seem to get it to work properly with:

\begin{tabu} to \textwidth {XXXX}   \toprule   xx & 1 & 2 & 3 \\   \bottomrule\end{tabu}

Bartman
Posts: 96
Joined: Fri Jan 03, 2020 2:39 pm
tabu is no longer maintained. If that bothers you, it is better to use a different environment, such as tabularx.

Use the starred variant of the table environment to span the table across both columns.

fk4517
Posts: 2
Joined: Mon Jul 27, 2020 11:42 pm
Bartman wrote:tabu is no longer maintained. If that bothers you, it is better to use a different environment, such as tabularx.

Use the starred variant of the table environment to span the table across both columns.

Thanks Bartman,

I tried the following:

\begin{table*}[H]    table1...\end{table*}

However that did not work. Am I doing something wrong here?

Bartman
Posts: 96
Joined: Fri Jan 03, 2020 2:39 pm
I don't get any output of the table when using option H of the float package.

You may be interested in the stfloats and cuted packages. In the latter case table* is omitted and you need the command \captionof of the caption package that is already loaded by the document class used.