\documentclass[fleqn,12pt,a4paper]{article}
\usepackage{tabularx}
\begin{document}
\begin{table}[ht]
\begin{minipage}[b]{1 \linewidth}\centering
\begin{tabular}{|c|c|c|c|c|}
\hline
Tri Sankhya & Vihbakti & Ekavachana & Dvivachana & Bahuvachana \\
\hline
Pra Trik & Prathama & Su (s) & Au & \\
Dvi Trik & Dvitiya & Am & Aut (Au) & \\
Tri Trik & Trutiya & Ta (A) & Bhyam & \\
Cha Trik & Chaturthi& Ne (E) & Bhyam & \\
Pan Trik & Panchami & Nasi (as) & Bhyam & \\
Shas Trik & Shashthi & Nas (as) & Os & \\
Sap Trik & Saptami & Ni (ee) & Os & \\
\hline
\end{tabular}
\caption{Subanta Pratyaya}
\end{minipage}
\end{table}
\end{document}
In the attached image, I would like to place text in the last column at 90 degree rotation but do not know how to do it. Also, how can I color the background of that entire column only.
.
Best Answer
Use nested tabulars:
Another possibility, regarding to your question is:
but this needs to find the correct column height for the
\parbox
which is done in first example automaticallyand a third solution, which also needs a manual setting of the parbox width: