Beamer 框架和标题框模板

Beamer 框架和标题框模板

为了解决这个问题,我查看了很多问题及其相关答案,但还是找不到我需要的帮助。我想为我的框架和标题框架创建一个 Beamer 模板,最终从哥廷根主题(第 150 页,CTAN 文档)。

我试过创建我自己的.sty文件定义和重新定义命令使用头线和脚线等等,但无法得到我想要的东西,我迷失在所有可能性中。到目前为止,我得到的最接近的 MWE 如下:

\documentclass[french]{beamer}

%%%%%%%%%%%%%%%%
%%%%PACKAGES%%%%
%%%%%%%%%%%%%%%%

\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
%\usepackage{authblk}
\usepackage{tikz,graphicx}                                  %pictures, graphs, tikz elts
\usetikzlibrary{calc,shapes,decorations.pathmorphing,backgrounds,plotmarks,3d,patterns}
\graphicspath{{./Medias/}}

%%%%%%%%%%%%
%%%%DATA%%%%
%%%%%%%%%%%%

\logo{\includegraphics[width=0.1\paperwidth]{LOGO.PNG}}
\title[Short title]{Main Title}
\subtitle{This long subtitle might need to be displayed on several lines sometimes.}
\author{\textsc{Name} Surname\inst{1,2}}
%\author[1]{\textsc{Super} Visor 1\inst{1}}\\
%\author[2]{\textsc{Super} Visor 2\inst{2}}
\date{\today}


\institute{
    \inst{1}
    Uni for Students\\
    University
    \and
    \inst{2}
    Place for work\\
    Start-up
}

\usetheme[hideothersubsections,right]{Goettingen}

\AtBeginSection[]
{
  \begin{frame}
    \frametitle{Table of Contents}
    \tableofcontents[currentsection]
  \end{frame}
}

%%%%%%%%%%%%%%
%%%%FRAMES%%%%
%%%%%%%%%%%%%%

\makeatletter
\setbeamertemplate{title page}{
    \begin{flushleft}
        \begin{beamercolorbox}[wd=1cm]{logo}
            \insertlogo\par
        \end{beamercolorbox}
    \end{flushleft}
    \vbox{}
    \vfill
    \begingroup
    \centering
    \begin{beamercolorbox}[sep=4pt,center]{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]{author}
      \usebeamerfont{author}\insertauthor
    \end{beamercolorbox}
    \begin{beamercolorbox}[sep=8pt,center]{institute}
      \usebeamerfont{institute}\insertinstitute
    \end{beamercolorbox}
    \begin{beamercolorbox}[sep=8pt,center]{date}
      \usebeamerfont{date}\insertdate
    \end{beamercolorbox}\vskip0.5em
    {\usebeamercolor[fg]{titlegraphic}\inserttitlegraphic\par}
  \endgroup
  \vfill
}
\makeatother



\makeatletter
\setbeamertemplate{frametitle}{
    \begin{flushleft}
        \begin{beamercolorbox}[wd=1cm]{logo}
            \insertlogo\par
        \end{beamercolorbox}
    \end{flushleft}
    \hspace{2pt}
    }
\makeatother



%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%START DOCUMENT%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\begin{document}

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

\begin{frame} 
\frametitle{There Is No Largest Prime Number} 
\framesubtitle{The proof uses \textit{reductio ad absurdum}.} 
\begin{theorem}
There is no largest prime number. \end{theorem} 
\begin{enumerate} 
\item<1-| alert@1> Suppose $p$ were the largest prime number. 
\item<2-> Let $q$ be the product of the first $p$ numbers. 
\item<3-> Then $q+1$ is not divisible by any of them. 
\item<1-> But $q + 1$ is greater than $1$, thus divisible by some prime
number not in the first $p$ numbers.
\end{enumerate}
\end{frame}

\end{document}

到目前为止,它给了我这些框架:

标题框框架

但我正在寻找类似的东西(.ppt制作):

标题框确定框架好

因此,现在,我无法让标题接受徽标和主管姓名垂直居中,并且我希望能够像在文档中一样自定义页脚和标题report,即:

\lhead{\insertlogo} 
\chead{\bfseries Title}
\rhead{ \textsl{Report}} 
\lfoot{YXX} 
\cfoot{\bfseries \textsl {\small \textcolor{Red1}{\fbox{IMPORTANT THING HERE}}}}
\rfoot{\thepage}

谢谢您提供的任何帮助,我们非常感激。

相关内容