From 566f5207d7e3cafb0633d31277067336ccd9cca7 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Fri, 22 May 2009 23:51:44 +0000 Subject: move generic english documents out of texmf-doc git-svn-id: svn://tug.org/texlive/trunk@13396 c570f23f-e606-0410-a88d-b1316a301751 --- .../doc/generic/FAQ-en/html/FAQ-textflow.html | 73 ++++++++++++++++++++++ 1 file changed, 73 insertions(+) create mode 100644 Master/texmf-dist/doc/generic/FAQ-en/html/FAQ-textflow.html (limited to 'Master/texmf-dist/doc/generic/FAQ-en/html/FAQ-textflow.html') diff --git a/Master/texmf-dist/doc/generic/FAQ-en/html/FAQ-textflow.html b/Master/texmf-dist/doc/generic/FAQ-en/html/FAQ-textflow.html new file mode 100644 index 00000000000..625db53d66d --- /dev/null +++ b/Master/texmf-dist/doc/generic/FAQ-en/html/FAQ-textflow.html @@ -0,0 +1,73 @@ + +UK TeX FAQ -- question label textflow + +

Flowing text around figures in LaTeX

+

There are several LaTeX packages that purport to do this, but they +all have their limitations because the TeX machine isn’t really +designed to solve this sort of problem. Piet van Oostrum has +conducted a survey of the available packages; he recommends: +

+
floatflt
floatflt is an improved version + (for LaTeX2e) of floatfig.sty, and its syntax is: +
+
+\begin{floatingfigure}[options]{width of figure}
+  figure contents
+\end{floatingfigure}
+
+

+ +There is a (more or less similar) floatingtable +environment. +

The tables or figures can be set left or right, or alternating on +even/odd pages in a double-sided document. +

The package works with the multicol package, but doesn’t work well +in the neighbourhood of list environments (unless you change your +LaTeX document). +

wrapfig
wrapfig has syntax: +
+
+\begin{wrapfigure}[height of figure in lines]{l,r,...}[overhang]{width}
+  figure, caption, etc.
+\end{wrapfigure}
+
+

+ + The syntax of the wraptable environment is similar. +

Height can be omitted, in which case it will be calculated by the + package; the package will use the greater of the specified and the + actual width. The {l,r,etc.} parameter may + also be specified as i(nside) or + o(utside) for two-sided documents, and uppercase + may be used to indicate that the picture should float. The + overhang allows the figure to be + moved into the margin. The figure or table will entered into the + list of figures or tables if you use the \caption command. +

The environments do not work within list environments that end + before the figure or table has finished, but can be used in a + parbox or minipage, and in twocolumn format. +

picins
Picins is part of a large bundle + that allows inclusion of pictures (e.g., with shadow boxes, + various MSDOS formats, etc.). The command for inserting a + picture at the start of a paragraph is: +
+ \parpic(width,height)(x-off,y-off)[Options][Position]{Picture}
+ Paragraph text +

+ + All parameters except the Picture are optional. The picture + can be positioned left or right, boxed with a rectangle, oval, + shadowbox, dashed box, and a caption can be given which will be + included in the list of figures. +

Unfortunately (for those of us whose understanding of German is not + good), the documentation is in German. Piet van Oostrum has written + a summary in English. +

+
+
floatflt.sty
macros/latex/contrib/floatflt (gzipped tar, browse) +
picins.sty
macros/latex209/contrib/picins (gzipped tar, browse) +
picins documentation summary
macros/latex209/contrib/picins/picins.txt +
wrapfig.sty
macros/latex/contrib/wrapfig (gzipped tar, browse) +
+

This question on the Web: http://www.tex.ac.uk/cgi-bin/texfaq2html?label=textflow + -- cgit v1.2.3