![Beamer | 背景适合框架标题](https://linux22.com/image/454399/Beamer%20%7C%20%E8%83%8C%E6%99%AF%E9%80%82%E5%90%88%E6%A1%86%E6%9E%B6%E6%A0%87%E9%A2%98.png)
答案1
您可以将frametitle
模板重新定义为如下形式:
\documentclass{beamer}
\setbeamercolor{frametitle}{fg=white, bg=orange}
\setbeamertemplate{frametitle}{\colorbox{frametitle.bg}{\usebeamercolor[fg]{frametitle}\usebeamerfont{frametitle}\insertframetitle}}
\begin{document}
\begin{frame}[plain]{This is my frame}
Lore impsum dolor sit amet...
\end{frame}
\end{document}