Skip to content

Commit

Permalink
Create advanced-science.csl (#7223)
Browse files Browse the repository at this point in the history
  • Loading branch information
POBrien333 authored Oct 16, 2024
1 parent 4f955f0 commit 4590219
Showing 1 changed file with 162 additions and 0 deletions.
162 changes: 162 additions & 0 deletions advanced-science.csl
Original file line number Diff line number Diff line change
@@ -0,0 +1,162 @@
<?xml version="1.0" encoding="utf-8"?>
<style xmlns="http://purl.org/net/xbiblio/csl" class="in-text" version="1.0" default-locale="en-US">
<info>
<title>Advanced Science</title>
<id>http://www.zotero.org/styles/advanced-science</id>
<link href="http://www.zotero.org/styles/advanced-science" rel="self"/>
<link href="http://www.zotero.org/styles/advanced-functional-materials" rel="template"/>
<link href="https://onlinelibrary.wiley.com/page/journal/21983844/homepage/author-guidelines" rel="documentation"/>
<author>
<name>Patrick O'Brien</name>
</author>
<category citation-format="numeric"/>
<category field="chemistry"/>
<eissn>2198-3844</eissn>
<updated>2024-09-23T17:45:26+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="editor">
<names variable="editor" prefix="(" suffix=")">
<label form="short" suffix=": " text-case="capitalize-first"/>
<name delimiter-precedes-last="always" initialize-with=". "/>
</names>
</macro>
<macro name="author">
<names variable="author">
<name delimiter=", " delimiter-precedes-last="always" initialize-with=". "/>
<label form="short" prefix=", " text-case="capitalize-first"/>
<substitute>
<names variable="editor"/>
<text variable="title"/>
</substitute>
</names>
</macro>
<macro name="publisher">
<group delimiter=", ">
<text variable="publisher"/>
<choose>
<if type="thesis" match="none">
<text variable="publisher-place"/>
</if>
</choose>
</group>
</macro>
<macro name="volume">
<group delimiter=" ">
<text term="volume" form="short" text-case="capitalize-first"/>
<text variable="volume"/>
</group>
</macro>
<macro name="pages">
<choose>
<if variable="page" match="any">
<label variable="page" form="short" suffix=" "/>
<text variable="page"/>
</if>
<else-if type="article-journal">
<text variable="DOI" prefix="DOI "/>
</else-if>
</choose>
</macro>
<macro name="book-container">
<group delimiter=" ">
<text term="in"/>
<text variable="container-title" font-style="italic"/>
</group>
</macro>
<macro name="issued">
<date variable="issued" delimiter=" " font-weight="bold">
<date-part name="year"/>
</date>
</macro>
<macro name="full-issued">
<date variable="issued" delimiter=" ">
<date-part name="month" form="long" suffix=" "/>
<date-part name="day" suffix=", "/>
<date-part name="year"/>
</date>
</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" suffix="."/>
</else>
</choose>
</macro>
<citation collapse="citation-number">
<sort>
<key variable="citation-number"/>
</sort>
<layout delimiter="," vertical-align="sup" prefix="[" suffix="]">
<text variable="citation-number"/>
</layout>
</citation>
<bibliography second-field-align="margin" entry-spacing="0">
<layout suffix=".">
<text variable="citation-number" prefix="[" suffix="] "/>
<text macro="author" suffix=", "/>
<choose>
<if type="article-magazine">
<group delimiter=" ">
<text variable="container-title" font-style="italic" suffix="."/>
<text macro="edition"/>
<text macro="publisher"/>
<text macro="full-issued" suffix=","/>
<text macro="pages"/>
</group>
</if>
<else-if type="thesis">
<group delimiter=", ">
<text variable="genre" font-style="italic"/>
<text macro="publisher"/>
<text macro="issued"/>
</group>
</else-if>
<else-if type="chapter paper-conference" match="any">
<group delimiter=", ">
<group delimiter=" ">
<text macro="book-container"/>
<text macro="editor"/>
</group>
<text macro="volume"/>
<group delimiter=" ">
<text macro="publisher"/>
<text macro="issued"/>
</group>
<text macro="pages"/>
</group>
</else-if>
<else-if type="article-journal" match="any">
<group delimiter=" ">
<text variable="container-title" font-style="italic" form="short"/>
<group delimiter=", ">
<text macro="issued"/>
<text variable="volume" font-style="italic"/>
<text variable="page-first" form="long"/>
</group>
</group>
</else-if>
<else>
<group delimiter=", ">
<group delimiter=" ">
<text variable="title" font-style="italic"/>
<text macro="editor"/>
</group>
<text macro="edition"/>
<text macro="volume"/>
<group delimiter=" ">
<text macro="publisher"/>
<text macro="issued"/>
</group>
</group>
</else>
</choose>
</layout>
</bibliography>
</style>

0 comments on commit 4590219

Please sign in to comment.