Table in Two Column

I am trying to generate a table in a two column document. However, the table also appears in the column settings. I want that table should appear in the one column settings in the float environment. The minimum working example is given below:

 \documentclass[11pt,twocolumn,conference] \usepackage[T1] \usepackage \usepackage[latin9] \usepackage[english] \usepackage[final] \usepackage \setlength \usepackage \geometry \usepackage% \usepackage \usepackage[para] \usepackage \newcolumntype<>X>% % % <-- added \usepackage%  \usepackage[flushleft] \begin \section This section is the introduction section. Here is a the text about the introduction. This section is the introduction section. Here is a the text about the introduction. This section is the introduction section. Here is a the text about the introduction. This section is the introduction section. Here is a the text about the introduction. This section is the introduction section. Here is a the text about the introduction. This section is the introduction section. Here is a the text about the introduction. This section is the introduction section. Here is a the text about the introduction. This section is the introduction section. Here is a the text about the introduction. This section is the introduction section. Here is a the text about the introduction. This section is the introduction section. Here is a the text about the introduction. This section is the introduction section. Here is a the text about the introduction. This section is the introduction section. Here is a the text about the introduction. This section is the introduction section. Here is a the text about the introduction. This section is the introduction section. Here is a the text about the introduction. This section is the introduction section. Here is a the text about the introduction. This section is the introduction section. Here is a the text about the introduction. This section is the introduction section. Here is a the text about the introduction. This section is the introduction section. Here is a the text about the introduction. \begin[!htb] \centering \footnotesize \caption \label \caption* < \footnotesize This table provides the frequencies >\begin \toprule Year & \multicolumn & Option 1 & Option 2 & Total \\ \midrule \multicolumn & 126 & 16 & 2 & 144 \\ \multicolumn & 114 & 9 & 4 & 127 \\ \multicolumn & 115 & 7 & 1 & 123 \\ \multicolumn & 114 & 6 & 4 & 124 \\ \multicolumn & 104 & 5 & 8 & 117 \\ \multicolumn & 96 & 3 & 6 & 105 \\ \multicolumn & 93 & 2 & 4 & 99 \\ \multicolumn & 93 & 2 & 2 & 97 \\ \multicolumn & 85 & 2 & 11 & 98 \\ \multicolumn & 83 & 0 & 7 & 90 \\ \multicolumn & 74 & 0 & 12 & 86 \\ \midrule Total & 1,097 & 52 & 61 & 1,210 \\ \bottomrule \end \end This section is the introduction section. Here is a the text about the introduction. This section is the introduction section. Here is a the text about the introduction. This section is the introduction section. Here is a the text about the introduction.This section is the introduction section. Here is a the text about the introduction. This section is the introduction section. Here is a the text about the introduction. This section is the introduction section. Here is a the text about the introduction. This section is the introduction section. Here is a the text about the introduction. This section is the introduction section. Here is a the text about the introduction. This section is the introduction section. Here is a the text about the introduction. This section is the introduction section. Here is a the text about the introduction. This section is the introduction section. Here is a the text about the introduction. This section is the introduction section. Here is a the text about the introduction. This section is the introduction section. Here is a the text about the introduction. This section is the introduction section. Here is a the text about the introduction. This section is the introduction section. Here is a the text about the introduction. This section is the introduction section. Here is a the text about the introduction. This section is the introduction section. Here is a the text about the introduction. \end
asked Dec 23, 2016 at 13:54 Ahmed Arif Ahmed Arif 1,385 2 2 gold badges 17 17 silver badges 23 23 bronze badges You want your table to be full text width? Commented Dec 23, 2016 at 14:00

your table perfectly fit in one column. what is the problem? beside unnecessary \multicolumn<1> <. >. i can't find anything wrong.

Commented Dec 23, 2016 at 14:50

2 Answers 2

I'm not sure I understand your requirements, but it looks to me like you want a table that occupies the width of a full column. If this is the case, you should look into using a tabular* environment with a width set to \columnwidth . Oh, and don't use both a \caption and a \caption* directive for one and the same figure -- it's abuse of notation, if not something worse.

enter image description here

\documentclass[11pt,twocolumn,conference] \usepackage[T1] \usepackage \usepackage[latin9] \usepackage[english] \usepackage[final] \usepackage \setlength \usepackage \geometry \usepackage% \usepackage \usepackage[para] \usepackage \newcolumntype<>X>% % % <-- added \usepackage%  \usepackage[flushleft] \flushbottom \begin \section This section is the introduction section. Here is a the text about the introduction. This section is the introduction section. Here is a the text about the introduction. This section is the introduction section. Here is a the text about the introduction. This section is the introduction section. Here is a the text about the introduction. This section is the introduction section. Here is a the text about the introduction. This section is the introduction section. Here is a the text about the introduction. This section is the introduction section. Here is a the text about the introduction. This section is the introduction section. Here is a the text about the introduction. This section is the introduction section. Here is a the text about the introduction. This section is the introduction section. Here is a the text about the introduction. This section is the introduction section. Here is a the text about the introduction. This section is the introduction section. Here is a the text about the introduction. This section is the introduction section. Here is a the text about the introduction. This section is the introduction section. Here is a the text about the introduction. This section is the introduction section. Here is a the text about the introduction. This section is the introduction section. Here is a the text about the introduction. This section is the introduction section. Here is a the text about the introduction. This section is the introduction section. Here is a the text about the introduction. \begin[!htb] \captionsetup \caption \label \setlength\tabcolsep % let LaTeX compute intercolumn whitespace \footnotesize\centering This table provides the frequencies. \smallskip \begin>rcccr> \toprule Year & Nones& Option 1 & Option 2 & Total \\ \midrule 2001& 126 & 16 & 2 & 144 \\ 2002& 114 & 9 & 4 & 127 \\ 2003& 115 & 7 & 1 & 123 \\ 2004& 114 & 6 & 4 & 124 \\ 2005& 104 & 5 & 8 & 117 \\ 2006& 96 & 3 & 6 & 105 \\ 2007& 93 & 2 & 4 & 99 \\ 2008& 93 & 2 & 2 & 97 \\ 2009& 85 & 2 & 11 & 98 \\ 2010& 83 & 0 & 7 & 90 \\ 2011& 74 & 0 & 12 & 86 \\ \midrule Total & 1,097 & 52 & 61 & 1,210 \\ \bottomrule \end \end This section is the introduction section. Here is a the text about the introduction. This section is the introduction section. Here is a the text about the introduction. This section is the introduction section. Here is a the text about the introduction.This section is the introduction section. Here is a the text about the introduction. This section is the introduction section. Here is a the text about the introduction. This section is the introduction section. Here is a the text about the introduction. This section is the introduction section. Here is a the text about the introduction. This section is the introduction section. Here is a the text about the introduction. This section is the introduction section. Here is a the text about the introduction. This section is the introduction section. Here is a the text about the introduction. This section is the introduction section. Here is a the text about the introduction. This section is the introduction section. Here is a the text about the introduction. This section is the introduction section. Here is a the text about the introduction. This section is the introduction section. Here is a the text about the introduction. This section is the introduction section. Here is a the text about the introduction. This section is the introduction section. Here is a the text about the introduction. This section is the introduction section. Here is a the text about the introduction. Here is a the text about the introduction. This section is the introduction section. Here is a the text about the introduction. This section is the introduction section. Here is a the text about the introduction. This section is the introduction section. Here is a the text about the introduction. This section is the introduction section. Here is a the text about the introduction. This section is the introduction section. Here is a the text about the introduction. This section is the introduction section. Here is a the text about the introduction. This section is the introduction section. Here is a the text about the introduction. This section is the introduction section. Here is a the text about the introduction.Here is a the text about the introduction. This section is the introduction section. Here is a the text about the introduction. This section is the introduction section. Here is a the text about the introduction. This section is the introduction section. Here is a the text about the introduction. This section is the introduction section. Here is a the text about the introduction. This section is the introduction section. Here is a the text about the introduction. This section is the introduction section. Here is a the text about the introduction. This section is the introduction section. Here is a the text about the introduction. This section is the introduction section. Here is a the text about the introduction. \end

enter image description here

Second Addendum: Further analysis of the contents of the table environments shows that (a) it's not necessary to switch to \footnotesize and (b) it would useful, from the point of making the numeric information more readable, to align the numbers in the four data columns on their (implicit) decimal markers. This may be achieved by loading the siunitx package and employing the S column type.

Separately, since you're using the IEEEtran document class, I would not load the caption package, as doing so modifies the appearance of captions rather decisively. I would assume that you're using IEEEtran for a solid reason; you should thus be rather careful to change the layout and appearance of table and figure captions.

enter image description here

\documentclass[11pt,twocolumn,conference] \usepackage[T1] \usepackage \usepackage[utf8] \usepackage[english] \usepackage[verbose,margin=3cm] \usepackage \sisetup> \newcolumntype[1] % macro for a paragraph of filler text \newcommand\blurb %\flushbottom % may not be necessary \begin \section \blurb\blurb \begin[!htb] \setlength\tabcolsep \caption \label \centering This table provides the frequencies. \smallskip \begin>% l TTTT> \toprule Year & & & & \\ \midrule 2001& 126 & 16 & 2 & 144 \\ 2002& 114 & 9 & 4 & 127 \\ 2003& 115 & 7 & 1 & 123 \\ 2004& 114 & 6 & 4 & 124 \\ 2005& 104 & 5 & 8 & 117 \\ 2006& 96 & 3 & 6 & 105 \\ 2007& 93 & 2 & 4 & 99 \\ 2008& 93 & 2 & 2 & 97 \\ 2009& 85 & 2 & 11 & 98 \\ 2010& 83 & 0 & 7 & 90 \\ 2011& 74 & 0 & 12 & 86 \\ \midrule Total & 1097 & 52 & 61 & 1210 \\ \bottomrule \end \end \blurb\blurb\blurb\blurb \end