I have a table below
\documentclass[a4paper,12pt]{article}
\begin{document}
\begin{quote}
\begin{tabular}{|c|c|c|c|c|}
\hline
\multicolumn{4}{c}{Table title}\\
\hline
Fuze Type & Weight & Muzzle Velocity & From sea level\\
\hline
Time & Vehicle wt: 5000
Tyre wt: 100&40000 m/s & 0m\\
\hline
Degrees & Minutes & Mil &Range in m & Time of flight in s\\
\hline
\end{tabular}
\end{document}
-
I want the second column to be of fixed width and if the length of text in this column is more, text will be allowed to take multiple lines without changing the width.
Edit:Can you also tell me how to do the same in longtable.(|>{\centering}p{2cm}| doesn't seem to work in longtable. -
I want left and right edges of the top row visible.
-
I need the last columns of rows 2 and 3 invisible(no borders), since there is no data in those cells.
Best Answer