# How to remove the space after references/bibliography title?

After 'References' title and before the items list, there is a space between them, as shown in the following figure:

My code is:

\documentclass[a4paper]{article}
\usepackage{enumitem}
\usepackage{natbib}
\setlength{\bibsep}{0.0pt}
\usepackage{expdlist}
\renewcommand{\refname}{\large 6. References}

\begin{document}

\bibliographystyle{unsrt}
\bibliography{refs}

\end{document}


I successfully removed the space between the items list, but can't remove the space after the 'References' title. May I know how to remove the space in the red box?

• Welcome to TeX.SE. Unless you provide some LaTeX code that shows how you build the bibliography, it's virtually impossible for readers of your posting to suggest LaTeX code that modifies your LaTeX code in a way that lets you achieve your formatting goals. To maximize your chances of getting useful advice, your LaTeX code should be not merely a code snippet but a minimal working example, i.e., something that starts with \document class, ends with \end{document], and reproduces the formatting issue you're looking to solve. – Mico Jul 4 at 6:33
• @Mico Thank you very much for your reply. I have added the corresponding code. – Mach. Jul 4 at 6:51

Since you use the natbib package, you could redefine its \bibpreamble macro to snug up the space between the bibliography header and the first bib item.

\RequirePackage{filecontents}
\begin{filecontents}{refs.bib}
@misc{abc:3000,
author = "A and B and C", title = "Thoughts", year = 3000}
@misc{xyz:3001,
author = "X and Y and Z", title = "Thoughts", year = 3001}
\end{filecontents}

\documentclass[a4paper]{article}
\usepackage{enumitem,expdlist}

\usepackage[numbers]{natbib}
\bibliographystyle{unsrtnat}
\renewcommand\bibpreamble{\vspace{-0.8\baselineskip}} % choose a suitable vert. skip
\setlength{\bibsep}{0pt} % no extra vert. space between bib items
\renewcommand{\refname}{\large 6. References}

\begin{document}
\nocite{*}
\bibliography{refs}
\end{document}

• Thank you very much for your reply! It works well! Thank you so much! – Mach. Jul 4 at 11:51