I need a short table that I have to add to my document. I'm afraid, LaTeX does not seem to break the lines at the spaces. My table currently looks like that:
\begin{table}[!ht]
\centering
\begin{tabular}{|c|c|c|}\hline
\textbf{Column 1} & \textbf{Column 2} & \textbf{Column 3} \\\hline
This is a very long text which has to be broken into the next line & This is a very long text which has to be broken into the next line & This is a very long text which has to be broken into the next line \\\hline
This is a very long text which has to be broken into the next line & This is a very long text which has to be broken into the next line & This is a very long text which has to be broken into the next line \\\hline
This is a very long text which has to be broken into the next line & This is a very long text which has to be broken into the next line & This is a very long text which has to be broken into the next line \\\hline
\end{tabular}
\caption{This is the caption}
\end{table}
Does anybody know a quick way to fix this?



|p{6cm}|, i.e. use thepcolumntype, which requires some length in addition. Please note that this won't be centered any longer this way. Replace the6cmvalue by some length of your own choice – Jul 11 '16 at 10:37p{...}column type you need to loadarraypackage and than for column type write:>{\centering\arraybackslash}p{<desired width>}. Maybe use oftabularxwould be of interest: it automatically determine column width for given width of table. – Zarko Jul 11 '16 at 10:52