The following table (How to remove extra black line coming in table due to hhline) is working fine in document class article
but, the horizontal lines of table are not visible in beamer
class.
\documentclass{article}
\usepackage{hhline}
\usepackage[table, svgnames]{xcolor}
\usepackage{multirow}
\usepackage{booktabs}
\definecolor{Aliceblue}{rgb}{0.94, 0.97, 1.0}
\definecolor{aliceblue}{rgb}{0.94, 0.97, 1.0}
\definecolor{babyblue}{rgb}{0.54, 0.81, 0.94}
\begin{document}
\begin{table}[ht]
\centering
\setlength\arrayrulewidth{1.3pt}
\footnotesize\setlength{\tabcolsep}{2.7 pt}
\renewcommand{\arraystretch}{1.4}
\begin{tabular}{|c|c|c|c|c|c|c|}
\hline
\cellcolor{aliceblue} & \multicolumn{2}{c|}{\cellcolor{babyblue}ISE} & \multicolumn{2}{c|}{\cellcolor{babyblue}IAE} & \multicolumn{2}{c|}{\cellcolor{babyblue}ITAE} \\
\hhline{|>{\arrayrulecolor{aliceblue}}->{\arrayrulecolor{black}}|-|-|-|-|-|-|} % <==========================================
\multirow{-2}{*}{\cellcolor{aliceblue}Methods}
& \cellcolor{aliceblue}-20\% & \cellcolor{aliceblue}+20\% & \cellcolor{aliceblue}-20\% & \cellcolor{aliceblue}+20\% & \cellcolor{aliceblue}-20\% & \cellcolor{aliceblue}+20\% \\ \hhline{-|*6-}
\rowcolor{babyblue}ABC & 0.5645 & 0.63 & 1.8 & 1.8 & 6.1 & 6.6 \\ \hhline{-|*6-}
\rowcolor{aliceblue}XYZ & 2.1 & 2.3 & 0.881 & 9.82 & 9.2 & 28.9 \\ \hhline{-|*6-}
\rowcolor{babyblue}MNO & 0.68 & 0.97 & 1.62 & 1.61 & 8.9 & 8.2 \\ \hhline{-|*6-}
\rowcolor{aliceblue} PQR & 0.65 & 0.753 & 2.064 & 2.231 & 28.04 & 28.56 \\ \hhline{-|*6-}
\end{tabular}
\end{table}
\end{document}
How do I make the horizontal lines to be visible in beamer
environment as well?
\makeatletter\let\zz\reset@color\def\reset@color{\kern\z@\zz}\makeatother
in your preamble as described here: tex.stackexchange.com/a/405021/120578