Skip to content

Commit

Permalink
Added initial AIAA style
Browse files Browse the repository at this point in the history
still needs some work on the spacing in the bibliography section
  • Loading branch information
GarrettDFoster committed Aug 28, 2012
1 parent 56bbe5f commit 6c03cd8
Showing 1 changed file with 133 additions and 0 deletions.
133 changes: 133 additions & 0 deletions american-institute-of-aeronautics-and-astronautics.csl
Original file line number Diff line number Diff line change
@@ -0,0 +1,133 @@
<?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">
<info>
<title>American Institute of Aeronautics and Astronautics (AIAA)</title>
<id>http://www.zotero.org/styles/american-institute-of-aeronautics-and-astronautics</id>
<link href="http://www.zotero.org/styles/american-institute-of-aeronautics-and-astronautics" rel="self"/>
<author>
<name>Garrett Foster</name>
<email>garrett.d.foster@gmail.com</email>
<uri>http://sdoresearch.com</uri>
</author>
<category field="engineering"/>
<category field="generic-base"/>
<category citation-format="numeric"/>
<updated>2012-08-23T15:22:01+00:00</updated>
<summary>A style for AIAA</summary>
<link href="https://www.aiaa.org/Secondary.aspx?id=4597" rel="documentation"/>
<link href="https://github.com/citation-style-language/styles/blob/master/ieee-w-url.csl" rel="template"/>
<rights>This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 License: http://creativecommons.org/licenses/by-sa/3.0/</rights>
</info>
<macro name="author">
<names variable="author">
<name initialize-with=". " delimiter=", " and="text" name-as-sort-order="all" delimiter-precedes-last="always"/>
<label form="short" prefix=", " text-case="lowercase" suffix="." strip-periods="true"/>
<substitute>
<names variable="editor"/>
<names variable="translator"/>
</substitute>
</names>
</macro>
<macro name="editor">
<names variable="editor">
<name initialize-with="." delimiter=", " and="text"/>
<label form="short" prefix=", " text-case="lowercase" suffix="." strip-periods="true"/>
</names>
</macro>
<macro name="title">
<choose>
<if type="bill book graphic legal_case legislation motion_picture report song" match="any">
<text variable="title" font-style="italic"/>
</if>
<else>
<text variable="title" quotes="true"/>
</else>
</choose>
</macro>
<macro name="publisher">
<text variable="publisher-place" suffix=": " prefix=" "/>
<text variable="publisher" suffix=", "/>
<date variable="issued">
<date-part name="year"/>
</date>
</macro>
<macro name="access">
<text value="Available" suffix=": "/>
<text variable="URL"/>
</macro>
<macro name="page">
<group>
<label variable="page" form="short" suffix=". " strip-periods="true"/>
<text variable="page"/>
</group>
</macro>
<citation et-al-min="3" et-al-use-first="1" collapse="citation-number">
<sort>
<key variable="citation-number"/>
</sort>
<layout vertical-align="sup" delimiter=",">
<text variable="citation-number"/>
</layout>
</citation>
<bibliography entry-spacing="0" second-field-align="flush">
<layout suffix=".">
<text variable="citation-number" vertical-align="sup"/>
<text macro="author" suffix=", "/>
<choose>
<if type="bill book graphic legal_case legislation motion_picture report song" match="any">
<group delimiter=", ">
<text macro="title"/>
<text macro="publisher"/>
</group>
</if>
<else-if type="chapter paper-conference" match="any">
<group delimiter=", ">
<text macro="title"/>
<text variable="container-title" font-style="italic"/>
<text macro="editor"/>
<text macro="publisher"/>
<text macro="page"/>
</group>
</else-if>
<else-if type="patent">
<text macro="title" suffix=", "/>
<text variable="number" prefix="U.S. Patent "/>
<date variable="issued" prefix=", ">
<date-part name="month" suffix=" "/>
<date-part name="day" suffix=", "/>
<date-part name="year"/>
</date>
</else-if>
<else-if type="thesis">
<group delimiter=", ">
<text macro="title"/>
<text variable="genre"/>
<text variable="publisher"/>
<date variable="issued">
<date-part name="year"/>
</date>
</group>
</else-if>
<else-if type="webpage">
<group delimiter=", ">
<text macro="title"/>
<text variable="container-title" font-style="italic"/>
</group>
<text macro="access" prefix=" "/>
</else-if>
<else>
<group delimiter=", ">
<text macro="title"/>
<text variable="container-title" font-style="italic"/>
<text variable="volume" prefix=" vol. "/>
<date variable="issued">
<date-part name="month" form="short" suffix=". " strip-periods="true"/>
<date-part name="year"/>
</date>
<text macro="page"/>
</group>
</else>
</choose>
</layout>
</bibliography>
</style>

0 comments on commit 6c03cd8

Please sign in to comment.