# Adjust the table width to be the column width

I am trying to make the table wider, I already made an adjust box with text width but nothing happed .. anyone can help me please?

My code:

\begin{table}[htbp]
\centering
\caption{Three different Noise Levels}
\begin{tabular}{ccc}
\hline
\textbf{V output}\textbf{} & &  \textbf{SNR Level} \\
\hline
From  & To    &  \\
\hline
-inf    & 0     & Low \\
0     & 20    & Medium \\
20    & inf    & High \\
\hline
\end{tabular}%
\end{table}%


The output:

• Why do you want to widen the table? There's no need for it. Rather, use \multicolumn{2}{c}{\textbf{V output}} in order for it to span both columns. – egreg Feb 18 '15 at 9:13

You can use a tabularx spanning the whole \columnwidth instead of a tabular.

MWE

\documentclass[twocolumn]{article}

\usepackage{tabularx}
\newcolumntype{Y}{>{\centering\arraybackslash}X}

\begin{document}

\noindent x\hrulefill x

\begin{table}[htbp]
\centering
\caption{Three different Noise Levels}
\begin{tabularx}{\columnwidth}{YcY}
\hline
\textbf{V output}\textbf{} & &  \textbf{SNR Level} \\
\hline
From  & To    &  \\
\hline
-inf    & 0     & Low \\
0     & 20    & Medium \\
20    & inf    & High \\
\hline
\end{tabularx}%

• @SMH Probably you want \begin{tabularx}{\columnwidth}{YYY}? – karlkoeller Feb 18 '15 at 9:26