TransWikia.com

the second wrapfigure won't wrap

TeX - LaTeX Asked by S4s4LU123 on March 20, 2021

My problem is that when I use 2 wrapfigures, the second one always stays below any text and on the left side.


edit: if i follow gernot’s advice it works, but why does section{} or
paragraph{} not count as seperate Paragraph for wrapfigure?


example code

example code:

documentclass{article}
usepackage{graphicx} 
usepackage{wrapfig} 
begin{document}
begin{wrapfigure}{r}{0.5linewidth}
    rule{0.9linewidth}{0.75linewidth}
    label{fig:myfig1}
end{wrapfigure}
text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text 
begin{wrapfigure}{r}{0.5linewidth}
    rule{0.9linewidth}{0.75linewidth}
    label{fig:myfig2}
end{wrapfigure}
text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text 
end{document}

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP