发布时间:2009-11-22 10:09:15
文章类别:插图技巧
原文地址:http://blog.sina.com.cn/s/blog_5e16f1770100g4ra.html

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)

评论列表 共有 0 条评论

暂无评论
立即
投稿

微信公众账号

微信扫一扫加关注

发表
评论
返回
顶部