Skip to content
Browse files

add boycer's AJGP style

  • Loading branch information...
1 parent ec8fbc6 commit 6a09a19718911db6434467ca8036e474877277c9 @adam3smith adam3smith committed Oct 5, 2011
Showing with 185 additions and 0 deletions.
  1. +185 −0 american-journal-of-geriatric-pharmacotherapy.csl
View
185 american-journal-of-geriatric-pharmacotherapy.csl
@@ -0,0 +1,185 @@
+<?xml version="1.0" encoding="utf-8"?>
+<style xmlns="http://purl.org/net/xbiblio/csl" class="in-text" version="1.0" demote-non-dropping-particle="sort-only">
+ <info>
+ <title>American Journal of Geriatric Pharmacotherapy</title>
+ <id>http://www.zotero.org/styles/american-journal-of-geriatric-pharmacotherapy</id>
+ <link href="http://www.zotero.org/styles/american-journal-of-geriatric-pharmacotherapy" rel="self"/>
+ <link href="http://www.zotero.org/styles/ama" rel="template"/>
+ <author>
+ <name>Richard D Boyce</name>
+ <email>rdb20@pitt.edu</email>
+ </author>
+ <category citation-format="numeric"/>
+ <category field="medicine"/>
+ <updated>2011-09-12T22:16:03+00:00</updated>
+ <summary>Like the American Medical Association style as used in JAMA but with square brackets in the text rather than superscripts.</summary>
+ <link href="http://ajgeripharmacother.com/authorinfo" rel="documentation"/>
+ <rights>This work is licensed under a Creative Commons Attribution-Share Alike 3.0 License: http://creativecommons.org/licenses/by-sa/3.0/</rights>
+ </info>
+ <macro name="editor">
+ <names variable="editor">
+ <name name-as-sort-order="all" sort-separator=" " initialize-with="" delimiter=", " delimiter-precedes-last="always"/>
+ <label form="short" prefix=", " text-case="lowercase" suffix="." strip-periods="true"/>
+ </names>
+ </macro>
+ <macro name="anon">
+ <text term="anonymous" form="short" text-case="capitalize-first" strip-periods="true"/>
+ </macro>
+ <macro name="author">
+ <group suffix=".">
+ <names variable="author">
+ <name name-as-sort-order="all" sort-separator=" " initialize-with="" delimiter=", " delimiter-precedes-last="always"/>
+ <label form="short" prefix=" " suffix="" text-case="lowercase" strip-periods="true"/>
+ <substitute>
+ <names variable="editor"/>
+ <text macro="anon"/>
+ </substitute>
+ </names>
+ </group>
+ </macro>
+ <macro name="author-short">
+ <names variable="author">
+ <name form="short" and="symbol" delimiter=", " initialize-with="."/>
+ <substitute>
+ <names variable="editor"/>
+ <names variable="translator"/>
+ <text macro="anon"/>
+ </substitute>
+ </names>
+ </macro>
+ <macro name="access">
+ <choose>
+ <if variable="URL">
+ <text value="Available at:" suffix=" "/>
+ <group delimiter=". ">
+ <text variable="URL"/>
+ <group>
+ <text term="accessed" text-case="capitalize-first" suffix=" "/>
+ <date variable="accessed">
+ <date-part name="month" suffix=" "/>
+ <date-part name="day" suffix=", "/>
+ <date-part name="year"/>
+ </date>
+ </group>
+ </group>
+ </if>
+ </choose>
+ </macro>
+ <macro name="title">
+ <choose>
+ <if type="bill book graphic legal_case motion_picture report song" match="any">
+ <text variable="title" font-style="italic"/>
+ </if>
+ <else>
+ <text variable="title"/>
+ </else>
+ </choose>
+ </macro>
+ <macro name="publisher">
+ <group delimiter=": ">
+ <text variable="publisher-place"/>
+ <text variable="publisher"/>
+ </group>
+ </macro>
+ <macro name="year-date">
+ <group prefix=" ">
+ <choose>
+ <if variable="issued">
+ <date variable="issued">
+ <date-part name="year"/>
+ </date>
+ </if>
+ <else>
+ <text term="no date" form="short"/>
+ </else>
+ </choose>
+ </group>
+ </macro>
+ <macro name="edition">
+ <choose>
+ <if is-numeric="edition">
+ <group delimiter=" ">
+ <number variable="edition" form="ordinal"/>
+ <text term="edition" form="short" suffix="." strip-periods="true"/>
+ </group>
+ </if>
+ <else>
+ <text variable="edition" suffix="."/>
+ </else>
+ </choose>
+ </macro>
+ <citation collapse="citation-number">
+ <sort>
+ <key variable="citation-number"/>
+ </sort>
+ <layout prefix="[" suffix="]" delimiter=",">
+ <text variable="citation-number"/>
+ <group>
+ <label variable="locator" form="short" strip-periods="true"/>
+ <text variable="locator"/>
+ </group>
+ </layout>
+ </citation>
+ <bibliography hanging-indent="false" et-al-min="7" et-al-use-first="3">
+ <layout>
+ <text variable="citation-number" prefix="" suffix=". "/>
+ <text macro="author" suffix=""/>
+ <choose>
+ <if type="bill book graphic legal_case motion_picture report song" match="any">
+ <group suffix=".">
+ <text macro="title" prefix=" " suffix="."/>
+ <text macro="edition" prefix=" "/>
+ <text macro="editor" prefix=" (" suffix=")"/>
+ </group>
+ <text prefix=" " suffix="" macro="publisher"/>
+ <group suffix="." prefix="; ">
+ <date variable="issued">
+ <date-part name="year"/>
+ </date>
+ <text variable="page" prefix=":"/>
+ </group>
+ </if>
+ <else-if type="chapter paper-conference" match="any">
+ <text macro="title" prefix=" " suffix="."/>
+ <group prefix=" ">
+ <text term="in" text-case="capitalize-first" suffix=": "/>
+ <text macro="editor"/>
+ <text variable="container-title" font-style="italic" prefix=" " suffix="."/>
+ <text variable="volume" prefix="Vol " suffix="."/>
+ <text macro="edition" prefix=" "/>
+ <text variable="collection-title" prefix=" " suffix="."/>
+ <group suffix=".">
+ <text macro="publisher" prefix=" "/>
+ <group suffix="." prefix="; ">
+ <date variable="issued">
+ <date-part name="year"/>
+ </date>
+ <text variable="page" prefix=":"/>
+ </group>
+ </group>
+ </group>
+ </else-if>
+ <else>
+ <group suffix=".">
+ <text macro="title" prefix=" "/>
+ <text macro="editor" prefix=" "/>
+ </group>
+ <group prefix=" " suffix=".">
+ <text variable="container-title" font-style="italic" form="short" suffix="."/>
+ <group delimiter=";" prefix=" ">
+ <date variable="issued">
+ <date-part name="year"/>
+ </date>
+ <group>
+ <text variable="volume"/>
+ <text variable="issue" prefix="(" suffix=")"/>
+ </group>
+ </group>
+ <text variable="page" prefix=":"/>
+ </group>
+ </else>
+ </choose>
+ <text prefix=" " macro="access" suffix="."/>
+ </layout>
+ </bibliography>
+</style>

0 comments on commit 6a09a19

Please sign in to comment.
Something went wrong with that request. Please try again.