Skip to content

Commit 5fce84f

Browse files
authored
Create cns-spectrums.csl (#5290)
1 parent bb8082c commit 5fce84f

File tree

1 file changed

+267
-0
lines changed

1 file changed

+267
-0
lines changed

cns-spectrums.csl

+267
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,267 @@
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" page-range-format="expanded" default-locale="en-US">
3+
<info>
4+
<title>CNS Spectrums</title>
5+
<id>http://www.zotero.org/styles/cns-spectrums</id>
6+
<link href="http://www.zotero.org/styles/cns-spectrums" rel="self"/>
7+
<link href="http://www.zotero.org/styles/american-medical-association" rel="template"/>
8+
<link href="https://www.cambridge.org/core/journals/cns-spectrums/information/instructions-contributors#Manuscript_submission" rel="documentation"/>
9+
<author>
10+
<name>Patrick O'Brien</name>
11+
<email>obrienpat86@gmail.com</email>
12+
</author>
13+
<category citation-format="numeric"/>
14+
<category field="medicine"/>
15+
<issn>1092-8529</issn>
16+
<eissn>2165-6509</eissn>
17+
<updated>2021-02-24T07:49:10+00:00</updated>
18+
<rights license="http://creativecommons.org/licenses/by-sa/3.0/">This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 License</rights>
19+
</info>
20+
<locale xml:lang="en">
21+
<terms>
22+
<term name="page-range-delimiter">-</term>
23+
</terms>
24+
</locale>
25+
<macro name="editor">
26+
<names variable="editor">
27+
<name name-as-sort-order="all" sort-separator=" " initialize-with="" delimiter=", " delimiter-precedes-last="always"/>
28+
<label form="short" prefix=", "/>
29+
</names>
30+
</macro>
31+
<macro name="author">
32+
<group suffix=".">
33+
<names variable="author">
34+
<name name-as-sort-order="all" sort-separator=" " initialize-with="" delimiter=", " delimiter-precedes-last="always"/>
35+
<et-al font-style="italic"/>
36+
<label form="short" prefix=", "/>
37+
<substitute>
38+
<names variable="editor"/>
39+
<text macro="title"/>
40+
</substitute>
41+
</names>
42+
</group>
43+
</macro>
44+
<macro name="access">
45+
<choose>
46+
<if type="article-newspaper" match="none">
47+
<choose>
48+
<if variable="DOI">
49+
<text value="doi:"/>
50+
<text variable="DOI"/>
51+
</if>
52+
<else-if variable="URL">
53+
<group delimiter=". ">
54+
<choose>
55+
<if type="webpage post post-weblog" match="any">
56+
<date variable="issued" prefix="Published " form="text"/>
57+
</if>
58+
</choose>
59+
<group>
60+
<text term="accessed" text-case="capitalize-first" suffix=" "/>
61+
<date variable="accessed">
62+
<date-part name="month" suffix=" "/>
63+
<date-part name="day" suffix=", "/>
64+
<date-part name="year"/>
65+
</date>
66+
</group>
67+
<text variable="URL"/>
68+
</group>
69+
</else-if>
70+
</choose>
71+
</if>
72+
</choose>
73+
</macro>
74+
<macro name="title">
75+
<choose>
76+
<if type="bill book graphic legal_case legislation motion_picture report song" match="any">
77+
<text variable="title" font-style="italic" text-case="title"/>
78+
</if>
79+
<else>
80+
<text variable="title"/>
81+
</else>
82+
</choose>
83+
</macro>
84+
<macro name="publisher">
85+
<text variable="publisher"/>
86+
</macro>
87+
<macro name="edition">
88+
<choose>
89+
<if is-numeric="edition">
90+
<group delimiter=" ">
91+
<number variable="edition" form="ordinal"/>
92+
<text term="edition" form="short"/>
93+
</group>
94+
</if>
95+
<else>
96+
<text variable="edition" suffix="."/>
97+
</else>
98+
</choose>
99+
</macro>
100+
<citation collapse="citation-number">
101+
<sort>
102+
<key variable="citation-number"/>
103+
</sort>
104+
<layout delimiter="," vertical-align="sup">
105+
<text variable="citation-number"/>
106+
<group prefix="(" suffix=")">
107+
<label variable="locator" form="short" strip-periods="true"/>
108+
<text variable="locator"/>
109+
</group>
110+
</layout>
111+
</citation>
112+
<bibliography et-al-min="4" et-al-use-first="3" second-field-align="flush">
113+
<layout>
114+
<text variable="citation-number" suffix=". "/>
115+
<text macro="author"/>
116+
<text macro="title" prefix=" " suffix="."/>
117+
<choose>
118+
<if type="bill book graphic legislation motion_picture report song" match="any">
119+
<group suffix="." prefix=" " delimiter=" ">
120+
<group delimiter=" ">
121+
<text term="volume" form="short" text-case="capitalize-first" strip-periods="true"/>
122+
<text variable="volume" suffix="."/>
123+
</group>
124+
<text macro="edition"/>
125+
<text macro="editor" prefix="(" suffix=")"/>
126+
</group>
127+
<text macro="publisher" prefix=" "/>
128+
<group suffix="." prefix="; ">
129+
<date variable="issued">
130+
<date-part name="year"/>
131+
</date>
132+
<text variable="page" prefix=":"/>
133+
</group>
134+
</if>
135+
<else-if type="chapter paper-conference entry-dictionary entry-encyclopedia" match="any">
136+
<group prefix=" " delimiter=" ">
137+
<text term="in" text-case="capitalize-first" suffix=":"/>
138+
<text macro="editor"/>
139+
<text variable="container-title" font-style="italic" suffix="." text-case="title"/>
140+
<group delimiter=" ">
141+
<text term="volume" form="short" text-case="capitalize-first" strip-periods="true"/>
142+
<text variable="volume" suffix="."/>
143+
</group>
144+
<text macro="edition"/>
145+
<text variable="collection-title" suffix="."/>
146+
<group suffix=".">
147+
<text macro="publisher"/>
148+
<group suffix="." prefix="; ">
149+
<date variable="issued">
150+
<date-part name="year"/>
151+
</date>
152+
<text variable="page" prefix=":"/>
153+
</group>
154+
</group>
155+
</group>
156+
</else-if>
157+
<else-if type="article-newspaper">
158+
<text variable="container-title" font-style="italic" prefix=" " suffix=". "/>
159+
<choose>
160+
<if variable="URL">
161+
<group delimiter=". " suffix=".">
162+
<text variable="URL"/>
163+
<group prefix="Published ">
164+
<date variable="issued">
165+
<date-part name="month" suffix=" "/>
166+
<date-part name="day" suffix=", "/>
167+
<date-part name="year"/>
168+
</date>
169+
</group>
170+
<group>
171+
<text term="accessed" text-case="capitalize-first" suffix=" "/>
172+
<date variable="accessed">
173+
<date-part name="month" suffix=" "/>
174+
<date-part name="day" suffix=", "/>
175+
<date-part name="year"/>
176+
</date>
177+
</group>
178+
</group>
179+
</if>
180+
<else>
181+
<group delimiter=":" suffix=".">
182+
<group>
183+
<date variable="issued">
184+
<date-part name="month" suffix=" "/>
185+
<date-part name="day" suffix=", "/>
186+
<date-part name="year"/>
187+
</date>
188+
</group>
189+
<text variable="page"/>
190+
</group>
191+
</else>
192+
</choose>
193+
</else-if>
194+
<else-if type="legal_case">
195+
<group suffix="," prefix=" " delimiter=" ">
196+
<text macro="editor" prefix="(" suffix=")"/>
197+
</group>
198+
<group prefix=" " delimiter=" ">
199+
<text variable="container-title"/>
200+
<text variable="volume"/>
201+
</group>
202+
<text variable="page" prefix=", " suffix=" "/>
203+
<group prefix="(" suffix=")." delimiter=" ">
204+
<text variable="authority"/>
205+
<date variable="issued">
206+
<date-part name="year"/>
207+
</date>
208+
</group>
209+
</else-if>
210+
<else-if type="webpage post post-weblog" match="any">
211+
<text variable="container-title" prefix=" " suffix="."/>
212+
</else-if>
213+
<else-if type="speech">
214+
<group prefix=" " suffix=":">
215+
<choose>
216+
<if variable="genre">
217+
<text variable="genre" suffix=" "/>
218+
<text term="presented at"/>
219+
</if>
220+
<else>
221+
<text term="presented at" text-case="capitalize-first"/>
222+
</else>
223+
</choose>
224+
</group>
225+
<group delimiter="; " prefix=" " suffix=".">
226+
<text variable="event"/>
227+
<group>
228+
<date delimiter=" " variable="issued">
229+
<date-part name="month"/>
230+
<date-part name="day" suffix=","/>
231+
<date-part name="year"/>
232+
</date>
233+
</group>
234+
<text variable="event-place"/>
235+
</group>
236+
</else-if>
237+
<else>
238+
<text macro="editor" prefix=" " suffix="."/>
239+
<group prefix=" " suffix=".">
240+
<text variable="container-title" font-style="italic" form="short" strip-periods="true" suffix="."/>
241+
<group delimiter=";" prefix=" ">
242+
<choose>
243+
<if variable="issue volume" match="any">
244+
<date variable="issued">
245+
<date-part name="year"/>
246+
</date>
247+
</if>
248+
<else>
249+
<group delimiter=" ">
250+
<text value="Published online"/>
251+
<date form="text" date-parts="year-month-day" variable="issued"/>
252+
</group>
253+
</else>
254+
</choose>
255+
<group>
256+
<text variable="volume"/>
257+
<text variable="issue" prefix="(" suffix=")"/>
258+
</group>
259+
</group>
260+
<text variable="page" prefix=":"/>
261+
</group>
262+
</else>
263+
</choose>
264+
<text prefix=" " macro="access"/>
265+
</layout>
266+
</bibliography>
267+
</style>

0 commit comments

Comments
 (0)