我在一张幻灯片中有一些层次结构,我想将其保留在下一张幻灯片中。我该怎么做?
代码示例:
\documentclass[ps,clariphy]{prosper} %% clariphy it's the company where I work. I Think it's an environment
\begin{document}
\begin{slide}{ Slide 1}
\begin{itemize}
\item Item 1
\begin{itemize}
\item Item A
\end{itemize}
\end{itemize}
\end{slide}
\begin{slide}{ Slide 2}
\begin{itemize} %%Same hierarchy of "Item A"
\item Item B
\end{itemize}
\end{slide}
\end{document}
我想要幻灯片 2 上的“项目 B”与幻灯片 1 上的“项目 A”具有相同的层次结构(绿色)。
答案1
像这样?显然我必须删除自定义样式。
\documentclass[ps]{prosper} %% clariphy it's the company where I work. I Think it's an environment
\begin{document}
\begin{slide}{ Slide 1}
\begin{itemize}
\item Item 1
\begin{itemize}
\item Item A
\end{itemize}
\end{itemize}
\end{slide}
\begin{slide}{ Slide 2}
\begin{itemize}
\item[] \phantom{Item 1}
\begin{itemize} %%Same hierarchy of "Item A"
\item Item B
\end{itemize}
\end{itemize}
\end{slide}
\end{document}
答案2
[解决了]
在另一张幻灯片上继续层次结构的方法是设置“空”项目符号。这不是更好的方法。但它对我有用:
解决的代码示例:
\documentclass[ps,clariphy]{prosper} %% clariphy it's the company where I work. I Think it's an environment
\begin{document}
\begin{slide}{ Slide 1}
\begin{itemize}
\item Item 1
\begin{itemize}
\item Item A
\end{itemize}
\end{itemize}
\end{slide}
\begin{slide}{ Slide 2}
\begin{itemize}
\item[ ] %% Empty bullet to solve hierarchy problem
\begin{itemize} %%Same hierarchy of "Item A"
\item Item B
\end{itemize}
\end{itemize}
\end{slide}
\end{document}