Enclosing the year in round brackets in online citation.
Hello, A question to the \cite command. Following, http://wiki.contextgarden.net/Bibliography I defined \def\onlinecite{\cite[left=,right=]} so that I can cite bib-entries online in the text. However, I need to enclose the year of a citation in round-brackets. At the moment, I get: Jon Doe, 2013, has shown that... But I need: Jon Doe (2013) has shown that..., as this is required. I couldn't find any reference what I can do with \cite and what possibilities there are. Any idea? Thank you for your help. Thomas
On 05/31/2013 04:53 PM, Thomas Friedrich wrote:
I couldn't find any reference what I can do with \cite and what possibilities there are. Any idea?
Thank you for your help.
This seems to work, though it looks bizarre to me: \def\onlinecite{\cite[inbetween={ },right={)}]} \setuppublications [refcommand=authoryear] For future questions: please do not send code snippets, but minimal examples which can be compiled. And the wiki page on bibliographies has a reference to the bibmod manual, which is where I found information on this topic. Have you looked at it? Thomas
participants (2)
-
Thomas A. Schmitz
-
Thomas Friedrich