![包 keyval 错误未定义颜色投影仪](https://linux22.com/image/277339/%E5%8C%85%20keyval%20%E9%94%99%E8%AF%AF%E6%9C%AA%E5%AE%9A%E4%B9%89%E9%A2%9C%E8%89%B2%E6%8A%95%E5%BD%B1%E4%BB%AA.png)
当我编译以下代码时,出现包键值错误,代码未定义。请帮忙!
\documentclass{beamer}
\usepackage[frenchb]{babel}
\usepackage[T1]{fontenc}
\usepackage[latin1]{inputenc}
\usepackage{newcent}
\usepackage{color}
\usetheme{Warsaw}
\setbeamercolor{normal text}{teal}
\begin{document}
\begin{frame}
\setbeamertemplate{background canvas}[vertical shading][top=white,bottom=blue]
Texte n'ayant pas encore subi de changement de couleur.
\end{frame}
\end{document}
答案1
你必须使用投影仪颜色,即前景色和背景色:
\setbeamercolor{normal text}{fg=teal}