在投影机上以 tikz 格式显示图像,同时将一些图像保留到下一张幻灯片,不需要的副本

在投影机上以 tikz 格式显示图像,同时将一些图像保留到下一张幻灯片,不需要的副本

简短描述我的问题相当复杂。抱歉。我目前正在做演示。在这个演示中,我使用了 tikz 包,在 tikz 图片中,我包含了一些从文件夹中获取的图像。似乎只要我们还没有在幻灯片上显示它们的位置,latex 就会决定将它们显示在顶部,这不是我想要的!

我的代码相当长:

\begin{figure}\[ht]
\centering
\begin{tikzpicture}\[every text node part/.style={align=left}, remember picture\]
    % Band
    \node at (0.5,0.5) {};
    \draw (3.75,0) -- (3.75,-6.5);
    \draw\[dashed\] (3.25,0) -- (3.25,-0.5);
    \draw\[dashed\] (2.75,-0.5) -- (3.25,-0.5);
    \draw\[dashed\] (2.75,-1.5) -- (3.25, -1.5);
    \draw\[dashed\] (3.25,-1.5) -- (3.25,-2);

    \draw\[dashed\] (2.75,-2) -- (3.25, -2);
    \draw\[dashed\] (2.75,-3) -- (3.25, -3);
    \draw\[dashed\] (3.25,-3) -- (3.25,-3.5);

    \draw\[dashed\] (2.75,-3.5) -- (3.25, -3.5);
    \draw\[dashed\] (2.75,-4.5) -- (3.25, -4.5);    
    \draw\[dashed\] (3.25,-4.5) -- (3.25,-5);

    \draw\[dashed\] (2.75,-5) -- (3.25,-5);
    \draw\[dashed\] (2.75,-6) -- (3.25,-6);
    \draw\[dashed\] (3.25,-6) -- (3.25,-6.5);

    % Box 1
    \draw (0,-0.5) -- (2.75,-0.5);
    \draw (0,-0.5) -- (0,-1.5); 
    \draw (0,-1.5) -- (2.75,-1.5);

    % Box 2
    \draw (0,-2) -- (2.75,-2);
    \draw (0,-2) -- (0,-3);
    \draw (0,-3) -- (2.75,-3);

    % Box 3
    \draw (0, -3.5) -- (2.75,-3.5);
    \draw (0, -3.5) -- (0, -4.5);
    \draw (0, -4.5) -- (2.75, -4.5);

    % Box 4
    \draw (0, -5) -- (2.75,-5);
    \draw (0, -5) -- (0,-6);
    \draw (0, -6) -- (2.75,-6);

    % Labels
    \node\[text centered\] at (-1,-0.75) {Uitgang 1};
    \node\[text centered\] at (-1,-1.25) {1,5,9,13};
    \node\[text centered\] at (-1,-2.25) {Uitgang 2};
    \node\[text centered\] at (-1,-2.76) {2,6,10,14};
    \node\[text centered\] at (-1,-3.75) {Uitgang 3};
    \node\[text centered\] at (-1,-4.25) {3,7,11,15};
    \node\[text centered\] at (-1,-5.25) {Uitgang 4};
    \node\[text centered\] at (-1,-5.75) {4,8,12,16};


    \only<1>
    {\node at (5.5, 0.0) {\includegraphics\[width=0.8cm\]{envelop.png}};
     \node at (5.5, -0.05) {16};

     \node at (5.5, -0.75) {\includegraphics\[width=0.8cm\]{envelop.png}};
     \node at (5.5, -0.8) {3};

     \node at (5.5, -1.5) {\includegraphics\[width=0.8cm\]{envelop.png}};
     \node at (5.5, -1.55) {10};

     \node at (5.5, -2.25) {\includegraphics\[width=0.8cm\]{envelop.png}};
     \node at (5.5, -2.3) {5};

     \node at (5.5, -3) {\includegraphics\[width=0.8cm\]{envelop.png}};
     \node at (5.5, -3.05) {1};

     \node at (5.5, -3.75) {\includegraphics\[width=0.8cm\]{envelop.png}};
     \node at (5.5, -3.8) {12};

     \node at (5.5, -4.5) {\includegraphics\[width=0.8cm\]{envelop.png}};
     \node at (5.5, -4.55) {14};

     \node at (5.5, -5.25) {\includegraphics\[width=0.8cm\]{envelop.png}};
     \node at (5.5, -5.3) {11};}

    \only<2-> \node at (0.5, -5.5) {\includegraphics\[width=0.8cm\]{envelop.png}};  
    \only<2-> \node at (0.6, -5.6) {16};
    \only<2>
    {\node at (5.5, 0) {\includegraphics\[width=0.8cm\]{envelop.png}};
     \node at (5.5, -0.05) {3};

     \node at (5.5, -0.75) {\includegraphics\[width=0.8cm\]{envelop.png}};
     \node at (5.5, -0.8) {10};

     \node at (5.5, -1.5) {\includegraphics\[width=0.8cm\]{envelop.png}};
     \node at (5.5, -1.55) {5};

     \node at (5.5, -2.25) {\includegraphics\[width=0.8cm\]{envelop.png}};
     \node at (5.5, -2.3) {1};

     \node at (5.5, -3) {\includegraphics\[width=0.8cm\]{envelop.png}};
     \node at (5.5, -3.05) {12};

     \node at (5.5, -3.75) {\includegraphics\[width=0.8cm\]{envelop.png}};
     \node at (5.5, -3.8) {14};

     \node at (5.5, -4.5) {\includegraphics\[width=0.8cm\]{envelop.png}};
     \node at (5.5, -4.55) {11};}   

     \only<3-> \node at (0.5, -4) {\includegraphics\[width=0.8cm\]{envelop.png}};   
     \only<3-> \node at (0.55, -4.1) {3};
     \only<3>
    {\node at (5.5, 0) {\includegraphics\[width=0.8cm\]{envelop.png}};
     \node at (5.5, -0.05) {10};

     \node at (5.5, -0.75) {\includegraphics\[width=0.8cm\]{envelop.png}};
     \node at (5.5, -0.8) {5};

     \node at (5.5, -1.5) {\includegraphics\[width=0.8cm\]{envelop.png}};
     \node at (5.5, -1.55) {1};

     \node at (5.5, -2.25) {\includegraphics\[width=0.8cm\]{envelop.png}};
     \node at (5.5, -2.3) {12};

     \node at (5.5, -3) {\includegraphics\[width=0.8cm\]{envelop.png}};
     \node at (5.5, -3.05) {14};

     \node at (5.5, -3.75) {\includegraphics\[width=0.8cm\]{envelop.png}};
     \node at (5.5, -3.8) {11};}    

     \only<4-> \node at (0.5, -2.5) {\includegraphics\[width=0.8cm\]{envelop.png}}; 
     \only<4-> \node at (0.55, -2.6) {10};
     \only<4>
    {\node at (5.5, 0) {\includegraphics\[width=0.8cm\]{envelop.png}};
     \node at (5.5, -0.05) {5};

     \node at (5.5, -0.75) {\includegraphics\[width=0.8cm\]{envelop.png}};
     \node at (5.5, -0.8) {1};

     \node at (5.5, -1.5) {\includegraphics\[width=0.8cm\]{envelop.png}};
     \node at (5.5, -1.55) {12};

     \node at (5.5, -2.25) {\includegraphics\[width=0.8cm\]{envelop.png}};
     \node at (5.5, -2.3) {11};

     \node at (5.5, -3) {\includegraphics\[width=0.8cm\]{envelop.png}};
     \node at (5.5, -3.05) {14};}

     \only<5-> \node at (0.5, -1) {\includegraphics\[width=0.8cm\]{envelop.png}};   
     \only<5-> \node at (0.6, -1.1) {5};
     \only<5>
    {\node at (5.5, 0) {\includegraphics\[width=0.8cm\]{envelop.png}};
     \node at (5.5, -0.05) {1};

     \node at (5.5, -0.75) {\includegraphics\[width=0.8cm\]{envelop.png}};
     \node at (5.5, -0.8) {12};

     \node at (5.5, -1.5) {\includegraphics\[width=0.8cm\]{envelop.png}};
     \node at (5.5, -1.55) {11};

     \node at (5.5, -2.25) {\includegraphics\[width=0.8cm\]{envelop.png}};
     \node at (5.5, -2.3) {14};}

     \only<6-> \node at (1.5, -1) {\includegraphics\[width=0.8cm\]{envelop.png}};   
     \only<6-> \node at (1.6, -1.1) {1};
     \only<6>
    {\node at (5.5, 0) {\includegraphics\[width=0.8cm\]{envelop.png}};
     \node at (5.5, -0.05) {12};

     \node at (5.5, -0.75) {\includegraphics\[width=0.8cm\]{envelop.png}};
     \node at (5.5, -0.8) {11};

     \node at (5.5, -1.5) {\includegraphics\[width=0.8cm\]{envelop.png}};
     \node at (5.5, -1.55) {14};}

     \only<7-> \node at (1.5, -5.5) {\includegraphics\[width=0.8cm\]{envelop.png}}; 
     \only<7-> \node at (1.6, -5.6) {12};
     \only<7>
    {\node at (5.5, 0) {\includegraphics\[width=0.8cm\]{envelop.png}};
     \node at (5.5, -0.05) {11};

     \node at (5.5, -0.75) {\includegraphics\[width=0.8cm\]{envelop.png}};
     \node at (5.5, -0.8) {14};}

     \only<8-> \node at (1.5, -4) {\includegraphics\[width=0.8cm\]{envelop.png}};   
     \only<8-> \node at (1.6, -4.1) {11};
     \only<8>
    {\node at (5.5, 0) {\includegraphics\[width=0.8cm\]{envelop.png}};
     \node at (5.5, -0.05) {14};}

     \only<9-> \node at (1.5, -2.5) {\includegraphics\[width=0.8cm\]{envelop.png}}; 
     \only<9-> \node at (1.6, -2.6) {14};


\end{tikzpicture}
\end{figure}][1]][1]

它总共创建了九张幻灯片。在每张幻灯片上,右侧显示的其中一个信封被分配到左侧的一个出口。开始幻灯片: 在此处输入图片描述

第一次迭代: 在此处输入图片描述

下一次迭代: 在此处输入图片描述

正如您所想象的,顶部的信封是不需要的。有人知道如何解决这个问题吗?

提前致谢!

相关内容