发布时间:2011-03-02 12:16:56
文章类别:幻灯片
原文地址:http://blog.sina.com.cn/s/blog_5e16f1770100qq3p.html
QQ群:91940767/145316219/141877998/80300084/194770436
淘宝店:http://latexstudio.taobao.com
技巧续篇:http://latexstudio.net/
常见数学公式问题集下载
代码如下:
\documentclass{beamer}
\usepackage{tikz}
\usetikzlibrary{shapes.callouts}
\usepackage[T1]{fontenc}
\usepackage{lmodern}
\begin{document}
\begin{frame}
\frametitle{An Unexpected Website}
We learnt of this trick from tex.SX\tikz[remember picture] \node (a) {\vphantom{X}};
\begin{tikzpicture}[remember picture,overlay]
\path<2> (a.east) ++(0,1)
node[anchor=west,ellipse callout,fill=red!50,opacity=.5, callout
absolute pointer={(a.mid)}]
\end{tikzpicture}
\pause
\pause
And now for something completely different.
\end{frame}
\end{document}
效果图:
运行中有两个问题:
1、MIKTeX,会提示:找来源码,编译一下,出现错误如Undefined control sequence.\pgf@sh@bg@ellipse callout ...pgf@sh@np@\pgf@test\noexpand \endcsname }\ede.。
解决方案参看:http://bbs.chinatex.org/forum.php?mod=viewthread&tid=6274&page=1&extra=#pid14061
2、TeXLive 新系统会有错误提示:
! Undefined control sequence.
解决方案参看:http://bbs.chinatex.org/forum.php?mod=viewthread&tid=6273&extra=page=1
发表评论 取消回复