[OS X TeX] Text floating around a figure

Herbert Schulz herbs at wideopenwest.com
Tue May 27 09:24:06 CEST 2014


On May 26, 2014, at 10:24 PM, Don Green Dragon <fergdc at shaw.ca> wrote:

> Hi Herb,
> 
> In reply to Andre, Herb wrote
> 
>> Howdy,
>> 
>> Well, the package is called pininpar not picins. I just ran
>> 
>> %%!TEX TS-program = pdflatex
>> \documentclass{article}
>> \usepackage{picinpar}
>> \usepackage{floatflt}
>> \begin{document}
>> Hello World
>> \end{document}
>> 
>> and had no problem loading both packages.
> 
> Are you implying that the environments 
> 
> \begin{window} . . . \end{window}    or    \begin{figwindow} . . . \end{figwindow}
> 
> actually work in your set up?
> 
> Is it necessary to include \usepackage{floatflt}?
> 
> I have tried to use the two examples in The LaTeX Companion, pages 108–109, but no luck. Despite the examples, I am not sure of the required format for either \begin{window}  or \begin{figwindow}. Here is a short version that I tried
> 
> \begin{figwindow}
> [2, l, \tikz \draw (0,0) circle (3 pt); , {Run around Circle} ]
> At least six lines of text that is supposed to flow around the small circle. Circle to be at the left margin.
> \end{figwindow}
> 
> The error message is:
> ================
> ./LaTeXbookShort.tex:662: Use of \figwindow doesn't match its definition.
> l.662 \begin{figwindow}
> 
> ? 
> ==================
> I tried adding the line \usepackage{floatflt} to the preamble but that did not help. I removed the caption {Run around Circle} and that made no difference. 
> 
> Can anyone point out the syntax error?
> 
> 
> don green dragon
> fergdc at shaw.ca

Howdy,

How old is the post you copied that from? It looks as though there was a problem of load order rather than use of those packages that I was discussing but I can't be sure.

Finally, did you try to put the drawing inside braces or in an \mbox so that it appears as a single argument? The comma in the \tikz command could be misinterpreted by the argument parser.

Good Luck,

Herb Schulz
(herbs at wideopenwest dot com)






More information about the macostex-archives mailing list