Skip to content

Commit

Permalink
add Medical Physics style
Browse files Browse the repository at this point in the history
  • Loading branch information
adam3smith committed Sep 16, 2012
1 parent 8178f2e commit 6fc73bf
Showing 1 changed file with 153 additions and 0 deletions.
153 changes: 153 additions & 0 deletions medical-physics.csl
Original file line number Diff line number Diff line change
@@ -0,0 +1,153 @@
<?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-US">
<!-- This style was edited with the Visual CSL Editor (http://steveridout.com/csl/visualEditor/) -->
<info>
<title>Medical Physics</title>
<id>http://www.zotero.org/styles/medical-physics</id>
<link rel="self" href="http://www.zotero.org/styles/medical-physics"/>
<link rel="template" href="http://www.zotero.org/styles/international-journal-of-humanoid-robotics"/>
<link href="http://www.medphys.org/NewInstructions.asp" rel="documentation"/>
<author>
<name>Sebastian Karcher</name>
</author>
<category citation-format="numeric"/>
<category field="medicine"/>
<category field="physics"/>
<issn>0094-2405</issn>
<updated>2012-09-16T19:09:01+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="text" initialize-with="."/>
<label form="short" prefix=" (" suffix=")"/>
<et-al font-style="italic"/>
<substitute>
<names variable="editor"/>
<names variable="translator"/>
</substitute>
</names>
</macro>
<macro name="editor">
<names variable="editor">
<label form="verb" prefix=" " suffix=" "/>
<name and="text" delimiter-precedes-last="never" 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" form="short"/>
</else>
</choose>
</macro>
<macro name="publisher">
<group delimiter=", " prefix="(" suffix=")">
<text variable="publisher" form="long"/>
<text variable="publisher-place" form="long"/>
<text macro="year-date"/>
</group>
</macro>
<macro name="edition">
<choose>
<if is-numeric="edition">
<group delimiter=" ">
<number variable="edition" form="ordinal"/>
<text term="edition" form="short"/>
</group>
</if>
<else>
<text variable="edition"/>
</else>
</choose>
</macro>
<macro name="title">
<choose>
<if type="article-journal chapter paper-conference article-magazine" match="any">
<text variable="title" form="long" quotes="true"/>
</if>
<else>
<text variable="title" form="long" font-style="italic"/>
</else>
</choose>
</macro>
<citation collapse="citation-number">
<sort>
<key macro="author"/>
</sort>
<layout vertical-align="sup" delimiter=", ">
<text variable="citation-number"/>
</layout>
</citation>
<bibliography second-field-align="flush" entry-spacing="0" et-al-min="7" et-al-use-first="1">
<sort>
<key macro="author"/>
<key macro="year-date"/>
</sort>
<layout suffix=".">
<text variable="citation-number" vertical-align="sup" suffix=" "/>
<text macro="author" prefix=" " suffix=", "/>
<choose>
<if type="bill book graphic legal_case legislation motion_picture report song" match="any">
<group delimiter=" ">
<group delimiter=", ">
<text macro="title" font-style="italic"/>
<text macro="edition"/>
</group>
<text macro="publisher"/>
</group>
</if>
<else-if type="chapter paper-conference" match="any">
<text macro="title" suffix=", "/>
<text term="in" text-case="lowercase" suffix=" "/>
<group delimiter=", ">
<text variable="container-title" form="short" text-case="title" font-style="italic"/>
<text macro="edition"/>
<text macro="editor" suffix=" "/>
</group>
<text macro="publisher"/>
<group delimiter=" ">
<label variable="page" form="short" prefix=", " suffix="." strip-periods="true"/>
<text variable="page"/>
</group>
</else-if>
<else-if type="patent">
<group delimiter=", ">
<text variable="title"/>
<text variable="number" prefix="U.S. Patent "/>
<text macro="year-date"/>
</group>
</else-if>
<else-if type="thesis">
<group delimiter=" ">
<text variable="title"/>
<group delimiter=", " prefix="(" suffix=")">
<text variable="genre"/>
<text variable="publisher"/>
<text macro="year-date"/>
</group>
</group>
</else-if>
<else>
<group delimiter=" ">
<text macro="title" suffix=","/>
<text variable="container-title" font-style="italic" form="short" text-case="title"/>
<group delimiter=", ">
<group>
<text variable="volume" font-weight="bold"/>
<text variable="issue" prefix="(" suffix=")"/>
</group>
<text variable="page" form="short"/>
<text macro="year-date" prefix="(" suffix=")"/>
</group>
</group>
</else>
</choose>
</layout>
</bibliography>
</style>

0 comments on commit 6fc73bf

Please sign in to comment.