TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

In my Bibliography, I need two categories: Primary Sources and Secondary Sources. The first needs to be subdivided into Manuscripts and Published Works.

So, I thought I could use the following code:

    \printbibliography[keyword={Manuscripts}, heading=subbibliography, title={Manuscripts}]
    \printbibliography[keyword={Primary Source}, heading=subbibliography, title={Primary Sources}]
    \printbibliography[keyword={Secondary Source}, heading=subbibliography, title={Secondary Sources}]

This, however, gives me three categories, but I would like to have only two with the first being subdivided. In other words I need something like this:

    title={Primary Sources},
    subtitle={Manuscripts}]  %% subtitle={...}
share|improve this question
related: tex.stackexchange.com/questions/41818/… – Marco Daniel Apr 1 '13 at 11:22

Well, you could do the following to put both sectioning commands in one \defbibheading:

  \section*{Primary Sources}


A fuller example would be:


  \section*{Primary Sources}

  \subsection*{Published Works}}

  \section*{Secondary Sources}}





\printbibliography[heading=multilevel, notcategory={pri}, notcategory={sec}]
% \printbibliography[heading=multilevel, category={mss}]
\printbibliography[heading=published,  category={pri}]
\printbibliography[heading=secondary,  category={sec}]


But for some reason it does not work correctly if you use three bibliography categories, though it will work if you use notcategory.... However, it does work fine with three different keywords (e.g., keyword={mss}, keyword={pri}, keyword={sec}) as long as your .bib file entries have the appropriate keywords field. (Unfortunately, the biblatex-examples.bib that ships with biblatex only has two categories of keywords: primary and secondary.)

enter image description here

share|improve this answer
up vote 1 down vote accepted

I know, I could use something like this:

    \section*{Primary Sources}
    \printbibliography[keyword={Manuscripts}, heading=none]
        \subsection*{Published Works}
    \printbibliography[keyword={Primary Source}, heading=none]
    \section*{Secondary Sources}
    \printbibliography[keyword={Secondary Source}, heading=none]

Maybe, however, there are other, i.e., more elegant, solutions possible.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.