The following MWE demonstrates the large gap between the heading 'List of Tables' and the caption for the first entry in this list.
How can the vertical space between the heading and first line of text be reduced?


                    1 & 2  \\ 
                    3 & 4  \\ 
                \caption{This is my table 1.}

Very similar to the question fncychap package - reduce vertical gap/space between header and chapter heading you could redefine \@makeschapterhead:

  \vspace*{-28\p@}% <- modify here for changing the space above
  {\parindent \z@ \raggedright
    \vskip -30\p@% <- modify here for changing the space below

I put comments next to the commands which produce the spacing. The original spacing below is 40 pt. You could use it with a different value, also negative values are possible.

  • this is not correct. The line "\vspace*{10\p@}%" refers to the space ABOVE the heading. Not below, between the heading and the text. You can see the affect by changing 10 to -120, the page is shifted closer to the top, but the gap width remains. – Ian Gregory Mar 15 '11 at 15:26
  • @Ian: Didn't you see that I referred to the 8th line? This is commented out, like I said, the 40 pt. The line \vspace*{10\p@}% means the heading, but it doesn't matter here. Modify that as you like. I just left it the same like in the linked earlier question by you. – Stefan Kottwitz Mar 15 '11 at 15:43
  • 1
    I worked out the issue. You are correct! The trick is not to comment out %\vskip 40\p@ but to set the value negative. The values: "\vspace*{-28\p@}" and "\vskip -30\p@" worked best for me. Thanks!! – Ian Gregory Mar 16 '11 at 0:25
  • This will change the space between the chapter heads and the following text for the whole document. This is normaly part of the typographic design of the document. If it is needed only for the \listof..'s then why not redefine \listoftables by adding negative space after the \chapter* command? – Danie Els Mar 16 '11 at 8:12
  • @Danie: I suggested a consistent change which applies to the whole document. Even though the question is about \listoftables, I assume that Ian doesn't want to have the spacing of the other starred chapter heads differently. Also, Ians earlier (linked) question was about headings in general. Note: the question and the solution concern starred headings only. @Ian: please clarify if you mean that or if unstarred resp. list headings are meant in general. – Stefan Kottwitz Mar 16 '11 at 8:50

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.