BibTeX, biblatex and biberComma between author and year for citation in-text

Information and discussion about BiBTeX - the bibliography tool for LaTeX documents.
Post Reply
jfoster473
Posts: 2
Joined: Mon Aug 04, 2014 11:47 am

Comma between author and year for citation in-text

Post by jfoster473 »

Dear all,

I have only been using Latex for a few weeks and am using BibTex to do the Biography.

When I cite a reference in-text there is no comma between the author and the date in the in-text cite. For example when I use the \cite{} command it prints (Nash 1950) rather than (Nash, 1950).

I have looked around the forum but have not been able to find an answer to this.

Thank you,

J.

Recommended reading 2024:

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

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

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

Stefan Kottwitz
Site Admin
Posts: 10335
Joined: Mon Mar 10, 2008 9:44 pm

Comma between author and year for citation in-text

Post by Stefan Kottwitz »

Hello,

welcome to the forum!

Which bibliography style are you using? I.e. what is your setting with \bibliographystyle, and do you have any relevant packages (natbib?) or settings in your document preamble?

Stefan
LaTeX.org admin
User avatar
Johannes_B
Site Moderator
Posts: 4182
Joined: Thu Nov 01, 2012 4:08 pm

Comma between author and year for citation in-text

Post by Johannes_B »

If you are flexible, you should have a look at package biblatex in conjunction with biber.
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.
jfoster473
Posts: 2
Joined: Mon Aug 04, 2014 11:47 am

Comma between author and year for citation in-text

Post by jfoster473 »

Thank you for the reply,

I am using a custom version I made using custom-bib. I am not using any packages - should I look into using a package such as biblatex or natbib?
User avatar
Johannes_B
Site Moderator
Posts: 4182
Joined: Thu Nov 01, 2012 4:08 pm

Comma between author and year for citation in-text

Post by Johannes_B »

jfoster473 wrote:should I look into using a package such as biblatex or natbib?
.

Yes, definitely. Biblatex is the modern one and you can modify the appearance of citations and the bibliography using LaTeX-commands. With biber as the backend you get a lot more options to sort the bibliography including bibliographies per chapter or subdivided bibliographies.
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.
Post Reply