Modified AMA Citation Style

edited August 31, 2018
The default AMA citation style is a superscripted numeric citation with a numbered reference list. I am trying to edit the citation style so that the in-text citation appears as follows:

...text to be cited [Author, year; Author, year].

The reference list should be sorted alphabetically. Using the AMA (sorted alphabetically) style as my starting point, I am assuming the following code is what needs to be edited, but I am not sure how to get it to look how I want:
<citation collapse="citation-number">
<sort>
<key variable="citation-number"/>
</sort>
<layout delimiter="," vertical-align="sup">
<text variable="citation-number"/>
<group prefix="(" suffix=")">
<label variable="locator" form="short" strip-periods="true"/>
<text variable="locator"/>
</group>
</layout>
</citation>

Any help would be appreciated.
  • The easiest would be to copy the author and year-date macros over from a style that has them the way you like and then use those in the citation section. Beyond that, a bit hard to say without seeing your code and/or knowing more precisely what you need. (to show code snippets, put them in <code>code tags</code>
    For longer code bits, use hastebin.com)
  • Thank you. I got it to work by copying over the author and year-date macros as you suggested. I had to play with a bunch of the prefix and suffix options to get it to look right, but it should work for my purposes.

This is an old discussion that has not been active in a long time. Before commenting here, you should strongly consider starting a new discussion instead. If you think the content of this discussion is still relevant, you can link to it from your new discussion.

Sign In or Register to comment.