发布时间: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/
常见数学公式问题集下载

选自:http://tex.stackexchange.com/questions/5423/how-to-open-a-temporary-comics-like-balloon-in-a-beamer-slide

代码如下:

\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)}] {tex.stackexchange.com};
\end{tikzpicture}

\pause
\pause

And now for something completely different.
\end{frame}
\end{document}

效果图:

image

运行中有两个问题:

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.
\Gm@lmargin ->\Geom@lmargin

解决方案参看:http://bbs.chinatex.org/forum.php?mod=viewthread&tid=6273&extra=page=1


点赞(0)

评论列表 共有 0 条评论

暂无评论
立即
投稿

微信公众账号

微信扫一扫加关注

发表
评论
返回
顶部