# TOC: Bibliography entry (biblatex / biber) not spaced correctly

I have a bibliography generated by biblatex and biber that is placed in the TOC, however vertical spacing is wrong. Chapters are supposed to be double spaced (before and after). My institution provides a template that styles the TOC and performs the double space, but doesn't do it for the Bibliography.

Bibliography - should have vertical space above:

MWE

This has a separate style file - the style file wouldn't work when I put it inline in the tex document.

\documentclass[12pt,letterpaper,oneside,pdftex]{book}
\usepackage{style}
\usepackage{filecontents}
\usepackage[
backend=biber,
style=numeric,
sorting=ynt
]{biblatex}
\begin{filecontents}{\jobname.bib}
@article{Bli74,
author = {Blinder, Alan S.},
year = {1974},
title = {The economics of brushing teeth},
journaltitle = {Journal of Political Economy},
volume = {82},
number = {4},
pages = {887--891},
}
\end{filecontents}

\begin{document}

\frontmatter
\tableofcontents

\mainmatter
\chapter{A Cat}
\section{Whiskers}
\section{Meow}

\chapter{A Dog}
\section{Tail}
\section{Woof}

\appendix
\chapter{Utilities}
A reference \cite{Bli74}
\section{Util 1}
\section{Util 2}

\chapter{Stuff}
Here's a second reference
\section{Crom}
\section{Ulent}

\backmatter
\printbibliography[
title={Bibliography}
]
\end{document}


style.sty

\def\@chapter[#1]#2{
\ifnum \c@secnumdepth >\m@ne
\if@mainmatter
\refstepcounter{chapter}
\typeout{\@chapapp\space\thechapter.}
\ifx\@chapapp\appflag
\else
\fi
\else
\fi
\else
\fi}

\renewcommand\tableofcontents{%
\@starttoc{toc}%
\newpage
}

\def\l@chapter{\pagebreak[3]
\vskip 0.0em
\@dottedtocline{0}{0em}{2.4em}}

• It would really help if you could show a full MWE that lets us reproduce the output you get. What document class do you use? Do you use other packages to modify chapter headings? At the moment it is quite hard to answer your question. – moewe Feb 6 '18 at 7:48
• I'll throw one together – datu-puti Feb 6 '18 at 13:27
• Great. Please make sure that we can compile your MWE, the best approach is to check if the MWE compiles and shows the problem when you compile it in a new, clean directory. In particular you need to get rid of \include and \input statements. See tex.meta.stackexchange.com/q/228/35864 – moewe Feb 6 '18 at 13:36

The bibliography is added to the TOC with \addcontentsline{toc}{chapter}{#1}, so we need to mimic what you do in \@chapter in the definition of the bibliography heading as well

\makeatletter

• If you are using an older version of biblatex and \abx@MakeMarkcase is not defined you might need \newcommand*{\abx@MakeMarkcase}{\MakeUppercase} – moewe Feb 6 '18 at 16:09