Graphics, Figures & TablesTurning off hyphenation in tables

Information and discussion about graphics, figures & tables in LaTeX documents.
Post Reply
choward
Posts: 6
Joined: Sat Sep 05, 2009 10:18 pm

Turning off hyphenation in tables

Post by choward »

Hi. I made my first table today, and I was wondering if it was possible to turn off hyphenation just inside my table. Here is what the table code is currently like:

Code: Select all

\begin{center}

\begin{tabular}{| p{3cm} | p{8cm} |}
\hline
(blah blah blah...)
\hline
\end{tabular}

\end{center}

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

User avatar
Stefan Kottwitz
Site Admin
Posts: 10324
Joined: Mon Mar 10, 2008 9:44 pm

Turning off hyphenation in tables

Post by Stefan Kottwitz »

Hi choward,

you could use the package hyphenat, for instance its command \nohyphens{text}.

Stefan
LaTeX.org admin
Post Reply