Economise space with floats












1















Consider this example:



documentclass{report}
usepackage{graphicx}
usepackage{lipsum}
begin{document}
lipsum[1-4]

lipsum[5]{1-14}
lipsum[6][1]
begin{figure}[htbp]
centering
includegraphics[width=0.55textwidth]{example-image-a}
end{figure}

begin{figure}[htbp]
centering
includegraphics[width=0.55textwidth]{example-image-b}
end{figure}

lipsum[1][1-5]
end{document}


The output is:



enter image description here



By an inspection one can conclude that the trailing paragraph can neatly be placed on bottom at the same page as the floats. How to achieve this?



(In fact they collapse on the same page when the width of the graphics is reduced to 0.5textwidth.)










share|improve this question




















  • 2





    you are asking a lot of float questions some have had unique feature making answers worthwhile but really this is just a special case of tex.stackexchange.com/questions/39017 you can't ask a new question for every possible float combination.

    – David Carlisle
    6 hours ago
















1















Consider this example:



documentclass{report}
usepackage{graphicx}
usepackage{lipsum}
begin{document}
lipsum[1-4]

lipsum[5]{1-14}
lipsum[6][1]
begin{figure}[htbp]
centering
includegraphics[width=0.55textwidth]{example-image-a}
end{figure}

begin{figure}[htbp]
centering
includegraphics[width=0.55textwidth]{example-image-b}
end{figure}

lipsum[1][1-5]
end{document}


The output is:



enter image description here



By an inspection one can conclude that the trailing paragraph can neatly be placed on bottom at the same page as the floats. How to achieve this?



(In fact they collapse on the same page when the width of the graphics is reduced to 0.5textwidth.)










share|improve this question




















  • 2





    you are asking a lot of float questions some have had unique feature making answers worthwhile but really this is just a special case of tex.stackexchange.com/questions/39017 you can't ask a new question for every possible float combination.

    – David Carlisle
    6 hours ago














1












1








1


0






Consider this example:



documentclass{report}
usepackage{graphicx}
usepackage{lipsum}
begin{document}
lipsum[1-4]

lipsum[5]{1-14}
lipsum[6][1]
begin{figure}[htbp]
centering
includegraphics[width=0.55textwidth]{example-image-a}
end{figure}

begin{figure}[htbp]
centering
includegraphics[width=0.55textwidth]{example-image-b}
end{figure}

lipsum[1][1-5]
end{document}


The output is:



enter image description here



By an inspection one can conclude that the trailing paragraph can neatly be placed on bottom at the same page as the floats. How to achieve this?



(In fact they collapse on the same page when the width of the graphics is reduced to 0.5textwidth.)










share|improve this question
















Consider this example:



documentclass{report}
usepackage{graphicx}
usepackage{lipsum}
begin{document}
lipsum[1-4]

lipsum[5]{1-14}
lipsum[6][1]
begin{figure}[htbp]
centering
includegraphics[width=0.55textwidth]{example-image-a}
end{figure}

begin{figure}[htbp]
centering
includegraphics[width=0.55textwidth]{example-image-b}
end{figure}

lipsum[1][1-5]
end{document}


The output is:



enter image description here



By an inspection one can conclude that the trailing paragraph can neatly be placed on bottom at the same page as the floats. How to achieve this?



(In fact they collapse on the same page when the width of the graphics is reduced to 0.5textwidth.)







floats positioning






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited 5 hours ago









AboAmmar

34.7k32985




34.7k32985










asked 6 hours ago









ViestursViesturs

2,09941327




2,09941327








  • 2





    you are asking a lot of float questions some have had unique feature making answers worthwhile but really this is just a special case of tex.stackexchange.com/questions/39017 you can't ask a new question for every possible float combination.

    – David Carlisle
    6 hours ago














  • 2





    you are asking a lot of float questions some have had unique feature making answers worthwhile but really this is just a special case of tex.stackexchange.com/questions/39017 you can't ask a new question for every possible float combination.

    – David Carlisle
    6 hours ago








2




2





you are asking a lot of float questions some have had unique feature making answers worthwhile but really this is just a special case of tex.stackexchange.com/questions/39017 you can't ask a new question for every possible float combination.

– David Carlisle
6 hours ago





you are asking a lot of float questions some have had unique feature making answers worthwhile but really this is just a special case of tex.stackexchange.com/questions/39017 you can't ask a new question for every possible float combination.

– David Carlisle
6 hours ago










2 Answers
2






active

oldest

votes


















1














enter image description here



documentclass{report}
usepackage{graphicx}
usepackage{lipsum}
begin{document}
lipsum[1-4]

lipsum[5]{1-14}
lipsum[6][1]
begin{figure}[t]
centering
includegraphics[width=0.55textwidth]{example-image-a}
end{figure}

begin{figure}[t]
centering
includegraphics[width=0.55textwidth]{example-image-b}
end{figure}

lipsum[1][1-5]
end{document}





share|improve this answer































    3














    Choose the correct specifier, here [!ht] will do what you want.



    documentclass{report}
    usepackage{graphicx}
    usepackage{lipsum}
    begin{document}
    lipsum[1-4]

    lipsum[5]{1-14}
    lipsum[6][1]
    begin{figure}[!ht]
    centering
    includegraphics[width=0.55textwidth]{example-image-a}
    end{figure}
    begin{figure}[!ht]
    centering
    includegraphics[width=0.55textwidth]{example-image-b}
    end{figure}
    lipsum[1][1-5]

    end{document}



    enter image description here







    share|improve this answer
























      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%2f487440%2feconomise-space-with-floats%23new-answer', 'question_page');
      }
      );

      Post as a guest















      Required, but never shown

























      2 Answers
      2






      active

      oldest

      votes








      2 Answers
      2






      active

      oldest

      votes









      active

      oldest

      votes






      active

      oldest

      votes









      1














      enter image description here



      documentclass{report}
      usepackage{graphicx}
      usepackage{lipsum}
      begin{document}
      lipsum[1-4]

      lipsum[5]{1-14}
      lipsum[6][1]
      begin{figure}[t]
      centering
      includegraphics[width=0.55textwidth]{example-image-a}
      end{figure}

      begin{figure}[t]
      centering
      includegraphics[width=0.55textwidth]{example-image-b}
      end{figure}

      lipsum[1][1-5]
      end{document}





      share|improve this answer




























        1














        enter image description here



        documentclass{report}
        usepackage{graphicx}
        usepackage{lipsum}
        begin{document}
        lipsum[1-4]

        lipsum[5]{1-14}
        lipsum[6][1]
        begin{figure}[t]
        centering
        includegraphics[width=0.55textwidth]{example-image-a}
        end{figure}

        begin{figure}[t]
        centering
        includegraphics[width=0.55textwidth]{example-image-b}
        end{figure}

        lipsum[1][1-5]
        end{document}





        share|improve this answer


























          1












          1








          1







          enter image description here



          documentclass{report}
          usepackage{graphicx}
          usepackage{lipsum}
          begin{document}
          lipsum[1-4]

          lipsum[5]{1-14}
          lipsum[6][1]
          begin{figure}[t]
          centering
          includegraphics[width=0.55textwidth]{example-image-a}
          end{figure}

          begin{figure}[t]
          centering
          includegraphics[width=0.55textwidth]{example-image-b}
          end{figure}

          lipsum[1][1-5]
          end{document}





          share|improve this answer













          enter image description here



          documentclass{report}
          usepackage{graphicx}
          usepackage{lipsum}
          begin{document}
          lipsum[1-4]

          lipsum[5]{1-14}
          lipsum[6][1]
          begin{figure}[t]
          centering
          includegraphics[width=0.55textwidth]{example-image-a}
          end{figure}

          begin{figure}[t]
          centering
          includegraphics[width=0.55textwidth]{example-image-b}
          end{figure}

          lipsum[1][1-5]
          end{document}






          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered 6 hours ago









          David CarlisleDavid Carlisle

          501k4211471897




          501k4211471897























              3














              Choose the correct specifier, here [!ht] will do what you want.



              documentclass{report}
              usepackage{graphicx}
              usepackage{lipsum}
              begin{document}
              lipsum[1-4]

              lipsum[5]{1-14}
              lipsum[6][1]
              begin{figure}[!ht]
              centering
              includegraphics[width=0.55textwidth]{example-image-a}
              end{figure}
              begin{figure}[!ht]
              centering
              includegraphics[width=0.55textwidth]{example-image-b}
              end{figure}
              lipsum[1][1-5]

              end{document}



              enter image description here







              share|improve this answer




























                3














                Choose the correct specifier, here [!ht] will do what you want.



                documentclass{report}
                usepackage{graphicx}
                usepackage{lipsum}
                begin{document}
                lipsum[1-4]

                lipsum[5]{1-14}
                lipsum[6][1]
                begin{figure}[!ht]
                centering
                includegraphics[width=0.55textwidth]{example-image-a}
                end{figure}
                begin{figure}[!ht]
                centering
                includegraphics[width=0.55textwidth]{example-image-b}
                end{figure}
                lipsum[1][1-5]

                end{document}



                enter image description here







                share|improve this answer


























                  3












                  3








                  3







                  Choose the correct specifier, here [!ht] will do what you want.



                  documentclass{report}
                  usepackage{graphicx}
                  usepackage{lipsum}
                  begin{document}
                  lipsum[1-4]

                  lipsum[5]{1-14}
                  lipsum[6][1]
                  begin{figure}[!ht]
                  centering
                  includegraphics[width=0.55textwidth]{example-image-a}
                  end{figure}
                  begin{figure}[!ht]
                  centering
                  includegraphics[width=0.55textwidth]{example-image-b}
                  end{figure}
                  lipsum[1][1-5]

                  end{document}



                  enter image description here







                  share|improve this answer













                  Choose the correct specifier, here [!ht] will do what you want.



                  documentclass{report}
                  usepackage{graphicx}
                  usepackage{lipsum}
                  begin{document}
                  lipsum[1-4]

                  lipsum[5]{1-14}
                  lipsum[6][1]
                  begin{figure}[!ht]
                  centering
                  includegraphics[width=0.55textwidth]{example-image-a}
                  end{figure}
                  begin{figure}[!ht]
                  centering
                  includegraphics[width=0.55textwidth]{example-image-b}
                  end{figure}
                  lipsum[1][1-5]

                  end{document}



                  enter image description here








                  share|improve this answer












                  share|improve this answer



                  share|improve this answer










                  answered 6 hours ago









                  AboAmmarAboAmmar

                  34.7k32985




                  34.7k32985






























                      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%2f487440%2feconomise-space-with-floats%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

                      GameSpot

                      日野市

                      Tu-95轟炸機