Beamer 标题页文本重新排列

Beamer 标题页文本重新排列

我使用在线模板在 Xelatex Beamer 中制作了以下标题页。我对外观很满意。我只想将徽标和作者的顺序与讲座主题和日期交换。我希望讲座主题和日期在中间,徽标和作者信息在最后一行,中间留出一些额外的空间。脚注中的所有其他设置都是合适的。我附上了代码和图像以供参考。

在图片中,我用红色和蓝色标记了颜色交换方向。绿色部分不需要改变,因此它们在所有幻灯片中保持不变。提前谢谢您。

\documentclass[11pt]{beamer}

\usepackage{graphicx}
\usepackage{multicol}
\usepackage{listings}
\usepackage{booktabs}

\usetheme{Madrid}

\usecolortheme{seahorse}

\usefonttheme{professionalfonts}
\usefonttheme{serif} 
\usepackage{fontspec}
\setmainfont[Ligatures=TeX]{Futura Medium.ttf}
\newfontfamily\fb{Futura Bold.ttf}

\useinnertheme{circles}

\title[Name of the Course]{Name of the Course}

\author[Lecture 1: Topic of the Lecture]{}

\titlegraphic{%
  \begin{picture}(0,0)
    \put(-70,110){\makebox(0,0)[rt]{\includegraphics[width=1cm]{logo}}}
  \end{picture}}
\institute[]{{\fb{Author Name}} \\ \smallskip
\text{Electrical and Computer Engineering} \\ \smallskip
\textit{[email protected]}}

\date[Author Name]{
Lecture 1: Topic of the Lecture \\ May 04, 2022}

\begin{document}
\boldmath

\begin{frame}
    \titlepage 
\end{frame}

\end{document}

红色和蓝色需要互换,绿色就可以

答案1

您可以重新定义标题页以按您想要的顺序排列信息:

\documentclass[11pt]{beamer}

%\usepackage{graphicx}
%\usepackage{multicol}
\usepackage{listings}
\usepackage{booktabs}

\usetheme{Madrid}

\usecolortheme{seahorse}

\usefonttheme{professionalfonts}
\usefonttheme{serif} 


\useinnertheme{circles}

\title[Name of the Course]{Name of the Course}

\author[Lecture 1: Topic of the Lecture]{}

\titlegraphic{%
  \begin{picture}(0,0)
    \put(-70,50){\makebox(0,0)[rt]{\includegraphics[width=1cm]{example-image-duck}}}
  \end{picture}}
\institute[]{{{Author Name}} \\ \smallskip
\text{Electrical and Computer Engineering} \\ \smallskip
\textit{[email protected]}}

\date[Author Name]{
Lecture 1: Topic of the Lecture \\ May 04, 2022}

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

\begin{document}

\begin{frame}
    \titlepage 
\end{frame}

\end{document}

在此处输入图片描述

相关内容