我想创建一个如下页面(尽可能完美)。文本水平居中。
我的尝试产生了以下结果。我不知道字体、背景图案等。但是,背景图案并不那么重要,所以纯色就很好了。
平均能量损失
\documentclass[12pt,demo]{beamer}
\usetheme{rochester}
\setbeamertemplate{headline}{}
\beamertemplatenavigationsymbolsempty
\usepackage{graphicx}
\begin{document}
\begin{frame}[t]{}
\begin{columns}[t]
\begin{column}{.33\linewidth}
\begin{center}
\includegraphics[width=\linewidth,page=2]{croppingwithnavigation}
\end{center}
\end{column}
\begin{column}{.33\linewidth}
\begin{center}
\includegraphics[width=\linewidth,page=3]{croppingwithnavigation}
\end{center}
\end{column}
\begin{column}{.33\linewidth}
\begin{center}
\includegraphics[width=\linewidth,page=4]{croppingwithnavigation}
\end{center}
\end{column}
\end{columns}
Media Marketing\\
Contract package
\end{frame}
\end{document}
问题
如何达到想要的结果?
重要部分按以下顺序排列优先顺序。
- 布局和尺寸(大小)
- 字体
- 背景图案等
答案1
您的大多数问题都是针对特定观点的。所以我将布局、颜色、图案等问题留给您回答。
\documentclass[12pt,demo]{beamer}
\usetheme{rochester}
\setbeamertemplate{headline}{}
\beamertemplatenavigationsymbolsempty
%\usepackage{graphicx} it is loaded by bemaer
\usepackage{tabularx}
\begin{document}
\frame{
\setbeamercolor{father}{fg=red}
\setbeamercolor{mother}{bg=green}
\setbeamercolor{child}{parent={father,mother}}
\begin{beamercolorbox}{child}
Terrible red on green text.
\end{beamercolorbox}
\setbeamercolor{father}{fg=blue}
\begin{beamercolorbox}{child}
Now terrible blue on green text, since parent was changed.
\end{beamercolorbox}
}
\begin{frame}
\setbeamercolor{slidebackground}{bg=blue!30}
\setbeamercolor{titlebackground}{bg=gray!30!yellow!20, fg=gray}
\begin{beamercolorbox}{slidebackground}
\setlength\tabcolsep{3pt}
\begin{center}
\begin{tabularx}{\dimexpr\linewidth-2ex\relax}{XXX}
\includegraphics[width=\linewidth,page=2]{croppingwithnavigation}
& \includegraphics[width=\linewidth,page=3]{croppingwithnavigation}
& \includegraphics[width=\linewidth,page=4]{croppingwithnavigation}
\end{tabularx}\\[1em]
\mbox{}\begin{beamercolorbox}[wd=\dimexpr\linewidth-2ex-6pt\relax,center]{titlebackground}
\medskip\Large\bfseries
Media Marketing\\[1ex]
\normalsize\normalfont
\emph{Contract package}\\[1em]
\end{beamercolorbox}
\end{center}
\end{beamercolorbox}
\end{frame}
\end{document}
附录:
如果整个框架都是彩色的,则应该background canas
为该框架重新定义:
\documentclass[12pt,demo]{beamer}
\usetheme{rochester}
\setbeamertemplate{headline}{}
\beamertemplatenavigationsymbolsempty
\usepackage{tabularx}
\begin{document}
\setbeamercolor{background canvas}{bg=blue!30}
\begin{frame}
\setbeamercolor{titlebackground}{bg=gray!30!yellow!20, fg=gray}
\setlength\tabcolsep{3pt}
\begin{center}
\begin{tabularx}{\dimexpr\linewidth-2ex\relax}{XXX}
\includegraphics[width=\linewidth,page=2]{croppingwithnavigation}
& \includegraphics[width=\linewidth,page=3]{croppingwithnavigation}
& \includegraphics[width=\linewidth,page=4]{croppingwithnavigation}
\end{tabularx}\\[1em]
\mbox{}\begin{beamercolorbox}[wd=\dimexpr\linewidth-2ex-6pt\relax,center]{titlebackground}
\medskip\Large\bfseries
Media Marketing\\[1ex]
\normalsize\normalfont
\emph{Contract package}\\[1em]
\end{beamercolorbox}
\end{center}
\end{frame}
\setbeamercolor{background canvas}{bg=}
\end{document}