BibTeX, biblatex and biberHow to add line breaks in biblabel

Information and discussion about BiBTeX - the bibliography tool for LaTeX documents.
Post Reply
kipi
Posts: 1
Joined: Fri Sep 11, 2009 9:54 am

How to add line breaks in biblabel

Post by kipi »

Hi!

I am looking for a solution for the following problem: I would like to have a line break after each label in the bibliography. What I would like to have is:

[Label1]
Author1, title1, year
[Label2]
Author2, title2, year
...

I have tried to redefine the biblabel command in the preamble:

\renewcommand{\@biblabel}[1]{[\textbf{#1}]\linebreak}

But it does not work... :?

Any suggestions?

Kind regards,
Kimmo

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

gmedina
Posts: 2313
Joined: Wed Jul 11, 2007 11:45 pm

How to add line breaks in biblabel

Post by gmedina »

Hi,

which document class are you using?

Edit: regardless of the document class used (at least if it is one of the standard ones), you can try adding something like this in the preamble:

Code: Select all

\makeatletter
\def\@bibitem#1{\item\mbox{}\par
  \if@filesw\immediate\write\@auxout
    {\string\bibcite{#1}{\the\value{\@listctr}}}\fi\ignorespaces}
\makeatother
Edit2: if you are using natbib or other package(s) to format your bibliography, my suggestion won't work; in this case, please give us all the relevant information about packages, styles, etc. that you use to build your bibliography.
1,1,2,3,5,8,13,21,34,55,89,144,233,...
Post Reply