[Tugindia] Text wrapping in table

Josy P. Pullockara josy at ctfd.cmmacs.ernet.in
Tue Jun 28 08:40:10 CEST 2011


On Tue, 2011-06-28 at 11:46 +0530, Asha G wrote:
> I am creating a table and want some of the text to go to another line within
> the same column eg - Aerospace Engineering to be Aerospace
> Engineering
> I have tried to give column dimension p{2cm}
> and also tried Aerospace \\ Engineering

p{13ex} works. Adjust 13 depending on font choice. The below minimal
file demonstrates.

\documentclass{article}
\begin{document}
\begin{tabular}{p{13ex}}
Aerospace Engineering
\end{tabular}
\end{document}

-- 
Josy P. Pullockara <josy at ctfd.cmmacs.ernet.in>
National Aerospace Laboratories



More information about the tugindia mailing list