控制投影仪演示文稿标题框中的字段位置

控制投影仪演示文稿标题框中的字段位置

此代码

\documentclass{beamer}
\title{Big Title}
\subtitle{Small title}
\author{
  Name Surname
}
\institute{
  Excellent University
}
\date{Meeting, January 24, 2018}
\begin{document}
\frame{\titlepage}
\end{document}

制作标题页

在此处输入图片描述

我怎样才能将\title字段向下移动 2cm?我怎样才能将\date字段定位在距底部 1 厘米的位置?

答案1

与默认标题页相比的更改已用注释标记:

\documentclass{beamer}

\makeatletter
\setbeamertemplate{title page}{%
  \vbox{}
  \vfill
  \vskip2cm%<- added
  \begingroup
    \centering
    \begin{beamercolorbox}[sep=8pt,center]{title}
      \usebeamerfont{title}\inserttitle\par%
      \ifx\insertsubtitle\@empty%
      \else%
        \vskip0.25em%
        {\usebeamerfont{subtitle}\usebeamercolor[fg]{subtitle}\insertsubtitle\par}%
      \fi%     
    \end{beamercolorbox}%
    \vskip1em\par
    \vfill%<- added
    \begin{beamercolorbox}[sep=8pt,center]{author}
      \usebeamerfont{author}\insertauthor
    \end{beamercolorbox}
    \vfill%<- added
    \begin{beamercolorbox}[sep=8pt,center]{institute}
      \usebeamerfont{institute}\insertinstitute
    \end{beamercolorbox}
    \vfill%<- added
    \begin{beamercolorbox}[sep=8pt,center]{date}
      \usebeamerfont{date}\insertdate
    \end{beamercolorbox}%
    \vskip0cm%<- changed
%    {\usebeamercolor[fg]{titlegraphic}\inserttitlegraphic\par}
  \endgroup
%  \vfill%<- removed
}
\makeatother

\title{Big Title}
\subtitle{Small title}
\author{Name Surname}
\institute{Excellent University}
\date{Meeting, January 24, 2018}

\begin{document}
\frame{\titlepage}

\begin{frame}
    \rule{2pt}{1cm}
\end{frame}

\end{document}

在此处输入图片描述

相关内容