如何使用 Ilmenau 主题定制标题页?

如何使用 Ilmenau 主题定制标题页?

我想在 Beamer 中显示我的标题页,如下图所示。我不希望标题页中有目录图。此外,我无法显示标题页中的所有信息;日期和主管。我如何删除空间以显示所有信息。代码如下:

\documentclass[slidestop,compress,mathserif,11pt,xcolor=dvipsnames]   
   {beamer}
  \usepackage[french]{babel}
  \usepackage{pifont}
  \usefonttheme{professionalfonts}
  \definecolor{LHCblue}{RGB}{4, 114, 255}
  \definecolor{charcoal}{RGB}{34,34,34}
  %Packages
  \usepackage[bars]{beamerthemetree}%Beamer theme v 2.2
  \usepackage{beamerthemebars}
  \usepackage{ifthen}
  \usepackage{multimedia}
  \mode<presentation>
  %Theme commands
  \usecolortheme[named=LHCblue]{structure}
  % \setbeamercovered{highly dynamic}
  \usetheme{Ilmenau}% Beamer theme v 3.0
 \useoutertheme[subsection=true]{smoothbars}%Beamer Outer Theme-circles  on top
 \usefonttheme{serif}
 \useinnertheme{circles} %rectangle bullet points instead of circle ones
 \setbeamercolor{navigation symbols dimmed}{fg=red!80!black}
 \setbeamercolor{navigation symbols}{fg=red!80!black}
 \usefonttheme{professionalfonts}
 %
 \newcommand*\oldmacro{}%Pages at the bottom right corner
 \let\oldmacro\insertshorttitle%
 \renewcommand*\insertshorttitle{%
 \oldmacro\hfill%
\insertframenumber\,}%/\,\inserttotalframenumber
% \setbeamertemplate{footline}[frame number]

\usepackage{amsmath,amssymb}

\usetheme{Ilmenau}
\title[xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx]{xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx}
\author[Mr. xxxxxxxx]{Pr\'{e}sent\'{e}e par: \textbf{Mr. xxxxxxxxxx}}
\institute[xxxxxxxxxxxxxxxxxxxxxx]{ }
\date{02/2017}
\begin{document}
\begin{columns}
\begin{column}{1cm}
  \centering
   \includegraphics[width=1cm, height = 0.95cm]{logoUni.jpg}
  \end{column}
  \begin{column}{9cm}
 \centering
 {\textbf{\textcolor{black}{
 \fontsize{6}{6}\selectfont {Minist\`{e}re de l'Enseignement  Sup\'{e}rieur et de la Recherche Scientifique \\
 Universit\'{e} Abderrahmane Mira de B\'{e}jaia, Facult\'{e} des Sciences Exactes\\
 Unit\'{e} de Recherche LaMOS}
 }}}
 \end{column}
 \begin{column}{2cm}
 \centering
 \includegraphics[width=2cm, height = 0.90cm]{logo.png}
 \end{column}
\end{columns}
\vspace{1cm}
 \center {SOUTENANCE D'UNE TH\`{E}SE DE DOCTORAT EN MATH\'{E}MATIQUES  APPLIQU\'{E}ES}
  \titlepage
  \begin{frame}
  \frametitle{Table of Contents}
  \small \tableofcontents
  \end{frame}
  \section{A}
  \subsection{AA}
  \begin{frame}A\end{frame}
   \subsection{AA}
  \begin{frame}A\end{frame}
  \section{B}
  \subsection{BA}
  \begin{frame}B\end{frame}
  \subsection{BB}
  \begin{frame}B\end{frame}
  \subsection{BC}
  \begin{frame}B\end{frame}
  \begin{frame}B\end{frame}
  \begin{frame}B\end{frame}
  \section{C}
  \subsection{CA}
  \begin{frame}C\end{frame}
  \subsection{CB}
  \begin{frame}C\end{frame}
 \end{document} 

在此处输入图片描述

答案1

以下代码实际上只是一种肮脏的黑客行为 - 要​​正确执行此操作,需要为 beamer 定义自定义标题页模板。最重要的事情是:

  • 所有内容都必须位于框架环境中。否则垂直方向将出现错误,并且框架编号将产生疯狂的结果。

  • 一些 beamer 选项已被弃用,我根据它们引起的各种警告用新的语法替换了它们。

  • 可以使用以下方法对列进行顶部对齐T

  • 从页眉/页脚中删除信息通常需要重新定义它们,但如果字体颜色与背景颜色匹配,则内容是不可见的。


\documentclass[t,compress,11pt,xcolor=dvipsnames]{beamer}

\usepackage[french]{babel}
\usepackage{pifont}
\usepackage{ifthen}

\definecolor{LHCblue}{RGB}{4, 114, 255}
\definecolor{charcoal}{RGB}{34,34,34}

\usetheme{Ilmenau}
\usefonttheme{professionalfonts}
\usefonttheme{serif}
\useoutertheme{tree}
\useoutertheme[subsection=true]{smoothbars}
\useinnertheme{circles}
\usecolortheme[named=LHCblue]{structure}

\setbeamercolor{navigation symbols dimmed}{fg=red!80!black}
\setbeamercolor{navigation symbols}{fg=red!80!black}

\newcommand*\oldmacro{}
\let\oldmacro\insertshorttitle%
\renewcommand*\insertshorttitle{%
    \oldmacro\hfill%
    \insertframenumber\,%
}

\usepackage{amsmath,amssymb}

\usetheme{Ilmenau}
\title[xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx]{xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx}
\author[Mr. xxxxxxxx]{Pr\'{e}sent\'{e}e par: \textbf{Mr. xxxxxxxxxx}\\
Encadre\'{e}e par: Professeur}
\institute[xxxxxxxxxxsdxxxxxxxxxxxx]{ }
\date{02/2017}

\begin{document}

{
\setbeamercolor{section in head/foot}{fg=black}
\setbeamercolor{author in head/foot}{fg=structure.fg!75!black}
\setbeamercolor{institute in head/foot}{fg=structure.fg!75!black}
\begin{frame}
    \vskip0.5cm
    \begin{columns}[T]
        \begin{column}{1cm}
            \includegraphics[width=1cm]{example-image}
        \end{column}
        \begin{column}{9cm}
            \bfseries
            \color{black}
            \fontsize{6}{6}\selectfont 
            \centering
                Minist\`{e}re de l'Enseignement  Sup\'{e}rieur et de la Recherche Scientifique \\
                Universit\'{e} Abderrahmane Mira de B\'{e}jaia, Facult\'{e} des Sciences Exactes\\
                Unit\'{e} de Recherche LaMOS
        \end{column}
        \begin{column}{2cm}
            \includegraphics[width=2cm, height = 0.90cm]{example-image}
        \end{column}
    \end{columns}
    \begin{center}
        SOUTENANCE D'UNE TH\`{E}SE DE DOCTORAT EN MATH\'{E}MATIQUES  APPLIQU\'{E}ES
    \end{center}
    \vskip-1cm
    \titlepage
\end{frame}
}

  \begin{frame}
  \frametitle{Table of Contents}
  \small \tableofcontents
  \end{frame}
  \section{A}
  \subsection{AA}
  \begin{frame}A\end{frame}
   \subsection{AA}
  \begin{frame}A\end{frame}
  \section{B}
  \subsection{BA}
  \begin{frame}B\end{frame}
  \subsection{BB}
  \begin{frame}B\end{frame}
  \subsection{BC}
  \begin{frame}B\end{frame}
  \begin{frame}B\end{frame}
  \begin{frame}B\end{frame}
  \section{C}
  \subsection{CA}
  \begin{frame}C\end{frame}
  \subsection{CB}
  \begin{frame}C\end{frame}

\end{document} 

在此处输入图片描述

相关内容