Re: Text wrapping in table

Manjusha Joshi <[email protected]>
Newsgroups gmane.comp.tex.tugindia
Message-ID <[email protected]>
Hello,

On Tue, Jun 28, 2011 at 5:43 AM, Kannan Moudgalya <kannan-dOeZK83GKW6f0DUV/[email protected]> wrote:

>
>
> Manjusha Joshi wrote:
>
>> \begin{tabular}{|p{2cm}|}
>>  Aerospace \\ Engineering
>> \end{tabular}
>> is working.
>>
>> If want to add more columns, accordingly width of the words adjust width
>> of
>> the column.
>> Please send brief code  that will help to understand the problem.
>> Best wishes,
>>
> I am also interested in this usage, so tried out the following code, but it
> is not doing what I thought I understood from the above.  I wanted three
> columns in this Table, first column having Test, the second column Aerospace
> Engineering and the third column, the word Blank.  Am I making a mistake?
>
> Kannan
>
> \begin{tabular}{|c|p{2cm}|r|} \hline
> Test & Aerospace \\ Engineering & Blank \\ \hline
> \end{tabular}


Just remove \\  3 columns and 3 entries are required.
\begin{tabular}{|c|p{2cm}|r|} \hline
Test & Aerospace  Engineering & Blank \\ \hline
\end{tabular}

>
>
-- 
Manjusha S. Joshi
http://fossme.bprim.org
Lecturer in Computational  Mathematics,
BIM, Pune, India. www.bprim.org
Mobile:  09822 319328
blog:http://manjushajoshi.wordpress.com/
_______________________________________________
Home:        http://www.tug.org.in/
TeX FAQ:     http://www.tex.ac.uk/faq
unsubscribe: http://tug.org/mailman/listinfo/tugindia
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.