这是一个使用表情符号包以及叠加规范来单独显示每一行的示例。是否可以像其余文本一样使表情符号完全透明?
梅威瑟:
\documentclass{beamer}
\usepackage{emoji}
\setbeamercovered{transparent=0}
\begin{document}
\begin{frame}{Test}
\begin{itemize}[<+->]
\item This will appear on the first slide.
\item This will appear on the second slide. \emoji{drop-of-blood}
\end{itemize}
\end{frame}
\end{document}
目前结果:
答案1
如果您想要的是“完全透明”而不是非零透明度级别,那么您可以删除该行\setbeamercovered{transparent=0}
。
\documentclass{beamer}
\usepackage{emoji}
%\setbeamercovered{transparent=0}
\begin{document}
\begin{frame}{Test}
\begin{itemize}[<+->]
\item This will appear on the first slide.
\item This will appear on the second slide. \emoji{drop-of-blood}
\end{itemize}
\end{frame}
\end{document}
答案2
虽然不是完全自动化,但\only<2->{}
似乎可以工作。
% LuaTeX because of the emoji package.
\documentclass{beamer}
\usepackage{emoji}
\setbeamercovered{transparent=0}
\begin{document}
\begin{frame}{Test}
\begin{itemize}[<+->]
\item This will appear on the first slide.
\item This will appear on the second slide. \only<2->{\emoji{drop-of-blood}}
\item This will appear on the third slide.
\end{itemize}
\end{frame}
\end{document}