
У меня естьлевыйиверноИзображения. Я хочу разместить их рядом и накладывать их друг на друга, нажимая «Далее» в презентации. Левые изображения должны меняться с каждым щелчком, а правые изображения было бы неплохо накладывать друг на друга с каждым щелчком, чтобы старые данные все еще отображались в более слабой цветовой плотности. Я думал что-то вроде этого:
\begin{figure}[!htb]
\centering
\begin{minipage}{.5\textwidth}
\centering
\begin{overlayarea}{\textwidth}{\textheight}
\begin{figure}
\only<1>
{%
\includegraphics[width=.45\textwidth]{left1.png}%
}%
\only<2>
{%
\includegraphics[width=.45\textwidth]{left2.png}%
}%
\only<3>
{%
\includegraphics[width=.45\textwidth]{left3.png}%
}%
\end{figure}
\end{overlayarea}
\end{minipage}%
\begin{minipage}{0.5\textwidth}
\centering
\begin{overlayarea}{\textwidth}{\textheight}
\begin{figure}
\only<4>
{%
\includegraphics[width=.45\textwidth]{right1.png}%
}%
\only<5>
{%
\includegraphics[width=.45\textwidth]{right2.png}%
}%
\only<6>
{%
\includegraphics[width=.45\textwidth]{right3.png}%
}%
\end{figure}
\end{overlayarea}
\end{minipage}
\end{figure}
Но пока не работает. Может у кого-то есть идеи.
решение1
\begin{frame}
\frametitle{Tasks}
\begin{overlayarea}{\textwidth}{\textheight}
\begin{figure}
\raggedright
\only<1>
{%
\includegraphics[scale=0.9]{left1.png}%
}%
\only<2>
{%
\includegraphics[scale=0.9]{left2.png}%
}%
\only<3>
{%
\includegraphics[scale=0.9]{left3.png}%
}%
\vspace*{-5.75cm}
\begin{overlayarea}{\textwidth}{\textheight}
\raggedleft
\begin{tikzpicture}
\only<1> {%
\node (0,0) {\includegraphics[scale=0.9]{right1.png}};%
}%
\only<2> {%
\node (0,0) {\includegraphics[scale=0.9]{right1.png}};%
\node [opacity=0.8] (0,0) {\includegraphics[scale=0.9]{right2.png}};%
}%
\only<3> {%
\node (0,0) [opacity=0.5] {\includegraphics[scale=0.9]{right1.png}};%
}%
\only<3> {%
\node (0,0) [opacity=0.5] {\includegraphics[scale=0.9]{right2.png}};%
}%
\only<3> {%
\node [opacity=0.7] (0,0) {\includegraphics[scale=0.9]{right3.png}};%
}%
\end{tikzpicture}
\end{overlayarea}
\end{figure}
\end{overlayarea}
\end{frame}
Позиционирование на одном горизонтальном уровне пока работает только с\vspace*
Непрозрачность приходится выбирать вручную, что может быть сложно с большим количеством изображений. Может быть, у кого-то есть идея, как только последнее изображение получает высокую непрозрачность, а все изображения до него имеют низкую непрозрачность и все еще видны.