0

Using wrapfigure in the main text and just after that in a footnote, then the quote environment behave strangely: too narrow or shifted away.

\documentclass[11pt]{book}
\usepackage{wrapfig}
\usepackage{mwe}
%
\begin{document}
%
\begin{wrapfigure}{l}{5cm}
\includegraphics[width=5cm]{example-image}%{000057684_17150122_1062073_02.jpg}
\end{wrapfigure}
\lipsum[3]
\footnote{%
\lipsum[2]
\begin{wrapfigure}[8]{l}{2cm}
\includegraphics[width=2cm]{example-image}
\end{wrapfigure}\lipsum[4]
}
\newpage
\begin{quote}
\lipsum[3]
\end{quote}
\lipsum[5]
\end{document}

Removing one of the "wrapfigure" then one gets the usual quote. So it seems that the wrapfigure changes some lengths. Any idea?

7
  • 1
    as documented: "You must not specify a wrapfigure in any type of list environment or or immediately before or immediately after one.", and quote is a list environment. Jan 19, 2023 at 12:23
  • I have seen this in the documentation of wrapfigure. But In my case you can add any amount of text, even new sections ... after the footnote, but nothing changes. I made all kind of tests. Jan 19, 2023 at 17:02
  • Hm. I will look later, I never dared to put a wrapfig in a footnote (and I never put so much text in a footnote that I actually had to consider the use of wrapfig there). Jan 19, 2023 at 17:27
  • You probably have never been working with historians. In their research most of the relevant material is in footnotes. And I could not convince them to use endnotes which would simplify a lot the presentation. If you have time have a look at eterna.unibas.ch/index.php/publbez/index Jan 19, 2023 at 20:46
  • you have two wrapfigures in the same paragraph (as the footnote starts at the end of the one with the main wrapfig. If I move the footnote the quote behaves again. Jan 21, 2023 at 0:15

0

You must log in to answer this question.

Browse other questions tagged .