添加链接
link之家
链接快照平台
  • 输入网页链接,自动生成快照
  • 标签化管理网页链接
技巧续篇: http://latexstudio.net/
常见数学公式问题集下载

用来处理窄小图形或表格的宏包是wrapfig。此宏包提供了图形浮动环境wrapfigure和表格浮动体环境wraptable,用来处理小宽度的图形和表格。用法是:
\begin{wrapfigure}[行数]{位置}[超出长度]{宽度}
\end{wrapfigure}
演示代码:
\documentclass[a4paper,12pt]{article}
\usepackage[english]{babel}
\usepackage{graphicx}
\usepackage{wrapfig}
\begin{document}
\section*{Wrapfig test}
% text from en.wikipedia.org/wiki/Gull
Gulls are birds in the family Laridae. They are most closely
related to the terns (family Sternidae), auks and skimmers,
and more distantly to the waders. Most gulls belong to the
large genus Larus.
\begin{wrapfigure}{r}{0.5\textwidth}
\vspace{-20pt}
\begin{center}
\includegraphics[width=0.48\textwidth]{gull}
\end{center}
\vspace{-20pt}
\caption{A gull}
\vspace{-10pt}
\end{wrapfigure}
They are in general medium to large birds, typically grey or white,
often with black markings on the head or wings. They have stout,
longish bills and webbed feet.
Most gulls, particularly Larus species, are ground nesting carnivores,
which will take live food or scavenge opportunistically. The live often includes crabs and small fish. Apart from the kittiwakes, gulls
are typically coastal or inland species, rarely venturing far out to sea.
The large species take up to four years to attain full adult plumage,
but two years is typical for small gulls.
\begin{sloppy}
Gulls — the larger species in particular — are resourceful highly-intelligent birds, demonstrating complex methods of communication
and a highly-developed social structure. Certain species (e.g. Herring Gull) have exhibited tool use behaviour. Many species of have learned to co-exist successfully with man and have thrived human habitats. Others rely on kleptoparasitism to get their food.
\end{sloppy}
\end{document}

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