BibTeX, biblatex and biberComma between multiple citations and bibliography appearance

Information and discussion about BiBTeX - the bibliography tool for LaTeX documents.
Post Reply
Matias
Posts: 20
Joined: Sun Jan 17, 2010 11:40 pm

Comma between multiple citations and bibliography appearance

Post by Matias »

I use LyX 1.6 and JabRef 2.5.

Bibliography citation style is set to Natbib (numerical) in Lyx settings.

1. When I insert multiple citations they appear like this:
blablabla (1 2)
Instead I want the citations to be separated by comma, like this:
blablabla (1, 2)

Something with \usepackage[comma]{natbib}? If so I'm not sure were to put this code in Lyx.

2. When the bibliography is rendered it looks like this:
[1] Reference
Instead I want it without brackets, like this:
1. Reference

Help is appreciated.
Last edited by Matias on Fri Jan 22, 2010 1:33 am, edited 1 time in total.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org
LaTeX books
olofos
Posts: 56
Joined: Tue Nov 24, 2009 10:37 pm

Comma between multiple citations and bibliography appearance

Post by olofos »

1. The comma between the citations should be the default in natbib. I don't know how to do in LyX to change the options used when loading natbib, but I think the options 'numbers' and 'round' should give you citations of the form you want.

2. To change how the label is printed, put

Code: Select all

\makeatletter
\renewcommand\@biblabel[1]{#1.}
\makeatother
in the preamble. Again, I have no idea how to do this in LyX.
Matias
Posts: 20
Joined: Sun Jan 17, 2010 11:40 pm

Comma between multiple citations and bibliography appearance

Post by Matias »

Thank you.

As to question 2, your answer did very well.

As to question 1, I feel a little embarrassed, as I should have figured this out myself. Anyway, it works when I use this in the preamble:

Code: Select all

\bibpunct{(}{)}{,}{n}{,}{,}
Post Reply