I am preparing a report in LaTeX and I have many references which I intend to put in the Bibliography.

I was wondering if it possible to group the reference based on the topic. I would expect a LaTeX output something like this:


[1] IEEE Standard

[2] Book 1

[Section 2]

[3] Ref 1

[4] Ref 2

This way, it will be useful when we just read the Bibliography part, we can access the References based on the section of our interest rather than going through all the references.


2 Answers 2


You can use the refsection environment and the section option of \printbibliography to select a reference section. A little example:

    author = "Michel Goossens and Frank Mittlebach and Alexander Samarin",
    title = "The {LaTeX} Companion",
    year = "1993",
    publisher = "Addison-Wesley",
    address = "Reading, Massachusetts"


    author = "George D. Greenwade",
    title = "The {C}omprehensive {TeX} {A}rchive {N}etwork ({CTAN})",
    year = "1993",
    journal = "TUGBoat",
    volume = "14",
    number = "3",
    pages = "342--351",
    url=" www.ctan.org"

    author = "Donald E. Knuth",
    title = "{TeX} and Metafont, New Directions in Typesetting",
    year = "1979",
    publisher = "American Mathematical Society and Digital Press",
    address = "Stanford"

    author = "Leslie Lamport",
    title = "{LaTeX}: A Document Preparation System",
    year = "1994",
    edition = "Second",
    publisher = "Addison-Wesley",
    address = "Reading, Massachusetts"

    author = "Oren Patashnik",
    title = "{BibTeX}ing.  Documentation for General {BibTeX} users",
    year = "1988",
    howpublished = "Electronic document accompanying BibTeX

    author = "Sebastian Rahtz",
    title = "A Survey of {T}e{X} and graphics",
    year = "1989",
    institution = "Department of Electronics and Computer Science",
    address = "University of Southampton, UK",
    number = "CSTR 89-7"

  \section*{References for Section~\ref{refsection:\therefsection}}}

\section{Test Section One}

\cite{goossens93}, \cite{lamport94}, \cite{rahtz89}

\section{Test Section Two}

\cite{greenwade93}, \cite{patashnik88}, \cite{knuth79}



enter image description here

  • don't know where you got the bib items, but the bracing in names is seriously deficient. almost everywhere it should be {T}e{X} or {TeX} and similarly for LaTeX. please fix. Sep 24, 2011 at 13:27
  • @barbara beeton: fixed. Thanks for pointing out the deficiencies. Sep 24, 2011 at 15:06

Here is another solution which is more automated:


    % refsection=chapter,
%  \section*{References for Section~\ref{refsection:\therefsection}}}
  \section*{References for Segment~\ref{refsegment:\therefsection\therefsegment}}}


%% ##############################

Lorem ipsum dolor sit amet~\cite{sigfridsson}.

\chapter{Another Chapter}
At vero eos et accusam et justo duo dolores et ea rebum~\cite{kastenholz}.

Cite an author not previously cited~\cite{cicero}.
And then again cite some authoprs cited previously~\cite{kastenholz}.
Note: Alphabetcially, K comes before S.
At vero eos et accusam et justo duo dolores et ea rebum~\cite{sigfridsson}.

% \bibbysection[heading=subbibliography]


It more or less does the same as the answer by Gonzalo Medina, but

  • uses refsegment instead of refsection to ensure unique labels
  • the biblatex option refsegment=chapter automatically marks each \chapter{} as a refsegment
  • \bibbysegment automatically writes a \printbibliography command for each refsegment

biblatex comes with a lot of usage examples, the commands used here were more or less directly copied from 12-references-by-segment.tex

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .