Skip to content

Instantly share code, notes, and snippets.

Created February 23, 2017 16:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/2e3cfbf8fb62049258f3bcbe36347f3c to your computer and use it in GitHub Desktop.
Save anonymous/2e3cfbf8fb62049258f3bcbe36347f3c to your computer and use it in GitHub Desktop.
<?xml version="1.0" encoding="utf-8"?>
<style class="note" version="1.0" and="text" delimiter-precedes-et-al="never" et-al-min="4" et-al-use-first="1" et-al-subsequent-min="4" et-al-subsequent-use-first="1" name-as-sort-order="all" page-range-format="expanded" demote-non-dropping-particle="sort-only" default-locale="en-US" xmlns="http://purl.org/net/xbiblio/csl">
<info>
<title>Rando</title>
<title-short>Ran</title-short>
<id>http://www.zotero.org/styles/rando</id>
<link href="http://www.zotero.org/styles/rando" rel="self"/>
<author>
<name>my name</name>
<email>my email</email>
</author>
<category citation-format="numeric"/>
<category field="medicine"/>
<summary>The style!</summary>
<updated>2017-02-22T14:14:25+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="page-range-delimiter">-</term>
</terms>
</locale>
<macro name="editor">
<names variable="editor" suffix=",">
<name delimiter=" " delimiter-precedes-et-al="never" delimiter-precedes-last="always" et-al-min="4" et-al-use-first="1" et-al-subsequent-min="4" et-al-subsequent-use-first="1" initialize-with="" name-as-sort-order="all" sort-separator=" "/>
<label form="short" prefix=", "/>
</names>
</macro>
<macro name="author">
<group suffix=",">
<names variable="author">
<name and="text" delimiter-precedes-et-al="never" delimiter-precedes-last="never" et-al-min="4" et-al-use-first="1" et-al-subsequent-min="4" et-al-subsequent-use-first="1" initialize-with="" name-as-sort-order="all" sort-separator=" "/>
<label form="short" prefix=", "/>
<substitute>
<names variable="editor"/>
<text macro="title"/>
</substitute>
</names>
</group>
</macro>
<macro name="access">
<choose>
<if type="article-newspaper" match="none">
<choose>
<if variable="DOI">
<text value="doi:"/>
<text variable="DOI"/>
</if>
<else-if variable="URL">
<group delimiter=" ">
<text variable="URL"/>
<choose>
<if type="webpage">
<date form="text" variable="issued"/>
</if>
</choose>
</group>
</else-if>
</choose>
</if>
</choose>
</macro>
<macro name="title">
<choose>
<if type="bill book legal_case legislation" match="any">
<text variable="title" font-style="italic" text-case="title"/>
</if>
<else>
<text variable="title"/>
</else>
</choose>
</macro>
<macro name="publisher">
<group delimiter=": ">
<text variable="publisher-place"/>
<text variable="publisher"/>
</group>
</macro>
<macro name="edition">
<choose>
<if is-numeric="edition">
<group delimiter=" " suffix=",">
<number variable="edition" form="ordinal"/>
<text term="edition" form="short"/>
</group>
</if>
<else>
<text variable="edition" suffix="."/>
</else>
</choose>
</macro>
<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>
<bibliography hanging-indent="false" et-al-min="4" et-al-use-first="1" second-field-align="flush">
<layout suffix=".">
<text variable="citation-number" suffix=". "/>
<text macro="author"/>
<text macro="title" prefix=" " suffix=","/>
<choose>
<if type="bill book legislation" match="any">
<group delimiter=" " prefix=" ">
<group delimiter=" ">
<text term="volume" form="short" text-case="capitalize-first" strip-periods="true"/>
<text variable="volume" suffix="."/>
</group>
<text macro="edition"/>
<text macro="editor"/>
</group>
<text macro="publisher" prefix=" "/>
<group prefix=", " suffix=".">
<date variable="issued">
<date-part name="year"/>
</date>
</group>
</if>
<else-if type="chapter" match="any">
<group prefix=" " delimiter=" ">
<text term="in" text-case="lowercase" suffix=":"/>
<text macro="editor"/>
<text variable="container-title" text-case="title" font-style="italic" suffix=","/>
<group delimiter=" ">
<text term="volume" form="short" text-case="capitalize-first" strip-periods="true"/>
<text variable="volume" suffix=","/>
</group>
<text macro="edition"/>
<text variable="collection-title" suffix="."/>
<group>
<text macro="publisher"/>
<group prefix=", ">
<date variable="issued">
<date-part name="year" suffix=","/>
</date>
<label prefix=" " variable="page" form="short"/>
<text variable="page" prefix=" "/>
</group>
</group>
</group>
</else-if>
<else-if type="paper-conference" match="any">
<group prefix=" " delimiter=" ">
<text term="paper presented at" text-case="lowercase" suffix=":"/>
<text macro="editor"/>
<text variable="container-title" text-case="title" font-style="italic" suffix=","/>
<group delimiter=" ">
<text term="volume" form="short" text-case="capitalize-first" strip-periods="true"/>
<text variable="volume" suffix=","/>
</group>
<text macro="edition"/>
<text variable="collection-title" suffix="."/>
<group>
<text macro="publisher"/>
<group prefix=", ">
<date variable="issued">
<date-part name="year" suffix=","/>
</date>
<label prefix=" " variable="page" form="short"/>
<text variable="page" prefix=" "/>
</group>
</group>
</group>
</else-if>
<else-if type="report" match="any">
<group prefix=" " delimiter=" ">
<text macro="editor"/>
<text variable="container-title" text-case="title" font-style="italic" suffix=","/>
<text variable="collection-title" font-style="italic" suffix=","/>
<group>
<text macro="publisher"/>
<group prefix=", ">
<date variable="issued">
<date-part name="year" suffix=","/>
</date>
<text variable="genre" font-style="italic" prefix=", "/>
<text variable="number" prefix=", No. "/>
</group>
</group>
</group>
</else-if>
<else-if type="article-newspaper">
<text variable="container-title" font-style="italic" prefix=" " suffix=", "/>
<choose>
<if variable="URL">
<group delimiter=". " suffix=".">
<text variable="URL"/>
<group prefix="Published ">
<date variable="issued">
<date-part name="month" suffix=" "/>
<date-part name="day" suffix=", "/>
<date-part name="year"/>
</date>
</group>
</group>
</if>
<else>
<group delimiter=" " suffix=".">
<group suffix=",">
<date variable="issued">
<date-part name="month" suffix=" "/>
<date-part name="day" suffix=", "/>
<date-part name="year"/>
</date>
</group>
<label text-case="lowercase" variable="page" form="short"/>
<text variable="page"/>
</group>
</else>
</choose>
</else-if>
<else-if type="legal_case">
<group suffix="," prefix=" " delimiter=" ">
<text macro="editor" prefix="(" suffix=")"/>
</group>
<group prefix=" " delimiter=" ">
<text variable="container-title"/>
<text variable="volume"/>
</group>
<text variable="page" prefix=", " suffix=" "/>
<group prefix="(" suffix=")." delimiter=" ">
<text variable="authority"/>
<date variable="issued">
<date-part name="year"/>
</date>
</group>
</else-if>
<else-if type="webpage">
<text variable="container-title" prefix=" " suffix=","/>
</else-if>
<else>
<text macro="editor" prefix=" " suffix="."/>
<group prefix=" " suffix=", ">
<text variable="container-title" strip-periods="true" font-style="italic" suffix=","/>
<group delimiter=", " prefix=" ">
<choose>
<if variable="issue volume" match="any">
<date variable="issued">
<date-part name="year"/>
</date>
</if>
<else>
<date variable="issued">
<date-part name="month" suffix=" "/>
<date-part name="year"/>
</date>
</else>
</choose>
<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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment