Why does not 'wrapfigure' and its paragraph show together?

My cat mixes up the floors in my building. How can I help him?

Would a National Army of mercenaries be a feasible idea?

Cookies - Should the toggles be on?

Cryptic with missing capitals

Why exactly do action photographers need high fps burst cameras?

Why do stocks necessarily drop during a recession?

Can an insurance company drop you after receiving a bill and refusing to pay?

Citing paywalled articles accessed via illegal web sharing

Is there any differences between "Gucken" and "Schauen"?

Can we use the stored gravitational potential energy of a building to produce power?

Magento 2 : Call Helper Without Using __construct in Own Module

Dilemma of explaining to interviewer that he is the reason for declining second interview

Pandas: How to group by a value in column when there is list in one of the columns

Writing a character who is going through a civilizing process without overdoing it?

Roman Numerals equation 1

Why did other German political parties disband so fast when Hitler was appointed chancellor?

We are very unlucky in my court

Early credit roll before the end of the film

What is the purpose of easy combat scenarios that don't need resource expenditure?

Strange blocking on readable secondary after reboot

Publishing research using outdated methods

How would an AI self awareness kill switch work?

What to do when being responsible for data protection in your lab, yet advice is ignored?

Am I a Rude Number?



Why does not 'wrapfigure' and its paragraph show together?














0















wrapfig is typically used with an intention to typeset it side by side with a certain text that should wrap it. However, when I use a lot of floats near wrapfig, a part of all of the text will not stay close to the wrapped figure. Also, the figure is not in order with the rest of others. How do I solve this?



enter image description here



My MWE



documentclass[a4paper,12pt]{article}

usepackage[T1]{fontenc}
usepackage{graphicx}
usepackage{wrapfig}
usepackage{blindtext}
usepackage[showframe]{geometry}
usepackage{ragged2e}


begin{document}

newcommand{commonfigwidth}{0.35linewidth}

begin{figure}
centering
includegraphics[width=commonfigwidth]{example-image-a}
caption{My Fig}
end{figure}


begin{figure}
centering
includegraphics[width=commonfigwidth]{example-image-b}
caption{My Fig}
end{figure}

begin{figure}
centering
includegraphics[width=commonfigwidth]{example-image-c}
caption{My Fig}
end{figure}

begin{wrapfigure}{O}{commonfigwidth}
includegraphics[width=linewidth]{example-image-a}
centering This is a circuit
end{wrapfigure}
blindtext

begin{figure}
centering
includegraphics[width=commonfigwidth]{example-image-b}
caption{My Fig}
end{figure}

begin{figure}
centering
includegraphics[width=commonfigwidth]{example-image-c}
caption{My Fig}
end{figure}

end{document}








share



























    0















    wrapfig is typically used with an intention to typeset it side by side with a certain text that should wrap it. However, when I use a lot of floats near wrapfig, a part of all of the text will not stay close to the wrapped figure. Also, the figure is not in order with the rest of others. How do I solve this?



    enter image description here



    My MWE



    documentclass[a4paper,12pt]{article}

    usepackage[T1]{fontenc}
    usepackage{graphicx}
    usepackage{wrapfig}
    usepackage{blindtext}
    usepackage[showframe]{geometry}
    usepackage{ragged2e}


    begin{document}

    newcommand{commonfigwidth}{0.35linewidth}

    begin{figure}
    centering
    includegraphics[width=commonfigwidth]{example-image-a}
    caption{My Fig}
    end{figure}


    begin{figure}
    centering
    includegraphics[width=commonfigwidth]{example-image-b}
    caption{My Fig}
    end{figure}

    begin{figure}
    centering
    includegraphics[width=commonfigwidth]{example-image-c}
    caption{My Fig}
    end{figure}

    begin{wrapfigure}{O}{commonfigwidth}
    includegraphics[width=linewidth]{example-image-a}
    centering This is a circuit
    end{wrapfigure}
    blindtext

    begin{figure}
    centering
    includegraphics[width=commonfigwidth]{example-image-b}
    caption{My Fig}
    end{figure}

    begin{figure}
    centering
    includegraphics[width=commonfigwidth]{example-image-c}
    caption{My Fig}
    end{figure}

    end{document}








    share

























      0












      0








      0








      wrapfig is typically used with an intention to typeset it side by side with a certain text that should wrap it. However, when I use a lot of floats near wrapfig, a part of all of the text will not stay close to the wrapped figure. Also, the figure is not in order with the rest of others. How do I solve this?



      enter image description here



      My MWE



      documentclass[a4paper,12pt]{article}

      usepackage[T1]{fontenc}
      usepackage{graphicx}
      usepackage{wrapfig}
      usepackage{blindtext}
      usepackage[showframe]{geometry}
      usepackage{ragged2e}


      begin{document}

      newcommand{commonfigwidth}{0.35linewidth}

      begin{figure}
      centering
      includegraphics[width=commonfigwidth]{example-image-a}
      caption{My Fig}
      end{figure}


      begin{figure}
      centering
      includegraphics[width=commonfigwidth]{example-image-b}
      caption{My Fig}
      end{figure}

      begin{figure}
      centering
      includegraphics[width=commonfigwidth]{example-image-c}
      caption{My Fig}
      end{figure}

      begin{wrapfigure}{O}{commonfigwidth}
      includegraphics[width=linewidth]{example-image-a}
      centering This is a circuit
      end{wrapfigure}
      blindtext

      begin{figure}
      centering
      includegraphics[width=commonfigwidth]{example-image-b}
      caption{My Fig}
      end{figure}

      begin{figure}
      centering
      includegraphics[width=commonfigwidth]{example-image-c}
      caption{My Fig}
      end{figure}

      end{document}








      share














      wrapfig is typically used with an intention to typeset it side by side with a certain text that should wrap it. However, when I use a lot of floats near wrapfig, a part of all of the text will not stay close to the wrapped figure. Also, the figure is not in order with the rest of others. How do I solve this?



      enter image description here



      My MWE



      documentclass[a4paper,12pt]{article}

      usepackage[T1]{fontenc}
      usepackage{graphicx}
      usepackage{wrapfig}
      usepackage{blindtext}
      usepackage[showframe]{geometry}
      usepackage{ragged2e}


      begin{document}

      newcommand{commonfigwidth}{0.35linewidth}

      begin{figure}
      centering
      includegraphics[width=commonfigwidth]{example-image-a}
      caption{My Fig}
      end{figure}


      begin{figure}
      centering
      includegraphics[width=commonfigwidth]{example-image-b}
      caption{My Fig}
      end{figure}

      begin{figure}
      centering
      includegraphics[width=commonfigwidth]{example-image-c}
      caption{My Fig}
      end{figure}

      begin{wrapfigure}{O}{commonfigwidth}
      includegraphics[width=linewidth]{example-image-a}
      centering This is a circuit
      end{wrapfigure}
      blindtext

      begin{figure}
      centering
      includegraphics[width=commonfigwidth]{example-image-b}
      caption{My Fig}
      end{figure}

      begin{figure}
      centering
      includegraphics[width=commonfigwidth]{example-image-c}
      caption{My Fig}
      end{figure}

      end{document}






      floats wrapfigure





      share












      share










      share



      share










      asked 3 mins ago









      Al-Motasem AldaoudeyehAl-Motasem Aldaoudeyeh

      1,568312




      1,568312






















          0






          active

          oldest

          votes











          Your Answer








          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "85"
          };
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function() {
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled) {
          StackExchange.using("snippets", function() {
          createEditor();
          });
          }
          else {
          createEditor();
          }
          });

          function createEditor() {
          StackExchange.prepareEditor({
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: false,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: null,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });














          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f477301%2fwhy-does-not-wrapfigure-and-its-paragraph-show-together%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes
















          draft saved

          draft discarded




















































          Thanks for contributing an answer to TeX - LaTeX Stack Exchange!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f477301%2fwhy-does-not-wrapfigure-and-its-paragraph-show-together%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          IEEEtran - How to include ORCID in TeX/PDF with PdfLatexIs there a standard way to include ORCID in TeX /...

          Cicindela nigrior Przypisy | Menu nawigacyjneCicindela varians unicolorManual for the Identification of the...

          Glossaries-extra: Adding glossaries package to “Clas­sicTh­e­sis” template by Dr. André Miede v. 4.6 ...