Submitted by SHILL on Nov. 8, 2018, 1:59 a.m.

Code

\documentclass[xcolor=table]{ctexbeamer}
\usepackage{tabularx}
\usepackage{xcolor}
%\usepackage{ctexcap}
\begin{document}
\begin{frame}
\rowcolors{2}{orange!25}{orange!50}
\begin{tabular}{rrr}
\rowcolor{orange} 直角边 $a$ & 直角边 $b$ & 斜边 $c$\\
3&4&5\\
5&12&13\\
7&24&25\\
8&15&17
\end{tabular}
\end{frame}
\end{document}

no comments