Skip to content

Instantly share code, notes, and snippets.

@gracile-fr
Created November 19, 2012 13:03
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 gracile-fr/4110532 to your computer and use it in GitHub Desktop.
Save gracile-fr/4110532 to your computer and use it in GitHub Desktop.
<?xml version="1.0" encoding="UTF-8"?>
<style xmlns="http://purl.org/net/xbiblio/csl" version="1.0" class="note" default-locale="en">
<info>
<title>Swiss Law</title>
<id>http://www.zotero.org/styles/swiss-law</id>
<author>
<name></name>
<email></email>
</author>
<category citation-format="author-date"/>
<category field="law"/>
<updated>2012-11-18T01:44:01+00:00</updated>
<summary>Swiss Law</summary>
</info>
<!-- macros -->
<!-- mise en forme citation -->
<macro name="cite">
<group delimiter=", ">
<names variable="author">
<name name-as-sort-order="all" font-weight="normal" delimiter="/" delimiter-precedes-last="always"/>
</names>
</group>
</macro>
<!-- mise en forme bibliographie -->
<macro name="bibl">
<group delimiter="">
<names variable="author">
<name name-as-sort-order="all">
<name-part name="family" font-variant="small-caps" />
</name>
</names>
<text variable="title" font-style="normal" prefix=", "/>
<text variable="publisher-place" prefix=", "/>
<text macro="date" prefix=" "/>
</group>
</macro>
<macro name="date">
<date variable="issued">
<date-part name="year"/>
</date>
</macro>
<macro name="biblifshortname">
<choose>
<if variable="issued">
<date variable="issued" form="numeric"/>
</if>
<else>
<text term="no date"/>
</else>
</choose>
</macro>
<!-- citation -->
<citation et-al-min="2" et-al-use-first="1">
<layout prefix="" suffix= ", ">
<text macro="cite"/>
</layout>
</citation>
<!-- bibliographie -->
<bibliography et-al-min="4" et-al-use-first="1">
<sort>
<key variable="author" sort="ascending"/>
<key variable="issued" sort="descending"/>
</sort>
<layout>
<text macro="bibl"/>
</layout>
</bibliography>
</style>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment