I have a annoying line between two fingers, I would like to avoid this:

enter image description here

I have tried to change the paragraph location before the second figure, but even though I still have an orphan line at the beginning of the page:

enter image description here

There are some space at the end of the page after the second figure. I have tried to reduce the size of the figures a bit. I have also tried the needspace Package, but it did not help.

Any thoughts?

closed as unclear what you're asking by clemens, barbara beeton, Zarko, Stefan Pinnow, user31729 Mar 2 '17 at 21:34

Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.

  • 3
    Can you give us the example file? – user31729 Sep 9 '15 at 14:22
  • 3
    By default figures would not go in that position, they would float to the top of the page above that line of text, as you have not shown any code it is hard to suggest what to change, but not using h or H is one possibility. – David Carlisle Sep 9 '15 at 15:53
  • Thank you @DavidCarlisle for the hint. I have removed the [h] option. However, I still have the same problem, but now the profane line "has the higher weight" comes after the two figures. Is there a way to force this line in previous page? – user692704 Sep 10 '15 at 15:58
  • yes lots of ways, see.. this or this or generally search the site for "widow" and "orphan" – David Carlisle Sep 10 '15 at 16:20
  • That is there are lots of possible ways but whether they work depends on what is on the previous page (and whether you can change that) for example if the page is full of text with no flexible space then the extra line can not be "squeezed in" unless you can change linebreaking (see link above) or change the text or use \enlargethispage to get an extra line in that page or ... – David Carlisle Sep 10 '15 at 16:22