![如何自定义 Beamer 中的标题页,使其看起来像](https://linux22.com/image/267239/%E5%A6%82%E4%BD%95%E8%87%AA%E5%AE%9A%E4%B9%89%20Beamer%20%E4%B8%AD%E7%9A%84%E6%A0%87%E9%A2%98%E9%A1%B5%EF%BC%8C%E4%BD%BF%E5%85%B6%E7%9C%8B%E8%B5%B7%E6%9D%A5%E5%83%8F.png)
我如何修改标题页,使其看起来像这视频。请跳到 16 秒并观看标题页。我没有权限发布图片。我喜欢这个主题,我想制作一个看起来相似的 beamer 主题。我尝试使用 beamercolorbox,但未能将框定位到底部。
编辑:这是我的最低工作示例
\documentclass[xcolor=dvipsnames]{beamer}
\defbeamertemplate*{title page}{customized}[1][]
{
\usebeamerfont{subtitle}
\usebeamercolor[fg]{subtitle}
{\flushright
\setbeamercolor{author}{bg=white,fg=Red}
\usebeamerfont{author} \insertauthor\par
\usebeamerfont{institute}\insertinstitute\par }
\vspace{0.2in}
\setbeamercolor{postit}{fg=white,bg=YellowOrange}
\begin{beamercolorbox}[sep=1em,wd=1.062\textwidth,ht=3cm,dp=3cm,right]{postit}
\usebeamerfont{title} {\huge \inserttitle}\par
\usebeamerfont{subtitle} {\insertsubtitle}
\end{beamercolorbox}
}
\usecolortheme[named=YellowOrange]{structure}
\useoutertheme{infolines}
\setbeamertemplate{navigation symbols}{}
\institute{Harvard College Professor and\\ Johnstone Family Professor in Psychology, Harvard University}
\title{SAY WHAT?}
\subtitle{Linguistics as a Window to\\ Understanding the Brain}
\author{Steven Pinker}
\begin{document}
{
\setbeamertemplate{footline}{}
\begin{frame}
\titlepage
\end{frame}
}
\end{document}
答案1
这是一种可能性;我重新定义了标题页模板,并使用 TikZ 的\node
s 来放置元素;pdfrender
用于作者和标题:
\documentclass{beamer}
\usepackage{tikz}
\usepackage{pdfrender}
\usetikzlibrary{shapes,arrows}
\setbeamerfont{author}{size=\Huge}
\setbeamerfont{institute}{size=\normalsize\itshape}
\setbeamerfont{title}{size=\fontsize{30}{36}\bfseries}
\setbeamerfont{subtitle}{size=\Large\normalfont\slshape}
\setbeamertemplate{title page}{%
\begin{tikzpicture}[remember picture,overlay]
\fill[orange]
([yshift=15pt]current page.west) rectangle (current page.south east);
\node[anchor=east]
at ([yshift=-50pt]current page.north east) (author)
{\parbox[t]{.6\paperwidth}{\raggedleft%
\usebeamerfont{author}\textcolor{orange}{%
\textpdfrender{
TextRenderingMode=FillStroke,
FillColor=orange,
LineWidth=.1ex,
}{\insertauthor}}}};
\node[anchor=north east]
at ([yshift=-70pt]current page.north east) (institute)
{\parbox[t]{.78\paperwidth}{\raggedleft%
\usebeamerfont{institute}\textcolor{gray}{\insertinstitute}}};
\node[anchor=south west]
at ([yshift=20pt]current page.west) (logo)
{\parbox[t]{.19\paperwidth}{\raggedleft%
\usebeamercolor[fg]{titlegraphic}\inserttitlegraphic}};
\node[anchor=east]
at ([yshift=-10pt,xshift=-20pt]current page.east) (title)
{\parbox[t]{\textwidth}{\raggedleft%
\usebeamerfont{author}\textcolor{white}{%
\textpdfrender{
TextRenderingMode=FillStroke,
FillColor=white,
LineWidth=.1ex,
}{\inserttitle}}}};
\node[anchor=east]
at ([yshift=-60pt,xshift=-20pt]current page.east) (subtitle)
{\parbox[t]{.6\paperwidth}{\raggedleft\usebeamerfont{subtitle}\textcolor{black}{\insertsubtitle}}};
\end{tikzpicture}
}
\author{John Doe}
\institute{Harvard College Professor and\\ Johnstone Family Professor in Psychology, Harvard University}
\title{Say What?}
\subtitle{Linguistics as a Window for Understanding the Brain}
\titlegraphic{\includegraphics[width=2cm]{ctanlion}}
\begin{document}
\begin{frame}
\maketitle
\end{frame}
\end{document}
CTAN 狮子绘画由 Duane Bibby 绘制。
根据您的需要随意调整长度。