[Latex][beamer]PGF and TiKz中演示文字沿路径移动的动画
2013-04-12 06:28
746 查看
[Latex][beamer]PGF and TiKz中演示文字沿路径移动的动画,就以beamer为例:
效果是图如下:
\documentclass{beamer} %==================================================== \input{../setup/preamble.tex} \input{../setup/tikzall.tex} %包含所有的tikz包 %==================================================== \begin{document} %==================================================== \begin{frame} %演示文字沿路径移动的动画 \begin{animateinline}[autoplay,loop]{2} %总共生成6帧画面,以每秒2帧的速度自动播放 \multiframe{6}{Rpos=1+-0.2}{%Rpos=1,0.8,...,0.0 \tikz[allow upside down]{% \useasboundingbox[draw] (-1cm,-1cm) rectangle(4cm,4cm); \draw[name path=curveone] (0,0) .. controls +(right:3.5cm) and +(right:3.5cm) .. (0,3) \foreach \p in {0,0.2,0.4,0.6,0.8,1} {node[sloped,above,pos=\p]{\p}}; \draw[name path=curveone] (0,0) .. controls +(right:3.5cm) and +(right:3.5cm) .. (0,3) node[sloped,below,pos=\Rpos]{$\Rpos$}; }% }% \end{animateinline} \end{frame} %==================================================== \end{document}
效果是图如下:
![](http://img.my.csdn.net/uploads/201304/12/1365748354_8873.png)
相关文章推荐
- [Latex][beamer]PGF and TiKz中如何定位曲线路径上的任一点
- [Latex]PGF and Tikz 中如何定位线段中的任意点位置
- [latex]PGF and Tikz中的垂直文本盒子示例
- [Latex]PGF and Tikz 中快速地画垂线
- [Latex]beamer中实现tikz的动画绘图的示例
- [Latex]PGF and TiKz中let操作命令的使用
- [latex]PGF and Tikz 求两条直线或曲线的交点
- [latex]PGF and Tikz 设置填充透明效果(Transparency)
- [latex]在beamer中使用tikz和animate宏包绘制PDF动画的示例
- [Latex]PGF and Tikz 中label的使用
- [Latax] PGF and Tikz连接节点(node)的方式示例
- [pgf and tikz]foreach的高级用法:同时循环两个变量
- 【CSS3动画】transform对文字及图片的旋转、缩放、倾斜和移动
- iOS简单动画效果:闪烁、移动、旋转、路径、组合
- iOS简单动画效果:闪烁、移动、旋转、路径、组合、
- 文字路径动画控件TextPathView解析
- 【转】让对象沿着某条路径移动的动画效果
- 【CSS3动画】transform对文字及图片的旋转、缩放、倾斜和移动
- ubuntu下的latex用beamer制作演示文稿时中文书签乱码解决方法
- ubuntu下的latex用beamer制作演示文稿时中文书签乱码解决方法