加载中…
个人资料
  • 博客等级:
  • 博客积分:
  • 博客访问:
  • 关注人气:
  • 获赠金笔:0支
  • 赠出金笔:0支
  • 荣誉徽章:
正文 字体大小:

LaTeX技巧85:如何在段落内插入图片?

(2009-11-22 10:09:15)
标签:

latex

段内

插入图片

四周型

紧密型

分类: 插图技巧

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


效果图如下所示:

LaTeX技巧85:如何在段落内插入图片?

实现代码:

\usepackage{picinpar,graphicx}

\begin{figwindow}[3,l,%
 \fbox{\includegraphics[width=30mm]{ukmap}},%
                  {United Kingdom}]
 Is this a dagger which I see before me, The
 handle toward my hand? Come, let me clutch
 thee. I have thee not, and yet I see thee
 still.  Art thou not, fatal vision,
 sensible To feeling as to sight?  or art
 thou but A dagger of the mind, a false
 creation, Proceeding from the
 heat-oppressed brain?  I see thee yet, in
 form as palpable As this which now I draw.
 Thou marshall'st me the way that I was
 going; And such an instrument I was to use.
 Mine eyes are made the fools o' the other
 senses, Or else worth all the rest; I see
 thee still, And on thy blade and dudgeon
 gouts of blood, Which was not so before.
 (\emph{Macbeth}, Act II, Scene 1).
\end{figwindow}

再加一个示例:

LaTeX技巧85:如何在段落内插入图片?

实现代码:

\usepackage{picinpar}


\begin{window}[1,c,%
    \fbox{\shortstack{H\\e\\l\\l\\o}},]
 In this case we center a word printed
 vertically inside the paragraph. It is not
 difficult to understand that tables can also
 be easily included with the \texttt{tabwindow}
 environment.\par When a paragraph ends, like
 here, and the window is not yet finished,
 then it just continues past the paragraph
 boundary, right into the next one(s).
\end{window}

0

阅读 收藏 喜欢 打印举报/Report
  

新浪BLOG意见反馈留言板 欢迎批评指正

新浪简介 | About Sina | 广告服务 | 联系我们 | 招聘信息 | 网站律师 | SINA English | 产品答疑

新浪公司 版权所有