# [Tugindia] wrapping in table

Asha G dendron.15 at gmail.com
Tue Jun 28 12:13:25 CEST 2011

>
> -
>
> 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
\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]
\hline
\end{tabular}
\end{table}

\end document