我正在尝试制作一个替代颜色的表格。但是,我得到了错误
! Undefined control sequence.
l.12 \rowcolors
{2}{darkcerulean}{blue(ncs)}
我的 MWE 如下:
\documentclass[12pt,twoside,titlepage]{article}
\usepackage[tables]{xcolor}
\usepackage{etoolbox}
\definecolor{coolblack}{rgb}{0.0, 0.18, 0.39}
\definecolor{darkcerulean}{rgb}{0.03, 0.27, 0.49}
\definecolor{blue(ncs)}{rgb}{0.0, 0.53, 0.74}
\begin{document}
\begin{center}
\rowcolors{2}{darkcerulean}{blue(ncs)}
\begin{tabular}{cc}
\rowcolor{coolblack}
Table head & Table head\\
Some values & Some values\\
Some values & Some values\\
Some values & Some values\\
Some values & Some values\\
\end{tabular}
\end{center}
\end{document}
有人能帮帮我吗?