![包括带有部分导航的顶部框架标题](https://linux22.com/image/375093/%E5%8C%85%E6%8B%AC%E5%B8%A6%E6%9C%89%E9%83%A8%E5%88%86%E5%AF%BC%E8%88%AA%E7%9A%84%E9%A1%B6%E9%83%A8%E6%A1%86%E6%9E%B6%E6%A0%87%E9%A2%98.png)
在左上角,我有一个带有部分的导航,我想将框架标题放在右上方,而不是新的蓝线。到目前为止,我有这个:
\documentclass{beamer}
\usepackage{beamerthemesplit} % new
\usepackage{graphicx}
\usepackage[export]{adjustbox}
\usepackage{caption}
\usepackage{tikz}
\usepackage{subcaption}
\usepackage{epstopdf}
\usepackage{indentfirst}
\usepackage{verbatim}
\usepackage{amsmath,bm}
\usepackage{mathrsfs}
\usepackage{amsthm}
\usepackage{amssymb}
\usepackage{dsfont}
\usepackage{latexsym}
\graphicspath{{Images/}}
\usepackage{algorithm}
\usepackage[noend]{algpseudocode}
\usepackage{csquotes}
\usepackage{calrsfs}
\addtobeamertemplate{navigation symbols}{}{%
\usebeamerfont{footline}%
\usebeamercolor[fg]{footline}%
\hspace{1em}%
\insertframenumber/\inserttotalframenumber}
\DeclareMathAlphabet{\pazocal}{OMS}{zplm}{m}{n}
\newcommand{\M}{\pazocal{M}}
\newcommand{\I}{\pazocal{I}}
\newcommand{\F}{\pazocal{F}}
\newcommand{\Se}{\pazocal{S}}
\newcommand{\E}{\pazocal{E}}
\begin{document}
\frame{\frametitle{Overview}\tableofcontents}
\end{document}
最后我得到了这个:
我想移动右上角空蓝框中的标题。
答案1
将框架标题添加到标题中比较困难,因为在排版标题时,框架标题尚不清楚。但是您可以反过来做,将部分导航添加到框架标题中:
\documentclass{beamer}
\usepackage{beamerthemesplit}
\makeatletter
\setbeamertemplate{headline}{}
\setbeamertemplate{frametitle}{%
\leavevmode%
\tiny%
\@tempdimb=2.4375ex%
\ifnum\beamer@subsectionmax<\beamer@sectionmax%
\multiply\@tempdimb by\beamer@sectionmax%
\else%
\multiply\@tempdimb by\beamer@subsectionmax%
\fi%
\ifdim\@tempdimb>0pt%
\advance\@tempdimb by 1.825ex%
\vskip-3ex%
\hspace*{-\beamer@leftmargin}%
\begin{beamercolorbox}[wd=.5\paperwidth,ht=\@tempdimb]{section in head/foot}%
\vbox to\@tempdimb{\vfil\insertsectionnavigation{.5\paperwidth}\vfil}%
\end{beamercolorbox}%
\begin{beamercolorbox}[wd=.5\paperwidth,ht=\@tempdimb]{subsection in head/foot}%
\vbox to\@tempdimb{\vfil \quad \normalsize \insertframetitle \vfil}%
\end{beamercolorbox}%
\fi%
}
\makeatother
\begin{document}
\section{title}
\section{title}
\begin{frame}
\frametitle{Overview}
\end{frame}
\end{document}