I need tiny help! My latex table is not getting formatting Properly! Anyone can help me How I can fix the issue?
Latex Code is
\begin{table}
\centering
\caption{Hardness comparison}
\begin{tabular}{|c|c|c|c|c|c|}
\hline
\begin{tabular}[c]{@{}c@{}}\textbf{BFO} \\\textbf{K\_\$\{IC\}\$(MPa.m\textsuperscript{0.5})} \\\textbf{Niihara´s eq.} \\\textbf{~}\end{tabular} & \begin{tabular}[c]{@{}c@{}}\textbf{BLFO} \\\textbf{\textbf{K\_\$\{IC\}\$}(MPa.m\textsuperscript{0.5})} \\\textbf{Niihara´s eq.}\end{tabular} & \begin{tabular}[c]{@{}c@{}}\textbf{BFNbO} \\\textbf{\textbf{K\_\$\{IC\}\$}(MPa.m\textsuperscript{0.5})} \\\textbf{Niihara´s eq.}\end{tabular} & \begin{tabular}[c]{@{}c@{}}\textbf{BFO} \\\textbf{\textbf{K\_\$\{IC\}\$}~(MPa.m\textsuperscript{0.5})} \\\textbf{Anistis´s eq.}\end{tabular} & \begin{tabular}[c]{@{}c@{}}\textbf{BLFO} \\\textbf{\textbf{K\_\$\{IC\}\$}~(MPa.m\textsuperscript{0.5})} \\\textbf{Anistis´s eq.}\end{tabular} & \begin{tabular}[c]{@{}c@{}}\textbf{BFNbO} \\\textbf{\textbf{K\_\$\{IC\}\$}~(MPa.m\textsuperscript{0.5})} \\\textbf{Anistis´s eq.}\end{tabular} \\
\hline
0.19 & 0.10 & 0.04 & 0.18 & 0.08 & 0.04 \\
\hline
0.25 & 0.09 & 0.22 & 0.17 & 0.07 & 0.16 \\
\hline
0.19 & 0.37 & 0.09 & 0.17 & 0.24 & 0.08 \\
\hline
0.27 & 0.28 & 0.29 & 0.27 & 0.28 & 0.28 \\
\hline
\end{tabular}
\end{table}



\textbf{K\_\$\{IC\}\$(MPa.m\textsuperscript{0.5})}. You could probably explain it in the caption of your table, instead. Likewise, I'd suggest using shared column headers in order to avoid repeating the names of the equations. – leandriis Mar 22 '22 at 14:45\begin{tabular}[c]{@{}c@{}}solely so that you can have a few newlines? – Teepeemm Mar 22 '22 at 14:45K\_\$\{IC\}\$looks weird. Are you sure you don't wantK\textsubscript{IC}? – Teepeemm Mar 22 '22 at 16:08