投影仪中的半透明图形(pdflatex)
我尝试使用图形叠加来避免为每张幻灯片创建不同的图像。叠加层适用于我包含的任何文本,但不适用于数字。例如:
\setbeamercovered{dynamic}
\begin{figure}\resizebox{10.0cm}{!}{
\includegraphics{problem-a.pdf}
Test A
\pause
\includegraphics{problem-b.pdf}
Test B
\pause
\includegraphics{problem-c.pdf}
Test C
}\end{figure}
导致第一张幻灯片上的文本“测试 B”和“测试 C”有阴影,但与“问题 b”和“问题 c”对应的图形没有阴影。
I am attempting to use overlays with figures to save myself from creating a different image for each slide. The overlay works with any text I include, but not with the figures. For example:
\setbeamercovered{dynamic}
\begin{figure}\resizebox{10.0cm}{!}{
\includegraphics{problem-a.pdf}
Test A
\pause
\includegraphics{problem-b.pdf}
Test B
\pause
\includegraphics{problem-c.pdf}
Test C
}\end{figure}
Results in the text "Test B" and "Test C" being shaded on the first slide, but the figures corresponding to "problem-b" and "problem-c" are not shaded.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(4)
对于任何偶然发现这一点的人来说,到目前为止我发现的最好的事情是使用 tikz 并设置自定义透明度模式:
For anyone that stumbles upon this, the best thing I've found so far is to use tikz and setup a custom transparency mode:
另一种方法可能是用半透明形状暂时覆盖图像:
Another approach could be to temporarily cover the image with a semi-transparent shape:
我做了类似的事情,执行以下操作:
也许对您有用
I've done something similar doing the following:
Maybe its useful to you
您可以在此文档。
查找第 12 章:“叠加两个导入的图形”。
You can find more information about using imported graphics in pdflatex in this document.
Look for Chapter 12: "Overlaying Two Imported Graphics".