I have the following table
\documentclass[10pt,twocolumn,letterpaper]{article}
\usepackage{graphicx}
\usepackage{array}
\newcolumntype{M}[1]{>{\centering\arraybackslash}m{#1}}
\begin{document}
\section{Results}
\label{Sec:results}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Table %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{table}[tb]
\centering
\tabcolsep = 0.01\textwidth %0.18cm
\begin{tabular}{| m{0.17\textwidth} | M{0.1\textwidth} | M{0.1\textwidth}|}
\hline
\centering\textbf{Method} & \textbf{Input} & \textbf{Accuracy}
\tabularnewline
\hline
3DShapeNets & volumetric & 84.7\\
Voxnet & volumetric & 85.9\\
\hline
PointNet & points & 89.2 \\
PointNet++ & points & 90.7 \\
Kd-network& points & 91.8 / 90.6 \\
\hline
Ours & points & ? \\
\hline
\end{tabular}
\caption{Classification Accuracy on ModelNet40 dataset}
\label{table:ClassificationAcc}
\end{table}
\begin{table}[tb]
\centering
\tabcolsep = 0.01\textwidth %0.18cm
\begin{tabular}{|m{0.12\textwidth}|M{0.1\textwidth}|M{0.15\textwidth}|M{0.08\textwidth}|}
\hline
\centering\textbf{Method} & \textbf{ Data} & \textbf{Permutations} & \textbf{Points}
\tabularnewline
\hline
PointNet & & &\\
PointNet++ & & &\\
Kd-Network & & &\\
\hline
\end{tabular}
\caption{Challenges summary }
\label{table:ChallangeComp}
\end{table}
\subsection{Architecture Design Analysis}
\label{SubSec:Arch_Dn_Analysis}
\subsection{Visualizations}
\label{SubSec:Vis}
\end{document}
I get a warning Overfull \hbox (... too wide)
…
Why is this happening and how can I solve it ?
Best Answer
problematic is your second table. it is wider than column width. it is possible to make it narrower, however content of table is unknown, so the obtained result probably in real document will not works.
as you can see, i change table layout. for my taste now looks better. for this i add two new packages:
booktabs
for rules andsiunitx
forS
column type. i also assume that content of column header is the widest cells contents.above mwe gives no error, no warning, no bad boxes.