Beamer Szeged 没有导航点也没有帧号

Beamer Szeged 没有导航点也没有帧号

我使用带有 Szeged 主题的 beamer,并且我希望在页脚中拥有导航点(我猜这通常是默认设置)和帧编号。

我的代码如下,我想我在这里忽略了一个显而易见的事情......但是在我的输出文件中,我的部分没有上部的点,也没有帧号。

\documentclass{beamer}
\usepackage[ngerman,english]{babel}
\usepackage[utf8]{inputenc}
\usepackage{lmodern}
\usepackage{amsmath,amsfonts,amssymb}
\usepackage{graphicx}
\usepackage{arydshln}
\setbeamerfont{caption}{size=\footnotesize}
\usetheme{Szeged}
\usecolortheme{beaver}
\usefonttheme{professionalfonts}

\setbeamercovered{highly dynamic}


\newcounter{saveenumi}
\newcommand{\seti}{\setcounter{saveenumi}{\value{enumi}}}
\newcommand{\conti}{\setcounter{enumi}{\value{saveenumi}}}
\resetcounteronoverlays{saveenumi}

\beamertemplatenavigationsymbolsempty

\setbeamercolor*{item}{fg=black}
\setbeamertemplate{enumerate items}[default]


\setbeamertemplate{footline}[framenumber]
\title[]{Title}
\author[]{A:T \inst{1}\\B.T \inst{2}\\  C.A \inst{1}}
\date[]{xx.mm.yyyy}
 \institute[]{\inst{1}Something\\Somewhere\\ \inst{2} Something\\Somewhere}


\begin{document}

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


\section{First Section}
\begin{frame}
\frametitle{Hello}
\textbf{here we go}



\end{frame}

我很感激任何帮助!

答案1

像这样?

\documentclass[compress]{beamer}

\usetheme{Szeged}

\usecolortheme{beaver}
\usefonttheme{professionalfonts}

\makeatletter
\setbeamertemplate{footline}{
  \leavevmode%
  \hbox{%
  \begin{beamercolorbox}[wd=.333333\paperwidth,ht=2.25ex,dp=1ex,center]{author in head/foot}%
    \usebeamerfont{author in head/foot}\insertshortauthor\expandafter\beamer@ifempty\expandafter{\beamer@shortinstitute}{}{~~(\insertshortinstitute)}
  \end{beamercolorbox}%
  \begin{beamercolorbox}[wd=.333333\paperwidth,ht=2.25ex,dp=1ex,center]{title in head/foot}%
    \usebeamerfont{title in head/foot}\insertshorttitle
  \end{beamercolorbox}%
  \begin{beamercolorbox}[wd=.333333\paperwidth,ht=2.25ex,dp=1ex,right]{date in head/foot}%
    \usebeamerfont{date in head/foot}\insertshortdate{}\hspace*{2em}
    \insertframenumber{} / \inserttotalframenumber\hspace*{2ex} 
  \end{beamercolorbox}}%
  \vskip0pt%
}
\makeatother


\title[sd]{Title}
\author[d]{A:T \inst{1}\\B.T \inst{2}\\  C.A \inst{1}}
\date[sd]{xx.mm.yyyy}
 \institute[]{\inst{1}Something\\Somewhere\\ \inst{2} Something\\Somewhere}


\begin{document}

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


\section{First Section}
\subsection{}
\begin{frame}
\frametitle{Hello}
\textbf{here we go}



\end{frame}

\end{document}

在此处输入图片描述

相关内容