Skip to content

Instantly share code, notes, and snippets.

@sjgknight
Last active September 15, 2026 01:53
Show Gist options
  • Select an option

  • Save sjgknight/8767fbd4b43b2713dcc42d815af93239 to your computer and use it in GitHub Desktop.

Select an option

Save sjgknight/8767fbd4b43b2713dcc42d815af93239 to your computer and use it in GitHub Desktop.
AMA modified brief citation style
<?xml version="1.0" encoding="utf-8"?>
<style xmlns="http://purl.org/net/xbiblio/csl" class="in-text" delimiter-precedes-last="always" demote-non-dropping-particle="sort-only" initialize-with="" initialize-with-hyphen="false" name-as-sort-order="all" name-delimiter=", " page-range-format="expanded" sort-separator=" " version="1.0" default-locale="en-US">
<info>
<title>American Medical Association (AMA) Manual of Style 11th edition (wo URLs, author-date, alphabetical)</title>
<title-short>AMA (mods: author-date, alphabetical, no URLs)</title-short>
<id>http://www.zotero.org/styles/american-medical-association-no-url-auth-date</id>
<link href="http://www.zotero.org/styles/american-medical-association-no-url-auth-date" rel="self"/>
<link href="http://www.zotero.org/styles/american-medical-association" rel="template"/>
<link href="https://doi.org/10.1093/jama/9780190246556.003.0003" rel="documentation"/>
<link href="https://zotero.org/groups/2205533/collections/QW4JGG9G" rel="documentation"/>
<author>
<name>Julian Onions</name>
<uri>https://orcid.org/0000-0001-5192-6856</uri>
</author>
<contributor>
<name>Christian Pietsch</name>
<uri>https://orcid.org/0000-0001-8778-1273</uri>
</contributor>
<contributor>
<name>Daniel W. Chan</name>
<uri>https://orcid.org/0000-0002-8082-2316</uri>
</contributor>
<contributor>
<name>Patrick O'Brien</name>
<email>obrienpat86@gmail.com</email>
</contributor>
<contributor>
<name>Andrew Dunning</name>
<uri>https://orcid.org/0000-0003-0464-5036</uri>
</contributor>
<contributor>
<name>Simon Knight</name>
<uri>https://orcid.org/0000-0002-8709-5780</uri>
</contributor>
<category citation-format="author-date"/>
<category field="medicine"/>
<summary>AMA Manual of Style: A Guide for Authors and Editors (11th ed.), without URLs. Modified from original, by Simon Knight to convert to author-date in-line, and alphabetical unnumbered bibliography, with other minor changes for brevity.
Using Zotero 'extra' fields (me: yes) with better bibtex csl export custom fields the style will prepend an * to any flagged citations.</summary>
<updated>2026-09-15T00:51:08+00:00</updated>
<rights license="http://creativecommons.org/licenses/by-sa/3.0/">This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 License</rights>
</info>
<locale xml:lang="en">
<terms>
<term name="advance-online-publication"/>
<term name="page-range-delimiter">-</term>
<term name="presented at">presented at</term>
<term name="preprint">preprint</term>
<term form="short" name="supplement">
<single>suppl.</single>
<multiple>suppls.</multiple>
</term>
</terms>
</locale>
<macro name="author-marker">
<choose>
<if variable="me">
<text value="*"/>
</if>
</choose>
</macro>
<macro name="label-chapter-number">
<group delimiter=" ">
<choose>
<if is-numeric="chapter-number">
<label form="short" strip-periods="true" variable="chapter-number"/>
</if>
</choose>
<text variable="chapter-number"/>
</group>
</macro>
<macro name="label-edition">
<group delimiter=" ">
<choose>
<if is-numeric="edition">
<number form="ordinal" variable="edition"/>
<label form="short" variable="edition"/>
</if>
<else>
<text variable="edition"/>
</else>
</choose>
</group>
</macro>
<macro name="label-supplement-number">
<group delimiter=" ">
<choose>
<if is-numeric="supplement-number">
<text form="short" strip-periods="true" term="supplement"/>
</if>
</choose>
<text variable="supplement-number"/>
</group>
</macro>
<macro name="label-volume">
<group delimiter=" ">
<choose>
<if is-numeric="volume">
<label form="short" strip-periods="true" text-case="capitalize-first" variable="volume"/>
</if>
</choose>
<text variable="volume"/>
</group>
</macro>
<macro name="editor">
<names variable="editor">
<label form="short" prefix=", "/>
</names>
</macro>
<macro name="author">
<names variable="author" font-weight="bold">
<name/>
<label form="short" prefix=", "/>
<substitute>
<names variable="editor"/>
<text macro="title"/>
</substitute>
</names>
</macro>
<macro name="title">
<choose>
<if match="any" type="bill book graphic legal_case legislation motion_picture report song thesis">
<text font-style="italic" text-case="title" variable="title"/>
</if>
<else>
<text variable="title"/>
</else>
</choose>
</macro>
<citation>
<layout prefix="(" suffix=")" delimiter="; ">
<names variable="author">
<name form="short"/>
</names>
<date variable="issued" prefix=" ">
<date-part name="year"/>
</date>
</layout>
</citation>
<bibliography et-al-min="3" et-al-use-first="3" entry-spacing="0" line-spacing="1">
<sort>
<key variable="author"/>
<key variable="issued"/>
<key variable="title"/>
</sort>
<layout>
<group>
<text macro="author-marker"/>
<group delimiter=". " suffix=".">
<text macro="author"/>
<text macro="title"/>
<choose>
<if match="any" type="bill book graphic legislation motion_picture report song">
<group delimiter=":">
<group delimiter=". ">
<text macro="label-volume"/>
<text macro="label-edition"/>
<text macro="editor" prefix="(" suffix=")"/>
<group delimiter="; ">
<text variable="publisher"/>
<date date-parts="year" form="text" variable="issued"/>
</group>
</group>
<text variable="page"/>
</group>
</if>
<else-if match="any" type="chapter paper-conference entry-dictionary entry-encyclopedia">
<group delimiter=":">
<group delimiter=": ">
<text term="in" text-case="capitalize-first"/>
<group delimiter=". ">
<text macro="editor"/>
<text font-style="italic" text-case="title" variable="container-title"/>
<text macro="label-volume"/>
<text macro="label-edition"/>
<text variable="collection-title"/>
<group delimiter="; ">
<text variable="publisher"/>
<date date-parts="year" form="text" variable="issued"/>
</group>
</group>
</group>
<choose>
<if variable="page">
<text variable="page"/>
</if>
<else>
<text macro="label-chapter-number"/>
</else>
</choose>
</group>
</else-if>
<else-if type="legal_case">
<group delimiter=" ">
<group delimiter=", ">
<group delimiter=". ">
<text macro="editor" prefix="(" suffix=")"/>
<group delimiter=" ">
<text variable="container-title"/>
<text variable="volume"/>
</group>
</group>
<text variable="page"/>
</group>
<group delimiter=" " prefix="(" suffix=")">
<text variable="authority"/>
<date date-parts="year" form="numeric" variable="issued"/>
</group>
</group>
</else-if>
<else-if match="any" type="post post-weblog webpage">
<text variable="container-title"/>
<date form="text" variable="issued"/>
</else-if>
<else-if type="speech">
<group delimiter=": ">
<choose>
<if variable="genre">
<group delimiter=" ">
<text text-case="capitalize-first" variable="genre"/>
<text term="presented at"/>
</group>
</if>
<else-if match="any" variable="event-title event-place">
<text term="presented at" text-case="capitalize-first"/>
</else-if>
</choose>
<group delimiter="; ">
<text variable="event-title"/>
<date form="text" variable="issued"/>
<text variable="event-place"/>
</group>
</group>
</else-if>
<else-if type="thesis">
<text variable="genre"/>
<group delimiter="; ">
<text variable="publisher"/>
<date date-parts="year" form="text" variable="issued"/>
</group>
</else-if>
<else>
<text macro="editor"/>
<text font-style="italic" form="short" strip-periods="true" variable="container-title"/>
<choose>
<if type="article">
<text font-style="italic" variable="publisher"/>
</if>
</choose>
<group delimiter=":">
<group delimiter=";">
<choose>
<if match="any" variable="issue volume">
<date date-parts="year" form="numeric" variable="issued"/>
</if>
<else>
<group delimiter=" ">
<choose>
<if type="article">
<text term="preprint" text-case="capitalize-first"/>
</if>
<else-if type="article-newspaper"/>
<else>
<text term="advance-online-publication" text-case="capitalize-first"/>
</else>
</choose>
<date form="text" variable="issued"/>
</group>
</else>
</choose>
<choose>
<if match="none" type="article-newspaper">
<group>
<text variable="volume"/>
<text prefix="(" suffix=")" variable="issue"/>
<text macro="label-supplement-number" prefix="(" suffix=")"/>
</group>
</if>
</choose>
</group>
<choose>
<if variable="number">
<text variable="number"/>
</if>
<else>
<text variable="page"/>
</else>
</choose>
</group>
</else>
</choose>
</group>
</group>
</layout>
</bibliography>
</style>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment