Re: wrapping in table

Manjusha Joshi <[email protected]>
Newsgroups gmane.comp.tex.tugindia
Message-ID <[email protected]>
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/
_______________________________________________
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.