Skip to content

Instantly share code, notes, and snippets.

@adam3smith
Forked from anonymous/tu-berlin-tim.cls
Created April 22, 2011 22:45
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 adam3smith/937873 to your computer and use it in GitHub Desktop.
Save adam3smith/937873 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="note" xml:lang="en">
<info>
<title>TU Berlin - TIM</title>
<id>http://www.zotero.org/styles/tu-berlin-tim</id>
<link href="http://www.zotero.org/styles/tu-berlin-tim"/>
<author>
<name>Niels</name>
<email>my-address@wherever.com</email>
</author>
<contributor>
<name>Niels Ohlsen</name>
</contributor>
<updated>2010-05-13T17:20:21+00:00</updated>
<summary>Style for Workgroup DiMeB @ uni-bremen (germany)</summary>
<category term="science"/>
</info>
<macro name="editor">
<names variable="editor" prefix="(" suffix=")" delimiter=", ">
<name and="text" initialize-with=". " delimiter=", "/>
<label form="short" prefix="; " text-case="lowercase" suffix="."/>
</names>
</macro>
<macro name="author">
<names variable="author">
<name name-as-sort-order="all" and="text" sort-separator=", "
delimiter="; " delimiter-precedes-last="never"/>
<label form="short" prefix=" (" suffix=".)" text-case="lowercase"/>
<substitute>
<names variable="editor"/>
<text macro="title"/>
</substitute>
</names>
</macro>
<macro name="author-short">
<names variable="author">
<name form="short" and="text" delimiter=";" />
<substitute>
<names variable="editor"/>
<names variable="translator"/>
<choose>
<if type="book">
<text variable="title" form="short"/>
</if>
<else>
<text variable="title" form="short"/>
</else>
</choose>
</substitute>
</names>
</macro>
<macro name="access">
<group>
<text term="online" suffix="] " prefix="["/>
<text variable="URL"/>
<group prefix=" (" suffix=")">
<text term="accessed" text-case="capitalize-first" suffix=" "/>
<date variable="accessed">
<date-part name="month" suffix=" "/>
<date-part name="day" suffix="; "/>
<date-part name="year"/>
</date>
</group>
</group>
</macro>
<macro name="title">
<choose>
<if type="book">
<text variable="title"/>
</if>
<else>
<text variable="title"/>
</else>
</choose>
</macro>
<macro name="publisher">
<group delimiter=": ">
<text variable="publisher-place"/>
<text variable="publisher"/>
</group>
</macro>
<citation>
<option name="et-al-min" value="3"/>
<option name="et-al-use-first" value="1"/>
<option name="disambiguate-add-year-suffix" value="true"/>
<option name="disambiguate-add-names" value="true"/>
<option name="disambiguate-add-givenname" value="true"/>
<layout prefix="" suffix="" delimiter="; ">
<group delimiter="">
<text macro="author-short" prefix=" (" />
<date variable="issued" >
<date-part prefix=", " name="year" />
</date>
<group>
<text variable="locator" prefix=": " suffix=")"/>
</group>
</group>
</layout>
</citation>
<bibliography>
<option name="hanging-indent" value="true"/>
<option name="et-al-min" value="6"/>
<option name="et-al-use-first" value="6"/>
<sort>
<key macro="author"/>
<key variable="title"/>
</sort>
<layout>
<text macro="author" suffix=" "/>
<date variable="issued" prefix="(" suffix="):">
<date-part name="year"/>
</date>
<choose>
<if type="book">
<group suffix=";">
<text macro="title" prefix=" " />
<text macro="editor" prefix=" "/>
</group>
<text prefix=" " suffix="." macro="publisher"/>
</if>
<else-if type="chapter">
<text macro="title" prefix=" " suffix="."/>
<group class="container" prefix=" ">
<text term="in" text-case="capitalize-first" suffix=":"/>
<names variable="editor" prefix=" " suffix=":" delimiter=", ">
<name and="text" sort-separator=", " />
<label form="short" prefix=" (" suffix=".)" text-case="capitalize-first"/>
</names>
<text variable="container-title" prefix=" " suffix="." />
<text variable="collection-title" prefix=" " suffix="."/>
<group suffix=".">
<text macro="publisher" prefix=" "/>
<group prefix=", ">
<text variable="page"/>
</group>
</group>
</group>
</else-if>
<else>
<group suffix=".">
<text macro="title" prefix=" "/>
<text macro="editor" prefix=" "/>
</group>
<group class="container" prefix=" " suffix=".">
<text variable="container-title"/>
<group prefix=", ">
<text variable="volume" />
<text variable="issue" prefix="(" suffix=")"/>
</group>
<group prefix=", ">
<text variable="page"/>
</group>
</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