\documentclass[T]{beamer}
\usetheme{Frankfurt}
\usecolortheme{orchid}
\usefonttheme{structuresmallcapsserif}
\usefonttheme{serif}
\usepackage{multicol}
\usepackage{graphicx}
\title{Example Presentation}
\author{Author 1\\Author 2}
\date{\today}
\begin{document}
{\usebackgroundtemplate
{\includegraphics[width=\paperwidth,height=\paperheight]{caestitlepage}}
\begin{frame}
\titlepage
\end{frame}
\end{document}
为了使“作者文本”变成白色,我需要做哪些更改?
答案1
您只需使用适当的颜色模板(author
在本例中);例如:
\setbeamercolor{author}{fg=white}
完整示例(带有虚拟背景):
\documentclass[T]{beamer}
\usepackage{lmodern} % for font size substitution
\usetheme{Frankfurt}
\usecolortheme{orchid}
\usefonttheme{structuresmallcapsserif}
\usefonttheme{serif}
\usepackage{multicol}
\usepackage{tikz} %for dummy background
\title{Example Presentation}
\setbeamercolor{author}{fg=white}
\author{Author 1\\ Author 2}
\date{\today}
\begin{document}
\setbeamertemplate{background}{\tikz\fill[blue,opacity=0.4](0,0)rectangle(\paperwidth,\paperheight);]}
%{\usebackgroundtemplate
%{\includegraphics[width=\paperwidth,height=\paperheight]{caestitlepage}}
\begin{frame}
\titlepage
\end{frame}
\end{document}
结果:
实际上,percusse 的建议也很好;确实:
\documentclass[T]{beamer}
\usepackage{lmodern} % for font size substitution
\usetheme{Frankfurt}
\usecolortheme{orchid}
\usefonttheme{structuresmallcapsserif}
\usefonttheme{serif}
\usepackage{multicol}
\usepackage{tikz} %for dummy background
\title{Example Presentation}
\author{\textcolor{white}{Author 1}\\ \textcolor{white}{Author 2}}
\date{\today}
\begin{document}
\setbeamertemplate{background}{\tikz\fill[blue,opacity=0.4](0,0)rectangle(\paperwidth,\paperheight);]}
%{\usebackgroundtemplate
%{\includegraphics[width=\paperwidth,height=\paperheight]{caestitlepage}}
\begin{frame}
\titlepage
\end{frame}
\end{document}
提供与上面报道相同的图片。