发布时间:2010-02-05 15:11:56
文章类别:插图技巧
原文地址:http://blog.sina.com.cn/s/blog_5e16f1770100h5fn.html

QQ群:91940767/145316219/141877998/80300084/194770436
淘宝店:http://latexstudio.taobao.com
技巧续篇:http://latexstudio.net/
常见数学公式问题集下载

效果图:
LaTeX技巧心得268:如何在subfigure环境中使用overpic

代码:
\documentclass[11pt,a4paper,english]{article}
\usepackage[T1]{fontenc}
\usepackage[latin1]{inputenc}
\usepackage{babel}
\usepackage[font=small,labelfont=bf,tableposition=top]{caption}
\usepackage[font=footnotesize]{subfig}
\usepackage[abs]{overpic}


\begin{document}
\begin{figure}[!ht]
\subfloat[First caption\label{subfig-1:dummy}]{%
\begin{overpic}[grid,width=0.45\textwidth]{gull}
\put(10,10){set}
\end{overpic}
}\hfill
\subfloat[Second caption\label{subfig-2:dummy}]{%
\begin{overpic}[grid,width=0.45\textwidth]{gull}
\put(20,20){specimen}
\end{overpic}
}
\caption{Caption}\label{fig:dummy}
\end{figure}
\end{document}

点赞(1)

评论列表 共有 0 条评论

暂无评论
立即
投稿

微信公众账号

微信扫一扫加关注

发表
评论
返回
顶部