![Beamer:项目出现时会出现项目符号](https://linux22.com/image/350178/Beamer%EF%BC%9A%E9%A1%B9%E7%9B%AE%E5%87%BA%E7%8E%B0%E6%97%B6%E4%BC%9A%E5%87%BA%E7%8E%B0%E9%A1%B9%E7%9B%AE%E7%AC%A6%E5%8F%B7.png)
我正在 beamer 中尝试以下代码
\documentclass{beamer}
\usetheme{Madrid}
\usecolortheme{beaver}
\setbeamercolor{section in head/foot}{bg=gray!10!white, fg=gray!10!white}
\setbeamercolor{palette quaternary}{bg=darkred}
\usepackage[utf8x]{inputenc}
\usepackage{smartdiagram}
\usepackage{pst-coil,pst-slpe}
\setbeamertemplate{headline}{%
\leavevmode%
\hbox{%
\begin{beamercolorbox}[wd=\paperwidth,ht=2.5ex,dp=1.125ex]{palette quaternary}%
\insertsectionnavigationhorizontal{\paperwidth}{}{}
\end{beamercolorbox}%
}
}
\begin{document}
\begin{frame}
\begin{onlyenv}<1-7>
\begin{itemize}
%&\addtolength{\itemindent}{-0.5cm}
\item \only<2-7>{text text text text text text} \only<3-7>{text text text text text text.}
\item \only<4-7>{text text text text text text}\only<5-7>{text text text text text text.}
\item \only<6-6>{text text text text text text.} \only<7-7>{another text another text another text another text.}
\end{itemize}
\end{onlyenv}
\end{frame}
\end{document}
第一张幻灯片展示了项目出现之前的三个项目符号。
我希望项目出现时项目符号也出现。我在网上找不到任何解决方案。提前谢谢您。
答案1
\documentclass{beamer}
\usetheme{Madrid}
\usecolortheme{beaver}
\begin{document}
\begin{frame}
\begin{onlyenv}<1-7>
\begin{itemize}
\item<2-7> \only<2-7>{text text text text text text}
\only<3-7>{text text text text text text.}
\item<4-7> \only<4-7>{text text text text text text}
\only<5-7>{text text text text text text.}
\item<6-7> \only<6-6>{text text text text text text.}
\only<7-7>{another text another text another text another text.}
\end{itemize}
\end{onlyenv}
\end{frame}
\end{document}