Without titlesec or without the sections, it works fine. Otherwise, latex acts like there is another wrapfigure at the beginning of each paragraph for the remainder of the document.
Attachments
titlesec-wrapfig.png (73.54 KiB) Viewed 4441 times
Last edited by localghost on Tue Jan 24, 2012 10:19 am, edited 1 time in total.
The problem can be solved by putting the wrapfigure command after the beginning of the section. That way only the first paragraph will have the desired effect.
I have the same problem, but this suggestion does not help me. I doesn't matter how many text, sections or subsections I put above the wrapfigure, it still acts like there is a wrapped figure in every paragraph from then on.
Also, I shouldn't change the contents/structure of my document to use a package, right? What is the cause of the problem? There should be some neater way to fix this, right?
Sometimes there are incompatibilities between commands in a specific kind of document. Maybe you can write a minimum working example and post here. Otherwise will be difficult for me to understand your problem since you could be using several different packages and document classes.
Have you tried to compile the code I've suggested ? What happened? This could be useful to find out if the problem is in your document or its the latex distribution itself.
Are your latex packages up to date ?