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

Learn LaTeX easily with newest books:

The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis

The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more

LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis

User avatar
Stefan Kottwitz
Site Admin
Posts: 10397
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