Skip to content

Instantly share code, notes, and snippets.

@rmzelle
Created February 7, 2012 02:26
Show Gist options
  • Save rmzelle/1756719 to your computer and use it in GitHub Desktop.
Save rmzelle/1756719 to your computer and use it in GitHub Desktop.
<?xml version="1.0" encoding="utf-8"?>
<style xmlns="http://purl.org/net/xbiblio/csl" class="in-text" version="1.0" default-locale="en-US">
<info>
<title>Example Style</title>
<id>http://www.zotero.org/styles/example-style</id>
<link href="http://www.zotero.org/styles/example-style" rel="self"/>
<author>
<name>Jane Doe</name>
</author>
<category citation-format="author-date"/>
<category field="generic-base"/>
<updated>2012-01-01T00:00:00+00:00</updated>
<rights>This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 License: http://creativecommons.org/licenses/by-sa/3.0/</rights>
</info>
<locale xml:lang="en-US">
<terms>
<term name="no date">undated</term>
</terms>
</locale>
<macro name="author">
<names variable="author">
<name form="short" initialize-with=". "/>
</names>
</macro>
<macro name="year-date">
<choose>
<if variable="issued">
<date variable="issued">
<date-part name="year"/>
</date>
</if>
<else>
<text term="no date"/>
</else>
</choose>
</macro>
<macro name="title">
<choose>
<if type="book report" match="any">
<text variable="title" font-style="italic"/>
</if>
<else>
<text variable="title" quotes="true"/>
</else>
</choose>
</macro>
<citation et-al-min="3" et-al-use-first="1">
<layout prefix="(" suffix=")" delimiter="; ">
<group delimiter=" ">
<text macro="author"/>
<text macro="year-date"/>
</group>
</layout>
</citation>
<bibliography et-al-min="6" et-al-use-first="1">
<sort>
<key macro="author"/>
<key variable="title"/>
</sort>
<layout suffix=".">
<group delimiter=", ">
<group delimiter=" ">
<text macro="author"/>
<text macro="year-date" prefix="(" suffix=")"/>
</group>
<text macro="title"/>
</group>
</layout>
</bibliography>
</style>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment