Search code examples
pandoccitationscsl

Italic inline citation in CSL + Pandoc


I am using the CSL style under http://www.zotero.org/styles/chicago-author-date with Pandoc. I would like to have the authors' names in italics style when citing them in text. How can I achieve this? Thank you for your help.

EDIT: To be more precise, I would like to have in-line citations without parentesis, like Fisman (2001). I have tried to add font-style="italic" to <text macro="contributors-short"/>, but it only works when using parenthesis-style citations with [@Fisman2001]. A minimal working example is provided here.


Solution

  • You'll have to modify the CSL style. There are various ways of getting what you want, but likely the easies is to modify line 513 of the style from

    <text macro="contributors-short"/>

    to

    <text macro="contributors-short" font-style="italic"/>

    See e.g. here for some general instructions on editing CSL styles, though you basically just edit the file in a text editor.