[Tex/LaTex] Format subbibliography headings as subsection

biblatexsectioning

I'd like my subbibliography headings to be formatted as subsections with the book documentclass :

Here is an example :

\documentclass[12pt]{book}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{lmodern}
\usepackage[english]{babel}
\usepackage[autostyle]{csquotes}

\usepackage[backend=biber,style=authoryear]{biblatex}
\addbibresource{example.bib}
\begin{document}

\nocite{*}
\printbibheading
\section*{First category}
\printbibliography[keyword=aaa, heading=subbibliography, title={Subsection1}]
\printbibliography[keyword=bbb, heading=subbibliography, title={Subsection2}]
\section*{Second category}
\printbibliography[keyword=ccc, heading=subbibliography, title={Subsection3}]
\printbibliography[keyword=ddd, heading=subbibliography, title={Subsection4}]
\printbibliography 
\end{document}

with example.bib :

@book{a,
  author       = {Doe, John},
  title        = {Super Book},
  date         = 2006,
  publisher        = {Publisher},
  keywords   = {aaa},
}

@book{b,
  author       = {Sponge, Bob},
  title        = {My Life},
  date         = 2006,
  publisher        = {Publisher},
  keywords   = {bbb},
}

@book{c,
  author       = {Doeee, John},
  title        = {Another Book},
  date         = 2006,
  publisher        = {Publisher},
  keywords   = {ccc},
}

@book{d,
  author       = {Doedoo, John},
  title        = {Book},
  date         = 2009,
  publisher        = {Publisher},
  keywords   = {ddd},
}

The result is :

enter image description here

The headings (called "Subsection 1", "Subsection 2", "Subsection 3", and "Subsection 4") are by default formatted as sections. How to change that?

Best Answer

Adding

\defbibheading{subbibliography}[\refname]{\subsection*{#1}}

seems to do the trick.

Related Question