LaTeX forum ⇒ Text Formattingcitation problems with natbib/scrreprt

Information and discussion about LaTeX's general text formatting features (e.g. bold, italic, enumerations, ...)
Posts: 26
Joined: Thu Nov 27, 2008 3:45 pm

citation problems with natbib/scrreprt

Postby demon » Sat Feb 21, 2009 4:58 pm

Hi again,

I'm using natbib in scrreprt for my thesis. In the examples for natbib multiple citations are separated by colon, the year is separated by a comma. In my case, everything is separated by colon or a comma:

with \usepackage[comma]{natbib}
citep{...} results in: (Hogben, 2008, Rubel, 2007, Halpin, 2008)

with \usepackage{natbib}
citep{...} results in: (Hogben; 2008; Rubel; 2007; Halpin; 2008)

But how can I get the style like it is in all the examples: (Hogben, 2008; Rubel, 2007...)?

Thanks a lot!
Last edited by demon on Sat Feb 21, 2009 5:14 pm, edited 1 time in total.

Posts: 105
Joined: Fri Nov 30, 2007 11:32 pm

Postby curiouslearn » Sat Feb 21, 2009 5:07 pm

Hi demon,

You can try
  1. \usepackage{natbib}
  2. \setcitestyle{aysep={,},citesep={;}}

Does that work?

Posts: 26
Joined: Thu Nov 27, 2008 3:45 pm

Postby demon » Sat Feb 21, 2009 5:14 pm

Excellent solution, works fine, thanks!

I only wonder why they display it like that everywhere when it's not default ... :(

Return to “Text Formatting”

Who is online

Users browsing this forum: No registered users and 4 guests