The iucr document class, prescribed for IUCr journals, includes the harvard citation management package. How can I change \cite{Abe99} so that "Abe et al., 1999" is preceded by "e.g.", within the parentheses?

  • No, I cannot switch, since I have to use the journal's style file iucr.cls.
    – Joachim W
    Nov 20 '18 at 13:09
  • Ah too bad. If you are using a journal class to submit to a publisher they probably won't like you hacking their packages either, so you are in a bit of a fix. (BTW: You may want to clarify that you are using a publisher class, I read the "in iucr style" as referring to iucr.bst, i.e. a BibTeX style and not a document class. An example document would be even better and would have avoided that confusion entirely.)
    – moewe
    Nov 20 '18 at 13:14
  • 1
    @Mico Ah, I totally missed that. Good catch!
    – moewe
    Nov 20 '18 at 14:24

The harvard citation management package provides the \citeaffixed macro. This macro would appear to provide a ready-made solution for your formatting query. E.g., assuming that \cite{Abe99} produces (Abe et al., 1999), then


produces the following citation call-out:

(e.g., Abe et al., 1999)

Had there not been the pertinent macro \citeaffixed (see the accepted answer by @Mico), then a fallback would have been

(e.~g.\ \citename{Abe99}, \citeyear*{Abe99})

See the comment below for yet another solution.

  • In that case I think \harvardparenthesis{none} and (e.g. \cite{Abe99}) would be slightly nicer for general use, but for a one-off you may use whatever you like (untested ...). Note that \citename and \citeyear don't interact with other \cites in the way \cite does.
    – moewe
    Nov 20 '18 at 13:16
  • Wouldn't \harvardparenthesis{none} change the style for all citations to come? I need the "e.g." in just one place.
    – Joachim W
    Nov 20 '18 at 13:17
  • Maybe you can change it back after the citation with \harvardparenthesis{round} (not sure if it is a preamble command). I would probably wrap this up in a wrapper command with its own parentheses.
    – moewe
    Nov 20 '18 at 13:19
  • For unknown reasons, the solution based on \harvardparenthesis prevents linebreaks within the citation, whereas my solution allows them.
    – Joachim W
    Nov 21 '18 at 21:39

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.