在下面的简单表格中,是否可以更改特定列中所有文本的颜色?
\documentclass{article}
\begin{document}
\begin{tabular}{ll}
one & two \\
three & four \\
five & six\\
seven & eight \\
nine & ten
\end{tabular}
\end{document}
答案1
也许你的意思是这样的:
\documentclass{article}
\usepackage{array}
\usepackage{xcolor}
\begin{document}
\begin{tabular}{>{\color{red}}ll}
one & two \\
three & four \\
five & six\\
seven & eight \\
nine & ten
\end{tabular}
\end{document}