Table text overlapping

formattinggraphicsoverlaptableswidth

I am trying to make a table with the following code, but the first column second row contents are overlapping with the first column third row. This does not happen for the entire row. I tried to use scriptsize, small, change the length between rows by defining "extra" as some posts have suggested, but none seem to work. What am I missing here? I get the output as shown below, for the problem – column.

 \newlength{\extra}
  \setlength{\extra}{.8ex}

 \begin{table}[]
 \centering
\begin{tabular}{|l|l|l|l|l|}
\hline
\rowcolor[HTML]{67FD9A} 
\textbf{\begin{tabular}[c]{@{}l@{}}Mechanical\\ System\end{tabular}}                             
& \textbf{\begin{tabular}[c]{@{}l@{}}Current limit\\          (A)\end{tabular}} & 
\textbf{\begin{tabular}[c]{@{}l@{}}Power\\ Input (W)\end{tabular}} & \textbf{\begin{tabular} 
[c]{@{}l@{}}Power\\ Output (W)\end{tabular}} & \textbf{\begin{tabular}[c]{@{}l@{}}Efficiency\\    
(\%)\end{tabular}} \\ \hline
                                                                                             & 
 133                                                                           & 31807                                                              
& 28992                                                               & 91.15                                                                 
\\ \cline{2-5} 
\multirow{-2}{*}{\textbf{\begin{tabular}[c]{@{}l@{}}\scriptsize With \\ \scriptsize 
Rotational\\ \scriptsize Damper\end{tabular}}}   & 200                                                                           
& 37319                                                              & 34067                                                               
& 91.285                                                                \\  \hline
                                                                                             & 
133                                                                           & 18159                                                              
& 16005                                                               & 88.14                                                                 
\\ [\extra] \cline{2-5} 
\multirow{-2}{*}{\textbf{\begin{tabular}[c]{@{}l@{}}Without\\ Rotational\\ 
Damper\end{tabular}}} & 200                                                                           
& 18603                                                              & 16096                                                               
& 86.52                                                                 \\ \hline
\end{tabular}
\end{table}

Overlap

Best Answer

What about a tabularray based approach?

enter image description here

\documentclass[border=5mm]{standalone}
\usepackage{xcolor}
\usepackage{tabularray}
\UseTblrLibrary{siunitx}
\definecolor{mygreen}{HTML}{67FD9A} 

\begin{document}

\begin{tblr}{colspec={l S[table-format=3] S[table-format=5] S[table-format=5] S[table-format=3.2]}, 
             hlines, vlines, 
             row{1}={mygreen, font=\bfseries\small, halign=c}, 
             vspan=even}
{Mechanical\\ System}                            
& {{{{Current limit\\ (A)}}}} 
& {{{{Power Input\\ (W)}}}}
& {{{Power Output\\ (W)}}} 
& {{{Efficiency \\(\%)}}}
\\ 
{\SetCell[r=2]{}With\\ Rotational\\ Damper}    & 133 & 31807 & 28992 & 91.15  \\
                                               & 200 & 37319 & 34067 & 91.285 \\  
{\SetCell[r=2]{}Without\\ Rotational\\ Damper} & 133 & 18159 & 16005 & 88.14  \\ 
                                               & 200 & 18603 & 16096 & 86.52  \\
\end{tblr}

\end{document}