Beamer 演示 - 非分割子栏问题

Beamer 演示 - 非分割子栏问题

我想创建以下投影仪演示文稿,但不幸的是,我无法做到。我不知道需要使用哪个包来解决这个问题。我正在使用pdf页面包裹。

这是我的代码:

\documentclass{beamer}

\usepackage{pdfpages}
\mode<presentation> {
  \usetheme{Warsaw}
  \setbeamercovered{transparent}
}
\usepackage[english]{babel}
\usepackage[utf8x]{inputenc}
\usepackage{amsmath}

%%%%%%%%%%%%%%%%%%%%%%%%%%%
\title[LLLLLLLL] 
{LLLLLLLL}

\author[]{XX}

\institute{YY \ UU}

\date[]{HHHHH}

\begin{document}

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

期望的输出如图所示。

在此处输入图片描述

答案1

您不需要一个包来解决这个问题,只需要对脚线有一个不同的定义:

\documentclass{beamer}

\usepackage{pdfpages}
\mode<presentation> {
  \usetheme{Warsaw}
  \setbeamercovered{transparent}
}
\usepackage[english]{babel}
\usepackage[utf8x]{inputenc}
\usepackage{amsmath}

%%%%%%%%%%%%%%%%%%%%%%%%%%%
\title[LLLLLLLL] 
{LLLLLLLL}

\author[]{XX}

\institute{YY \ UU}

\date[]{HHHHH}

\setbeamertemplate{page number in head/foot}[totalframenumber]

\makeatletter
\setbeamertemplate{footline}{%
  \leavevmode%
  \hbox{%
  \begin{beamercolorbox}[wd=\paperwidth,ht=2.25ex,dp=1ex,right]{date in head/foot}%
    \hfil
    \usebeamerfont{title in head/foot}\insertshorttitle
    \hfill
    \makebox[0pt][r]{
    \usebeamercolor[fg]{page number in head/foot}\usebeamerfont{page number in head/foot}\usebeamertemplate{page number in head/foot}\hspace*{2ex}} 
  \end{beamercolorbox}}%
  \vskip0pt%
}
\makeatother

\begin{document}

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

\end{document}

在此处输入图片描述

编辑对于严重过时的 tex 发行版,例如 overleaf 使用的发行版

\documentclass{beamer}

\usepackage{pdfpages}
\mode<presentation> {
  \usetheme{Warsaw}
  \setbeamercovered{transparent}
}
\usepackage[english]{babel}
\usepackage[utf8x]{inputenc}
\usepackage{amsmath}

%%%%%%%%%%%%%%%%%%%%%%%%%%%
\title[LLLLLLLL] 
{LLLLLLLL}

\author[]{XX}

\institute{YY \ UU}

\date[]{HHHHH}

\setbeamertemplate{page number in head/foot}[totalframenumber]

\makeatletter
\setbeamertemplate{footline}{%
  \leavevmode%
  \hbox{%
  \begin{beamercolorbox}[wd=\paperwidth,ht=2.25ex,dp=1ex,right]{date in head/foot}%
    \hfil
    \usebeamerfont{title in head/foot}\insertshorttitle
    \hfill
    \makebox[0pt][r]{\insertframenumber\,/\,\inserttotalframenumber\hspace*{2ex}} 
  \end{beamercolorbox}}%
  \vskip0pt%
}
\makeatother

\begin{document}

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

\end{document}

相关内容