[Tugindia] wrapping in table

Manjusha Joshi manjusha.joshi at gmail.com
Tue Jun 28 12:29:57 CEST 2011


Hello,

> > This is a snippet of my code. I have not tried out your solutions  but
> maybe you can help me . Actually I would like Department to be whole - and
> wrapped, Professor to be whole and wrapped and so on.
> Also, how do you change font size in tables?
> And change color  in one line - Say data for M
> Thanks
> Asha G
>
> \usepackage{graphicx}
> \usepackage{colortbl}
> %\usepackage{caption}
> \usepackage{beamerthemesplit}
> \usetheme{Warsaw}
>  \begin document
>
----> \begin{document}
Curly braces are missing

> \subsection{table}
>  \begin{table}[!ht]
>  \caption{Faculty in IIT Madras across disciplines}
> \centering
> \begin{tabular}{|l| p{2cm}| c| r|r|r|r|}
> \hline \hline
> SI & Dept & Gender & Prof & Assoc Prof & Asst Prof & Total
> \\ [0.5ex]
> \hline
> & & M & 11 & 2 & 8 & 21 \\[-1ex]
> \raisebox{1.5ex}{1} &\raisebox{1.5ex}{Aerospace Engineering} & F & 0 & 0 &
> 1
> & 1\\[1ex]
>
remove \raisebox etc.
The code will work.

> \hline
> \end{tabular}
> \end{table}
>
> \end document
>

----> \end{document} curly braces are missing
Here is the corrected code. Looks like you are using beamer class.
so I added 1st line accordingly.

Once you tried the code given and found it is working accordingly you can
make changes where ever required.

Best wishes,


-- 
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/


More information about the tugindia mailing list