american-institute-of-physics.csl 5.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <style xmlns="http://purl.org/net/xbiblio/csl" class="in-text" version="1.0" demote-non-dropping-particle="sort-only" default-locale="en-US">
  3. <info>
  4. <title>American Institute of Physics</title>
  5. <title-short>AIP</title-short>
  6. <id>http://www.zotero.org/styles/american-institute-of-physics</id>
  7. <link href="http://www.zotero.org/styles/american-institute-of-physics" rel="self"/>
  8. <link href="http://www.aip.org/pubservs/style/4thed/toc.html" rel="documentation"/>
  9. <!-- No attempt to make compound citations is made here <http://forums.zotero.org/discussion/4288/>-->
  10. <author>
  11. <name>Richard Karnesky</name>
  12. <email>karnesky+zotero@gmail.com</email>
  13. <uri>http://arc.nucapt.northwestern.edu/Richard_Karnesky</uri>
  14. </author>
  15. <category citation-format="numeric"/>
  16. <category field="physics"/>
  17. <!--<category term="materials science"/>-->
  18. <summary>Common style use by AIP publications.</summary>
  19. <updated>2013-09-08T00:04:27+00:00</updated>
  20. <rights license="http://creativecommons.org/licenses/by-sa/3.0/">This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 License</rights>
  21. </info>
  22. <macro name="author">
  23. <names variable="author">
  24. <name delimiter=", " initialize-with="." and="text"/>
  25. <label form="long" prefix=", " suffix=" "/>
  26. <substitute>
  27. <names variable="editor"/>
  28. <names variable="translator"/>
  29. </substitute>
  30. </names>
  31. </macro>
  32. <macro name="editor">
  33. <names variable="editor">
  34. <label form="verb" suffix=" "/>
  35. <name delimiter=", " initialize-with="." and="text"/>
  36. </names>
  37. </macro>
  38. <macro name="year-date">
  39. <choose>
  40. <if variable="issued">
  41. <date variable="issued">
  42. <date-part name="year"/>
  43. </date>
  44. </if>
  45. <else>
  46. <text term="no date" form="short"/>
  47. </else>
  48. </choose>
  49. </macro>
  50. <macro name="day-date">
  51. <choose>
  52. <if variable="issued">
  53. <date variable="issued">
  54. <date-part name="day" suffix=" "/>
  55. <date-part name="month" form="long" suffix=" "/>
  56. <date-part name="year"/>
  57. </date>
  58. </if>
  59. <else>
  60. <text term="no date" form="short"/>
  61. </else>
  62. </choose>
  63. </macro>
  64. <macro name="publisher">
  65. <group prefix="(" suffix=")" delimiter=", ">
  66. <text variable="publisher"/>
  67. <text variable="publisher-place" text-case="title"/>
  68. <text macro="year-date"/>
  69. </group>
  70. </macro>
  71. <macro name="edition">
  72. <choose>
  73. <if is-numeric="edition">
  74. <group delimiter=" ">
  75. <number variable="edition" form="ordinal"/>
  76. <text term="edition" form="short"/>
  77. </group>
  78. </if>
  79. <else>
  80. <text variable="edition"/>
  81. </else>
  82. </choose>
  83. </macro>
  84. <citation collapse="citation-number">
  85. <sort>
  86. <key variable="citation-number"/>
  87. </sort>
  88. <layout delimiter="," vertical-align="sup">
  89. <text variable="citation-number"/>
  90. </layout>
  91. </citation>
  92. <bibliography entry-spacing="0">
  93. <layout suffix=".">
  94. <text variable="citation-number" vertical-align="sup"/>
  95. <text macro="author" prefix=" " suffix=", "/>
  96. <choose>
  97. <if type="bill book graphic legal_case legislation motion_picture report song" match="any">
  98. <group delimiter=" ">
  99. <group delimiter=", ">
  100. <text variable="title" text-case="title" font-style="italic"/>
  101. <text macro="edition"/>
  102. </group>
  103. <group delimiter=", ">
  104. <text macro="publisher"/>
  105. <group delimiter=" ">
  106. <label variable="page" form="short"/>
  107. <text variable="page"/>
  108. </group>
  109. </group>
  110. </group>
  111. </if>
  112. <else-if type="chapter paper-conference" match="any">
  113. <group delimiter=" ">
  114. <text term="in"/>
  115. <group delimiter=", ">
  116. <text variable="container-title" form="short" text-case="title" font-style="italic"/>
  117. <text macro="editor"/>
  118. <text macro="edition"/>
  119. </group>
  120. <group delimiter=", ">
  121. <text macro="publisher"/>
  122. <group delimiter=" ">
  123. <label variable="page" form="short"/>
  124. <text variable="page"/>
  125. </group>
  126. </group>
  127. </group>
  128. </else-if>
  129. <else-if type="patent">
  130. <group delimiter=" ">
  131. <text variable="number" prefix=" "/>
  132. <text macro="day-date" prefix="(" suffix=")"/>
  133. </group>
  134. </else-if>
  135. <else-if type="thesis">
  136. <group delimiter=", ">
  137. <text variable="title" text-case="title"/>
  138. <text variable="genre"/>
  139. <text variable="publisher"/>
  140. <text macro="year-date"/>
  141. </group>
  142. </else-if>
  143. <else-if type="webpage">
  144. <group delimiter=", ">
  145. <text variable="title" text-case="title"/>
  146. <text variable="url"/>
  147. <text macro="year-date" prefix="(" suffix=")"/>
  148. </group>
  149. </else-if>
  150. <else>
  151. <group delimiter=" ">
  152. <text variable="title" form="short" text-case="title" prefix='"' suffix='"'/>
  153. <group delimiter=", ">
  154. <text variable="volume" font-weight="bold"/>
  155. <group delimiter=" ">
  156. <text variable="page-first"/>
  157. <text macro="year-date" prefix="(" suffix=")"/>
  158. </group>
  159. </group>
  160. </group>
  161. </else>
  162. </choose>
  163. </layout>
  164. </bibliography>
  165. </style>