迷你框架导航(柏林)默认仅包含“节头”。
我想要添加“小节标题”,比如下面这张图:
我的代码是:
%! Tex program = pdflatex
\documentclass[UTF8,10pt]{beamer}
\useoutertheme{infolines}
\usetheme[compress]{Berlin}
\useinnertheme{rounded}
\setbeamerfont{font of headline by me}{size*={6}{1}}
\setbeamertemplate{headline}%
{
\begin{beamercolorbox}{section in head/foot}
\usebeamerfont{font of headline by me}
\vskip2pt\insertnavigation{\paperwidth}\vskip2pt
\end{beamercolorbox}%
}
\begin{document}
\section{Sec}
\subsection{subSec1}
\begin{frame}
\frametitle{frametitle of subSec1}
Hello
\end{frame}
\begin{frame}
\frametitle{frametitle of subSec1}
Hello
\end{frame}
\subsection{subSec2}
\begin{frame}
\frametitle{frametitle of subSec2}
Hello
\end{frame}
\end{document}
如何修改上述代码以满足我的要求?
谢谢大家 :)