How do I cite multiple references in latex?
Viewed 50,067 times

According to the FAQ, multiple references to the same statement should be separated with a semicolon. EG:

"It is well known that pigs fly(foo2012; bar2013; baz et. al 2015)"

However, the \citep command provided with the latex template doesn't allow for semicolons. IE, I can't do this:

\citep{foo2012; bar2013}...

Instead, I have to call citep multiple times:

\citep{foo2012} ; \citep{bar2013}

And this results in each entry being wrapped in parenthesis:

(foo2012) ; (bar2013)

Any protips?

waiting for moderation

Just following up. I put the bibpunct command (I presume it has a forward slash preceeding it which isn't being rendered) in my doc header with no luck. But when I did \\citep{X,Y,Z} the semicolons were inserted automatically!

PS, why do I have to do double slash to get a slash to render in blockquote mode?

waiting for moderation
1 Answer
Accepted answer

Thanks Adam - there are two options:

Use \bibpunct[, ]{(}{)}{;}{a}{,}{,} just before \begin{document} command which will put ; as a citep separator.

Alternately, use (\citealtp{ref1}; \citealtp{ref2}; \citealtp{ref3}) wherever you are using multiple citations.

As a general rule though you don't need to worry about this for a PeerJ submission, and you can just provide the source file using \citep{ref1,ref2,ref3} and don't worry about the punctuations in between the citations as our typesetters we will take care about the punctuation and other house-styles.

waiting for moderation