\setbeamertemplate{title page}[default][colsep=-0bp,rounded=false]
\setbeamertemplate{frametitle}[default][colsep=-4bp,rounded=false,shadow=false]
\setbeamertemplate{blocks}[rounded][shadow=false]
removes the shadows from the frametitle, title page, etc..
\setbeamertemplate{headline}[shadow=false]
\setbeamertemplate{subsection in head}[shadow=false]
\setbeamertemplate{section in head}[shadow=false]
\setbeamertemplate{beamercolorbox}[shadow=false]
没有帮助。 :(
我想去除上方幻灯片中的阴影/阴影。
答案1
您需要重新定义beamer@barshade
smoothbars 外部主题所使用的阴影(原始定义可以在 中找到beamerouterthemesmoothbars.sty
):
\documentclass[ ]{beamer}
\usetheme{Frankfurt}
\useoutertheme{smoothbars}
\makeatletter
\AtBeginDocument{
\pgfdeclareverticalshading{beamer@barshade}{\the\paperwidth}{%
color(0ex)=(black);%
color(0.5ex)=(section in head/foot.bg);%
color(4ex)=(section in head/foot.bg)%
}
}
\makeatother
\begin{document}
\begin{frame}
test
\end{frame}
\begin{frame}
\frametitle{Test title}
test
\end{frame}
\end{document}
结果: