我的名字不应该出现在侧边栏,而应该出现在演示文稿的页脚或标题页中。
答案1
\documentclass{beamer}
\useoutertheme{shadow}
\usetheme{PaloAlto}
\title{The title}
\author{The Author}
\makeatletter
\setbeamertemplate{sidebar \beamer@sidebarside}
{
\beamer@tempdim=\beamer@sidebarwidth%
\advance\beamer@tempdim by -6pt%
{\usebeamerfont{title in sidebar}%
\vskip1.5em%
\hskip3pt%
\usebeamercolor[fg]{title in sidebar}%
\insertshorttitle[width=\beamer@tempdim,center,respectlinebreaks]\par%
\vskip1.25em%
}%
% {%
% \hskip3pt%
% \usebeamercolor[fg]{author in sidebar}%
% \usebeamerfont{author in sidebar}%
% \insertshortauthor[width=\beamer@tempdim,center,respectlinebreaks]\par%
% \vskip1.25em%
% }%
\insertverticalnavigation{\beamer@sidebarwidth}%
\vfill
\ifx\beamer@sidebarside\beamer@lefttext%
\else%
\usebeamercolor{normal text}%
\llap{\usebeamertemplate***{navigation symbols}\hskip0.1cm}%
\vskip2pt%
\fi%
}%
\makeatother
\begin{document}
\section{Section Test}
\begin{frame}{Frame title}
test
\end{frame}
\end{document}