I want to draw a table given below as it is
I don't how to make it properly. I can make a table like this given below:
\documentclass{article}
\usepackage{amsmath}
\begin{document}
\begin{table}[]
\begin{tabular}{llcr}
\cline{2-4}
& \textbf{Class} & \textbf{Occupy} & \textbf{Run Time} \\ \cline{2-4}
& \begin{tabular}[c]{@{}l@{}}RM FM RF\\ FMKMRKF\\ MLRFKR\end{tabular} & R & \\ \cline{2-4}
& RM F & R & R \\ \cline{2-4}
& FRR & R & \\ \cline{2-4}
& \begin{tabular}[c]{@{}l@{}}CKRMKMR\\ F MRMR\\ FR M\end{tabular} & R4 & R \\ \cline{2-4}
& RF & & \\ \cline{2-4}
& FRFRMMK & 4R & 4 \\ \cline{2-4}
\end{tabular}
\end{table}
\end{document}
which gives a table but very different looking then the expected. Some of the things I am not able to achieve is colors, solid lines etc.
Question : How to make a table given in the image?
\usepackage[table]{xcolor}
and\rowcolor
statements... see the manual ofcolortbl
please, which is loaded by thetable
option ofxcolor
– Christian Hupfer Feb 2 at 11:44