更改华沙和信息线中的进度条

更改华沙和信息线中的进度条

我正在努力改变,但没有成功进度条在每张幻灯片的顶部使用时与下面完全相同华沙主题和外部主题信息线

(如果我删除信息线,那么我想要的页码布局等就会改变)

在此处输入图片描述

\documentclass{beamer}

\mode<presentation> {

\usetheme{Warsaw}
\useoutertheme{infolines}


}

\usepackage[backend=bibtex]{biblatex}

\usepackage{textpos}
\usepackage[retainorgcmds]{IEEEtrantools} %For TexLive
\usepackage{comment}
\bibliography{references}
\usepackage[disable,colorinlistoftodos]{todonotes}
\usepackage{subcaption}
\captionsetup{compatibility=false}
\beamertemplatenavigationsymbolsempty 
\usepackage[framemethod=tikz]{mdframed} 
\setbeamertemplate{caption}[numbered] 
%----------------------------------------------------------------------------------------
%   TITLE PAGE
%----------------------------------------------------------------------------------------

\title[\date{\today} ]{Title  } 

\subtitle{heading}
\author[au]{author} % Your name
\institute[]
{  
}
\date[]{\today} % Date, can be changed to a custom date

\begin{document}

    \section{Test section one}
    \begin{frame}
        test
    \end{frame}
    \subsection{Test subsection}
    \begin{frame}
        test
    \end{frame}
    \subsection{Test subsection}
    \begin{frame}
        test
    \end{frame}
    \subsection{Test subsection}
    \begin{frame}
        test
    \end{frame}

    \section{Test section one}
    \begin{frame}
        test
    \end{frame}
    \subsection{Test subsection}
    \begin{frame}
        test
    \end{frame}
    \subsection{Test subsection}
    \begin{frame}
        test
    \end{frame}
    \subsection{Test subsection}
    \begin{frame}
        test
    \end{frame}
    \subsection{Test subsection}
    \begin{frame}
        test
    \end{frame}
    \subsection{Test subsection}
    \begin{frame}
        test
    \end{frame}

\end{document}

答案1

我会反过来选择一个你想要的标题的主题,然后简单地从infolines

\documentclass{beamer}

\mode<presentation>{

\definecolor{bluecern}{HTML}{0053A1}
\usetheme{Darmstadt}

\setbeamercolor{structure}{fg=bluecern}
\setbeamercolor{subsection in head/foot}{bg=bluecern}
}
\makeatletter
\mode<presentation>{
\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[\date{\today}]{Title} 
\subtitle{heading}
\author[au]{author} 
\institute[]{}
\date[]{\today} 

\begin{document}

    \section{Test section one}
    \begin{frame}
        test
    \end{frame}
    \subsection{Test subsection}
    \begin{frame}
        test
    \end{frame}
    \subsection{Test subsection}
    \begin{frame}
        test
    \end{frame}
    \subsection{Test subsection}
    \begin{frame}
        test
    \end{frame}

    \section{Test section one}
    \begin{frame}
        test
    \end{frame}
    \subsection{Test subsection}
    \begin{frame}
        test
    \end{frame}
    \subsection{Test subsection}
    \begin{frame}
        test
    \end{frame}
    \subsection{Test subsection}
    \begin{frame}
        test
    \end{frame}
    \subsection{Test subsection}
    \begin{frame}
        test
    \end{frame}
    \subsection{Test subsection}
    \begin{frame}
        test
    \end{frame}

\end{document}

在此处输入图片描述

相关内容