I just started learning LaTeX yesterday and getting used to all of the syntax and jargon. I apologize if this question is asked profusely, but perhaps I don't know the keywords.

I am wondering how to evenly space images to reduce whitespace (see image below).

Many posts are referring to eliminating whitespace above and below images after insertion or talking about floating environments. Is it that I am not using the correct environment for inserting .png images?

Here is what I have written:


\graphicspath{ {"C:\Users\me\Desktop\Classwork\Spring 2020\CHE304\Online Lab 3\Non-Inverting Input"} }
\usepackage[a4paper, inner=1.7cm, outer=2.7cm, top=2cm,  bottom=2cm, bindingoffset=1.2cm]{geometry}

    \title{\Large{\textbf{Module VI: Operational Amplifiers}}}
    \date{April 28, 2020}


    \section{Non-Inverting Operational Amplifier}

        \caption{A non-inverting operational amplifier with a gain of 2}

        \caption{A non-inverting operational amplifier with a gain of 2}


Here is the output:

Output of code above

  • This line will have given errors \graphicspath{ {"C:\Users\me\Desktop\Classwork\Spring 2020\CHE304\Online Lab 3\Non-Inverting Input"} } you need to use / not \ even on windows, but better to simply delete it, it is not needed if the images are in the folder with the document. – David Carlisle Apr 29 at 15:22
  • Hahaha thank you! I suppose it didn't throw any errors because I have been manually designating the paths below. – BactrianFan Apr 29 at 15:25
  • 2
    There doesn't seem anything wrong with the figure spacing, you could reduce the lengths \floatsep and \intextsep but do you really want them closer together? best to ignore the spacing until you have written more text as it will adjust anyway depending on the text added. in a document with just two figures and no text latex does not have many options for positioning the figures well. – David Carlisle Apr 29 at 15:25
  • It is the space at the bottom that I am considering. Such that the blank space before the new page is not as prominent. The next page has a figure that will not accommodate all three appropriately. – BactrianFan Apr 29 at 15:39
  • sure but if your whole document just said hello world there would also be a space at the bottom. If you write some words they will (or may) fill that space. With the document as posted what could latex fill the space with? – David Carlisle Apr 29 at 15:41

You can (most likely) force the second float to the bottom of the page by using [!b] but only do this after all editing done as float positioning depends on the surrounding text not just the figures themselves.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.