[Tugindia] Text wrapping in table

Kannan Moudgalya kannan at iitb.ac.in
Tue Jun 28 15:06:09 CEST 2011



Radhakrishnan CV wrote:
>> \begin{tabular}{|c|p{2cm}|r|} \hline
>> Test & Aerospace \\ Engineering & Blank \\ \hline
>> \end{tabular}
>>     
>
> The carriage return (\\) in 'Aerospace \\ Engineering' shall be
> replaced with \newline as in:
>
>  Test & Aerospace \newline Engineering & Blank \\ \hline
>
> If not LaTeX will think that the row ends at that point.
>   
Yes, this gives the result I want and it is different from the result 
without the \newline command.  I checked this by replacing 2cm with 
3cm.  Thanks and regards.

Kannan


More information about the tugindia mailing list