在左上角,我有一个带有部分的导航,我想将框架标题放在右上方,而不是新的蓝线。到目前为止,我有这个:
\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}