有没有办法调整 Beamer 中脚注栏的大小

有没有办法调整 Beamer 中脚注栏的大小
\documentclass{beamer}

%\setbeamersize{text margin left=5pt,text margin right=5pt}

\mode<presentation> { \usetheme{boxes} }
%\usetheme{FrankKurt}

\usepackage{latexsym,amsfonts,amssymb,amsmath,amsthm,comment}
\usepackage{beamerthemesplit}
\usepackage{graphics}
\usepackage{graphicx}

\title[{\makebox[.45\paperwidth]{\hfill%
        Very Very very very Very Very very very long long long long long title \hspace{.2in}\insertframenumber/\inserttotalframenumber}}]{Very Very very very Very Very very very long long long long long title}

\author[Author Name]{}
\vskip -.5in

\date{}% to not show date

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

在此处输入图片描述

答案1

我建议使用可选参数来\title指定较短的标题。

但是,如果您希望更改页脚中框的宽度,则需要查看 时定义的模板footline\usepackage{beamerthemesplit}为此,我们查看beamerouterthemesplit.sty

\defbeamertemplate*{footline}{split theme}
{%
  \leavevmode%
  \hbox{\begin{beamercolorbox}[wd=.5\paperwidth,ht=2.5ex,dp=1.125ex,leftskip=.3cm plus1fill,rightskip=.3cm]{author in head/foot}%
    \usebeamerfont{author in head/foot}\insertshortauthor
  \end{beamercolorbox}%
  \begin{beamercolorbox}[wd=.5\paperwidth,ht=2.5ex,dp=1.125ex,leftskip=.3cm,rightskip=.3cm plus1fil]{title in head/foot}%
    \usebeamerfont{title in head/foot}\insertshorttitle
  \end{beamercolorbox}}%
  \vskip0pt%
}

注意两个 es 是如何beamercolorbox定义的。第一个(左)的宽度为.5\paperwidth,第二个(右)的宽度也为 。下面我将这个 50:50 的比例改为 35:65:

在此处输入图片描述

\documentclass{beamer}

\mode<presentation> { \usetheme{boxes} }

\usepackage{beamerthemesplit}

% Update footline template to have a 35:65 ratio in the boxes
\setbeamertemplate{footline}
{%
  \leavevmode%
  \hbox{\begin{beamercolorbox}[wd=.35\paperwidth,ht=2.5ex,dp=1.125ex,leftskip=.3cm plus1fill,rightskip=.3cm]{author in head/foot}%
    \usebeamerfont{author in head/foot}\insertshortauthor
  \end{beamercolorbox}%
  \begin{beamercolorbox}[wd=.65\paperwidth,ht=2.5ex,dp=1.125ex,leftskip=.3cm,rightskip=.3cm plus1fil]{title in head/foot}%
    \usebeamerfont{title in head/foot}\insertshorttitle
  \end{beamercolorbox}}%
  \vskip0pt%
}

\title
  [Very Very very very Very Very very very long long long long long title \hspace{.2in}\insertframenumber/\inserttotalframenumber]
  {Very Very very very Very Very very very long long long long long title}

\author[Author Name]{}
\date{}% to not show date

\begin{document}

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

\end{document}

相关内容