Beamer 将标题图形添加到顶部

Beamer 将标题图形添加到顶部

我想要的是

我想将我的标题图形与顶部中心对齐。

代码

\documentclass{beamer}
\usetheme{Copenhagen}
\usecolortheme{beaver}

%no navigation symbols
\setbeamertemplate{navigation symbols}{}
%no headline
\setbeamertemplate{headline}{}
%no footline
\setbeamertemplate{footline}{}
%insert frame numbering
\addtobeamertemplate{navigation symbols}{}{
    \usebeamerfont{footline}
    \usebeamercolor[fg]{footline}
    \hspace{1em}
    \large \insertframenumber/\inserttotalframenumber
}
%no frame number on the title frame
\AtBeginSection[]{
  \begingroup
  \setbeamertemplate{navigation symbols}{}
  \begin{frame}
  \frametitle{Outline}
  \tableofcontents[currentsection]
  \end{frame}
  \endgroup
}
%title frame does not count towards the numbering
\let\otp\titlepage
\renewcommand{\titlepage}{\otp\addtocounter{framenumber}{-1}}


%black title color
\setbeamercolor{title}{fg=black}
%black frame title color
\setbeamercolor{frametitle}{fg=black}



\titlegraphic{
    \includegraphics[width=2cm]{logopolito}
    \hspace*{1cm}~%
    \includegraphics[width=2cm]{logopolito}
    \hspace*{1cm}~%
    \includegraphics[width=2cm]{logopolito}
}
\author{Author\\[10mm]{\small Supervisor: Supervisor}}
\title{Title}
\institute{Institute}
\date{Date}



\begin{document}

\begingroup
\setbeamertemplate{navigation symbols}{}
\frame[plain]{\titlepage}
\endgroup


\begin{frame}{Test 1}

\begin{columns}

\column{0.5\textwidth}
Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book.
\column{0.5\textwidth}
Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book.
\end{columns}

\end{frame}


\begin{frame}{Test 2}
    
\end{frame}

\end{document}

截图

目前的样子。

在此处输入图片描述

看起来应该怎么样。

在此处输入图片描述

答案1

不使用\titlegraphic宏,你可以将图像放在包含标题页的框架的开头:

\documentclass{beamer}
\usetheme{Copenhagen}
\usecolortheme{beaver}

%no navigation symbols
\setbeamertemplate{navigation symbols}{}
%no headline
\setbeamertemplate{headline}{}
%no footline
\setbeamertemplate{footline}{}
%insert frame numbering
\addtobeamertemplate{navigation symbols}{}{
    \usebeamerfont{footline}
    \usebeamercolor[fg]{footline}
    \hspace{1em}
    \large \insertframenumber/\inserttotalframenumber
}
%no frame number on the title frame
\AtBeginSection[]{
  \begingroup
  \setbeamertemplate{navigation symbols}{}
  \begin{frame}
  \frametitle{Outline}
  \tableofcontents[currentsection]
  \end{frame}
  \endgroup
}
%title frame does not count towards the numbering
\let\otp\titlepage
\renewcommand{\titlepage}{\otp\addtocounter{framenumber}{-1}}


%black title color
\setbeamercolor{title}{fg=black}
%black frame title color
\setbeamercolor{frametitle}{fg=black}



\author{Author\\[10mm]{\small Supervisor: Supervisor}}
\title{Title}
\institute{Institute}
\date{Date}



\begin{document}

\begingroup
\setbeamertemplate{navigation symbols}{}
\frame[plain]{
    \centering
    \includegraphics[width=2cm]{logopolito}
    \hspace*{1cm}~%
    \includegraphics[width=2cm]{logopolito}
    \hspace*{1cm}~%
    \includegraphics[width=2cm]{logopolito}

\titlepage}
\endgroup


\begin{frame}{Test 1}

\begin{columns}

\column{0.5\textwidth}
Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book.
\column{0.5\textwidth}
Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book.
\end{columns}

\end{frame}


\begin{frame}{Test 2}
    
\end{frame}

\end{document}

在此处输入图片描述

相关内容