Skip to content

Instantly share code, notes, and snippets.

@mmmatjaz
Forked from antoncrombach/minimal-grant-proposals.csl
Last active November 11, 2019 15:31
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 mmmatjaz/45a440e21121ee1d16a70c873148d3ec to your computer and use it in GitHub Desktop.
Save mmmatjaz/45a440e21121ee1d16a70c873148d3ec to your computer and use it in GitHub Desktop.
This is a fork of Anton Crombach style, where citations are in the form of "[2]" instead of "^2" (superscript). This is to distinguish them for enumerated footnotes
<?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" default-locale="en-GB">
<info>
<title>Compact style for grant proposals</title>
<id>http://www.zotero.org/styles/minimal-grant-proposals</id>
<author>
<name>Matjaz Ogrinc</name>
<email>matjaz.ogrinc42@gmail.com</email>
</author>
<contributor>
<name>Anton Crombach</name>
<uri>http://anton.cromba.ch/</uri>
</contributor>
<category citation-format="numeric"/>
<category field="science"/>
<category field="generic-base"/>
<updated>2019-11-11T11:17:00+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">
<names variable="author">
<name and="symbol" delimiter-precedes-last="never" initialize-with=". " name-as-sort-order="all"/>
<!--<name and="symbol" delimiter-precedes-last="never" et-al-min="2" initialize-with=". " name-as-sort-order="all"/>-->
<label form="short" prefix=", "/>
<et-al font-style="italic"/>
</names>
</macro>
<macro name="issuance">
<choose>
<if type="bill book graphic legal_case legislation motion_picture report song thesis chapter paper-conference" match="any">
<group delimiter=", " prefix="(" suffix=")">
<text variable="publisher" form="short"/>
<date variable="issued">
<date-part name="year"/>
</date>
</group>
</if>
<else>
<date variable="issued" prefix="(" suffix=")">
<date-part name="year"/>
</date>
</else>
</choose>
</macro>
<macro name="container-title">
<choose>
<if type="article-journal">
<text variable="container-title" font-style="italic" form="short"/>
</if>
<else>
<text variable="container-title" font-style="italic"/>
</else>
</choose>
</macro>
<macro name="editor">
<choose>
<if type="chapter paper-conference" match="any">
<names variable="editor" prefix="(" suffix=")">
<label form="short" suffix=" "/>
<name and="symbol" delimiter-precedes-last="never" initialize-with=". " name-as-sort-order="all"/>
</names>
</if>
</choose>
</macro>
<citation collapse="citation-number">
<sort>
<key variable="citation-number"/>
</sort>
<layout prefix="[" suffix="]" delimiter=",">
<text variable="citation-number"/>
</layout>
</citation>
<bibliography et-al-min="2" et-al-use-first="1" entry-spacing="0">
<layout>
<text variable="citation-number" font-weight="bold" suffix=" "/>
<group delimiter=" ">
<text macro="author" suffix="."/>
<choose>
<if type="chapter paper-conference" match="any">
<text term="in" form="long" plural="false"/>
</if>
</choose>
<text macro="container-title"/>
<text macro="editor"/>
<text variable="volume" form="short" font-weight="normal" suffix=","/>
<text variable="page" form="short"/>
<text macro="issuance"/>
<!--<text macro="access"/>-->
</group>
</layout>
</bibliography>
</style>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment