serlo / serlo-export

Export Serlo.org and Mathe für Nicht-Freaks articles into various output formats
https://de.serlo.org/
Apache License 2.0
5 stars 1 forks source link

Spacing issues with wrapfigures and boxes #96

Closed vroland closed 7 years ago

vroland commented 7 years ago

There seem to be some glitches if a highlighted paragraph is next to a thumbnail image on even pages. (for example in the Stetigkeit article, currently page 634 of analysis1.pdf). Does anyone of you know why?

Wrapfigures sometimes behave unexpectedly.

Example screenshots

image

image

vroland commented 7 years ago

LaTeX seems to handle multiple consecutive wrapfigures exceptionally badly.

vroland commented 7 years ago

From the wrapfig documentation: You must not specify a wrapfigure in any type of list environment or or immediately before or immediately after one. It is OK to follow a list if there is a blank line (\par) in between.

And more tricky:

\linewidth is now adjusted within the wrapped text, but since it can only be set for whole paragraphs at a time, it will persist with the wrong value after the wrapping, until the paragraph is finished.

vroland commented 7 years ago

This is not relevant any more, as wrapfigures are no longer used.