在 powerdot 中使用 \cellcolor

在 powerdot 中使用 \cellcolor

我试图在 powerdot 中突出显示表格中的某些单元格,但 \cellcolor 不起作用。我该如何在 powerdot 中为某些单元格或行着色。

这是我在报告中使用的表格,我正尝试将其添加到我的演示文稿中。

\begin{tabular}{|p{2cm}|c|c|c|c|c|c|c|c|c|c|c|c|}
    \hline
    Atividades & \multicolumn{12}{|c|}{Ano 2} \\
    \hline 
    {} & \cellcolor{green}\parbox{0.6cm}{\centering Mês \\ 1} & \cellcolor{green}\parbox{0.6cm}{\centering Mês \\ 2} &
     \cellcolor{green}\parbox{0.6cm}{\centering Mês \\ 3} & \cellcolor{green}\parbox{0.6cm}{\centering Mês \\ 4} &
     \cellcolor{green}\parbox{0.6cm}{\centering Mês \\ 5} & \cellcolor{green}\parbox{0.6cm}{\centering Mês \\ 6} &
     \cellcolor{green}\parbox{0.6cm}{\centering Mês \\ 7} & \cellcolor{green}\parbox{0.6cm}{\centering Mês \\ 8} & 
     \cellcolor{green}\parbox{0.6cm}{\centering Mês \\ 9} & \cellcolor{green}\parbox{0.6cm}{\centering Mês \\ 10} &
     \cellcolor{green}\parbox{0.6cm}{\centering Mês \\ 11} & \cellcolor{green}\parbox{0.6cm}{\centering Mês \\ 12} \\[0.2cm]
    \hline
    \parbox{3cm}{Desenvolvimento da \\modelagem sísmica} & x & x & x & x & x & x & x & x & x & x &  &  \\[0.2cm]
    \hline
    \parbox{3cm}{Técnicas de otimização \\matemática} &  &  &  & x & x & x & x & x & x & x & x & x \\[0.2cm]
    \hline
    \parbox{3cm}{Envio de artigo de \\revista comparando as \\técnicas de otimização} &  &  &  &  &  &  &  &  &  &  &  & x \\[0.2cm]
    \hline
\end{tabular}

答案1

\cellcolor在包中定义colortbl

相关内容