Skip to content

Instantly share code, notes, and snippets.

@fbennett
Last active December 16, 2015 01:19
Show Gist options
  • Save fbennett/5354563 to your computer and use it in GitHub Desktop.
Save fbennett/5354563 to your computer and use it in GitHub Desktop.
Style with small fixes
<?xml version="1.0" encoding="utf-8"?>
<style xmlns="http://purl.org/net/xbiblio/csl" version="1.0" class="in-text" default-locale="en-US" demote-non-dropping-particle="sort-only" page-range-format="expanded">
<info>
<title>these yoan</title>
<id>http://www.zotero.org/styles/yoan-thesis</id>
<link href="http://www.zotero.org/styles/yoan-thesis" rel="self"/>
<link href="http://journals.iucr.org/d/issues/2012/02/00/me0456/index.html" rel="documentation"/>
<author>
<name>yoan texier</name>
<email>[email protected]</email>
</author>
<category citation-format="author-date"/>
<category field="physics"/>
<updated>2013-02-15T16:16:50+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>
<macro name="author-short">
<names variable="author">
<name form="short" and="symbol" et-al-min="1" name-as-sort-order="all" initialize-with=". " sort-separator=" "/>
</names>
</macro>
<macro name="author">
<names variable="author">
<name and="symbol" name-as-sort-order="all" initialize-with=". " sort-separator=" "/>
</names>
</macro>
<macro name="date-cit">
<group>
<date variable="issued" font-weight="normal">
<date-part name="year" font-weight="normal"/>
</date>
<text variable="year-suffix"/>
</group>
</macro>
<macro name="date-biblio">
<group>
<date variable="issued" font-weight="normal">
<date-part name="year" font-weight="bold"/>
</date>
<text variable="year-suffix"/>
</group>
</macro>
<citation disambiguate-add-year-suffix="true"
disambiguate-add-givenname="true"
collapse="year-suffix"
year-suffix-delimiter=",">
<sort>
<key macro="date-cit"/>
<key macro="author-short"/>
</sort>
<layout delimiter="; ">
<group delimiter=" ">
<text macro="author-short"/>
<text macro="date-cit"/>
</group>
</layout>
</citation>
<bibliography hanging-indent="true" et-al-min="15" et-al-use-first="15" entry-spacing="0">
<sort>
<key macro="author"/>
<key macro="date-biblio"/>
</sort>
<layout suffix=".">
<group delimiter=" ">
<text macro="author"/>
<text macro="date-biblio" prefix="(" suffix=")."/>
<choose>
<if type="article article-magazine article-newspaper article-journal review" match="any">
<text variable="container-title" form="short" font-style="italic" text-case="title" suffix="."/>
<text variable="volume" font-weight="bold" suffix=","/>
<text variable="page" suffix="."/>
</if>
<else>
<text variable="title" quotes="true" font-style="italic" suffix="."/>
<text variable="publisher" suffix="."/>
</else>
</choose>
</group>
</layout>
</bibliography>
</style>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment