LaTeX – Tabular wrapping content – no overflow

A tabular in LaTeX that handle overflow

\usepackage{tabularx}

\begin{table}[h]
\caption{\label{tab:foo} Awesome tabular title}
	\begin{tabularx}{\linewidth}{|X|X|}
		\hline
		Name & Description\\
		\hline
		element 1 & element 2\\
		\hline
	\end{tabularx}
\end{table}
Advertisements