我有点好奇:有些 Beamer 主题(例如,Ilmenau)有“指示器”来指示我们在幻灯片上的位置(我不知道正确的术语是什么),还有一些球代表幻灯片的数量和当前幻灯片。其他主题(例如,PaloAlto)没有。有什么方法可以将其添加到任何主题中吗?
我想在顶部添加小框架。
\documentclass{beamer}
\usepackage{tikz}
\title{Os Teoremas de Philip Hall e uma caracterização para Grupos Solúveis}
\author[Lucas Corrêa Lopes]{Lucas Corrêa Lopes\\ {\small Orientador: André Luiz Martins Pereira}}
\date{}
\institute{Unversidade Federal Rural do Rio de Janeiro}
%Tema 1:
\usetheme{PaloAlto}
\logo{\includegraphics[scale=0.26]{logo_ufrrj(1).png} }
\setbeamercolor{logo}{bg=white}
\usecolortheme{orchid}
\usefonttheme{serif}
\begin{document}
\frame{\titlepage}
\end{document}
答案1
您可以将微型框架导航添加到标题:
\documentclass{beamer}
\usepackage{tikz}
\title{Os Teoremas de Philip Hall e uma caracterização para Grupos Solúveis}
\author[Lucas Corrêa Lopes]{Lucas Corrêa Lopes\\ {\small Orientador: André Luiz Martins Pereira}}
\date{}
\institute{Unversidade Federal Rural do Rio de Janeiro}
%Tema 1:
\usetheme{PaloAlto}
\logo{\includegraphics[scale=0.26]{example-image-duck}}
\setbeamercolor{logo}{bg=white}
\usecolortheme{orchid}
\usefonttheme{serif}
\makeatletter
\setbeamertemplate{headline}{%
\begin{beamercolorbox}[wd=\paperwidth]{frametitle}
\ifx\beamer@sidebarside\beamer@lefttext%
\else%
\hfill%
\fi%
\ifdim\beamer@sidebarwidth>0pt%
\usebeamercolor[bg]{logo}%
\vrule width\beamer@sidebarwidth height \beamer@headheight%
\hskip-\beamer@sidebarwidth%
\hbox to \beamer@sidebarwidth{\hss\vbox to
\beamer@headheight{\vss\hbox{\color{fg}\insertlogo}\vss}\hss}%
\else%
\vrule width0pt height \beamer@headheight%
\fi%
\begin{minipage}[b][\beamer@headheight][c]{\dimexpr\paperwidth-\beamer@sidebarwidth}%
\insertnavigation{\dimexpr\paperwidth-\beamer@sidebarwidth}
\end{minipage}%
\end{beamercolorbox}
}
\makeatother
\begin{document}
\section{title}
\subsection{title}
\begin{frame}
\end{frame}
\section{title}
\subsection{title}
\begin{frame}
\end{frame}
\end{document}