Thanks! Got it working.

On Tue, Sep 20, 2016 at 11:35 AM, Paul A. Rubin <> wrote:

> On 09/20/2016 12:03 PM, Richard Opheim wrote:
> Sorry---here's the file with the fonts removed from the preamble and a
> figure file as well.
> As before, the PDF displays but the text still doesn't wrap.
> Also, I'm using the Memoir class, if that makes any difference.
> Richard,
> I'm copying the user list on this, to keep the discussion visible to
> others.
> Thanks for the improved example. There are two things I think you should
> change in it if you need to repost it later for some reason. First, the
> file path for the image refers to a subdirectory. Since the downloaded
> image will be in the same directory as the downloaded LyX file, that will
> need to be changed.
> Second, you have the image at the start of the paragraph. I cannot find
> any way to trigger wrapping there (which may just be my lack of familiarity
> with the finer points of wrapfig). If I put it somewhere in the interior of
> the paragraph, I can get it to wrap, so you might want to move it there.

My file is now working well with wrapfig placed at the beginning of the

> When you move the figure into the body of the paragraph, you need to make
> sure it is not included in the bold faced section; if it is, spacing will
> be screwed up. The trick is to reset the series for all the text to the
> default, insert the figure where you want it, then select the preceding
> text, bold it, select the following text, and bold that.

After fiddling around with it for a while, I find that bolding is not
relevant to the errors I experienced.

> With all that done, the image still pops to the bottom of the page,
> apparently because the text is left-justified. If you change the paragraph
> to default justification, wrapping works.

Yes, this was the main thing that was hanging me up.

> As I said, I'm no expert on wrapfig, so I don't know whether it is
> compatible with non-default text justification. A Google search was not
> helpful in that regard. Looking at the LaTeX source generated by LyX, I see
> no problems, so I suspect this is an issue with wrapfig.

Even after I'd corrected the left justification to paragraph's default, the
output was still wonky---the figure appeared in the correct location, but
the text wouldn't move around it and stayed under the figure. Finally, I
tried throwing away the old test file and making a new one from scratch.
The new test file worked perfectly well. I've noticed that it's not all
that rare for LyX files to get strangely corrupted. Even if all the
settings are correct, they just won't run, and you have to paste the
content into a new file to get it to work.

Thanks again for your help.

> Paul

Richard Opheim
P.O. Box 2261 Arizona City, AZ 85123
Cell: (1) 206-965-0564
Skype name: richard.opheim

Self-publishing Consultant
Editing---Layout---Musical Scores---Images---Kindle conversion

website URL:

self-publishing faq:
 https:/ <>

publishing tasks:

marketing techniques:

Japanese translation & consulting:


"I [don't believe in God] . . . But the God I don't believe in is a good
God, a just God, a merciful God. He's not the mean and stupid God you make
Him out to be."
~Lt. Scheisskopf's wife in Catch-22 by Joseph Heller

Reply via email to