23

How can I format the titles "Books" and "Articles" to appear as \subsections?

MWE:

\documentclass{article}

\usepackage{lipsum}
\usepackage{biblatex}
\addbibresource{NZSM446.bib}

\begin{document}
\section{Sections Available}
\subsection{Subsection}
\subsubsection{Subsubsection}
\section{Bibliography}
\nocite{*}
\printbibliography[title={Books},type=book,sorting=nyt]
\printbibliography[title={Articles},type=article,sorting=nyt]
\end{document}

Desired output:

enter image description here

30

You can add heading=subbibliography when issuing \printbibliography.

Also, load biblatex with the option defernumbers=true when printing different bibliographies with different types.

\documentclass{article}

\usepackage{lipsum}
\usepackage[defernumbers=true]{biblatex}
\addbibresource{NZSM446.bib}

\begin{document}
\section{Sections Available}
\subsection{Subsection}
\subsubsection{Subsubsection}
\section{Bibliography}
\nocite{*}
\printbibliography[title={Books},type=book,sorting=nyt,heading=subbibliography]
\printbibliography[title={Articles},type=article,sorting=nyt,heading=subbibliography]
\end{document}

enter image description here


In response to your edited question, you can also add heading=subbibnumbered when issuing \printbibliography to achieve what you want.

Notice that, if you want, you can also substitute (for consistency)

\section{Bibliography}

with

\printbibheading[title={Bibliography},heading=bibnumbered]

So, the definitive MWE could be:

\documentclass{article}

\usepackage{lipsum}
\usepackage[defernumbers=true]{biblatex}
\addbibresource{NZSM446.bib}

\begin{document}
\section{Sections Available}
\subsection{Subsection}
\subsubsection{Subsubsection}
\nocite{*}
\printbibheading[title={Bibliography},heading=bibnumbered]
\printbibliography[title={Books},type=book,sorting=nyt,heading=subbibnumbered]
\printbibliography[title={Articles},type=article,sorting=nyt,heading=subbibnumbered]
\end{document} 

enter image description here

  • I used your MWE exactly as prescribed but it did not produce the result I am looking for. I have uploaded an example of the output I am trying to achieve. Any further suggestions? – Αναξ Sep 25 '13 at 21:49
  • @Αναξ see the edited answer. – karlkoeller Sep 26 '13 at 11:27

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.