我想将徽标放在投影仪的右上角,可能只与标题行对齐,但不应依赖于标题栏是否存在:-)。
以供参考,另一个话题就是将logo放在底线。
当前代码如下:
\documentclass[t]{beamer}
\beamertemplatenavigationsymbolsempty
\setbeamertemplate{footline}[frame number]
\logo{\makebox[1\paperwidth]{\includegraphics[width=.5cm,keepaspectratio]{logo.png}}}
\begin{document}
\begin{frame}[c]{Hello world}
\begin{itemize}
\item item 1
\item item 2
\item item 3
\end{itemize}
\end{frame}
\end{document}
当前输出为:
答案1
将其放在你喜欢的任何地方eso-pic
\documentclass[t]{beamer}
\usepackage{eso-pic}
\beamertemplatenavigationsymbolsempty
\setbeamertemplate{footline}[frame number]
\newcommand\AtPagemyUpperLeft[1]{\AtPageLowerLeft{%
\put(\LenToUnit{0.9\paperwidth},\LenToUnit{0.9\paperheight}){#1}}}
\AddToShipoutPictureFG{
\AtPagemyUpperLeft{{\includegraphics[width=.5cm,keepaspectratio]{logo.png}}}
}%
\begin{document}
\begin{frame}[c]{Hello world}
\begin{itemize}
\item item 1
\item item 2
\item item 3
\end{itemize}
\end{frame}
调整\LenToUnit{0.9\paperwidth},\LenToUnit{0.9\paperheight}
\newcommand\AtPagemyUpperLeft[1]{\AtPageLowerLeft{%
\put(\LenToUnit{0.9\paperwidth},\LenToUnit{0.9\paperheight}){#1}}}
如你所愿。