Skip to content

Commit 9876e81

Browse files
authored
Create biostatistics.csl (#5372)
1 parent 673db49 commit 9876e81

File tree

1 file changed

+194
-0
lines changed

1 file changed

+194
-0
lines changed

biostatistics.csl

Lines changed: 194 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,194 @@
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>Biostatistics</title>
5+
<id>http://www.zotero.org/styles/biostatistics</id>
6+
<link href="http://www.zotero.org/styles/biostatistics" rel="self"/>
7+
<link href="http://www.zotero.org/styles/veterinary-record" rel="template"/>
8+
<link href="https://academic.oup.com/biostatistics/pages/General_Instructions" rel="documentation"/>
9+
<author>
10+
<name>Patrick O'Brien</name>
11+
</author>
12+
<category citation-format="numeric"/>
13+
<category field="biology"/>
14+
<category field="medicine"/>
15+
<category field="math"/>
16+
<issn>1465-4644</issn>
17+
<eissn>1468-4357</eissn>
18+
<updated>2021-04-15T09:27:58+00:00</updated>
19+
<rights license="http://creativecommons.org/licenses/by-sa/3.0/">This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 License</rights>
20+
</info>
21+
<locale>
22+
<terms>
23+
<term name="accessed">last accessed</term>
24+
</terms>
25+
</locale>
26+
<macro name="editor">
27+
<names variable="editor">
28+
<label form="short" suffix=" " text-case="capitalize-first" strip-periods="true"/>
29+
<name and="text" delimiter-precedes-last="never" initialize-with=". " sort-separator=" "/>
30+
</names>
31+
</macro>
32+
<macro name="author">
33+
<names variable="author" font-variant="small-caps">
34+
<name font-variant="normal" and="text" delimiter-precedes-last="never" initialize-with=". " name-as-sort-order="all"/>
35+
<label form="short" prefix=", " strip-periods="true"/>
36+
<substitute>
37+
<names variable="editor"/>
38+
<names variable="translator"/>
39+
<text variable="title"/>
40+
</substitute>
41+
</names>
42+
</macro>
43+
<macro name="author-short">
44+
<names variable="author">
45+
<name form="short" and="text" initialize-with=". " delimiter=", " delimiter-precedes-last="never"/>
46+
<et-al term="and others" font-style="italic"/>
47+
<substitute>
48+
<names variable="editor"/>
49+
<names variable="translator"/>
50+
<text variable="title"/>
51+
</substitute>
52+
</names>
53+
</macro>
54+
<macro name="access">
55+
<choose>
56+
<if variable="page" match="none">
57+
<choose>
58+
<if variable="DOI">
59+
<text variable="DOI" prefix="doi:"/>
60+
</if>
61+
<else-if variable="URL">
62+
<group delimiter=" ">
63+
<text variable="URL"/>
64+
<group delimiter="; " prefix="[" suffix="]">
65+
<text term="online"/>
66+
<group>
67+
<text term="accessed" suffix=" "/>
68+
<date variable="accessed">
69+
<date-part name="month" suffix=" "/>
70+
<date-part name="day" suffix=", "/>
71+
<date-part name="year"/>
72+
</date>
73+
</group>
74+
</group>
75+
</group>
76+
</else-if>
77+
</choose>
78+
</if>
79+
</choose>
80+
</macro>
81+
<macro name="title">
82+
<text variable="title"/>
83+
</macro>
84+
<macro name="publisher">
85+
<group delimiter=": ">
86+
<text variable="publisher-place"/>
87+
<text variable="publisher"/>
88+
</group>
89+
</macro>
90+
<macro name="year-date">
91+
<choose>
92+
<if variable="issued">
93+
<date variable="issued">
94+
<date-part name="year"/>
95+
</date>
96+
</if>
97+
<else-if variable="accessed">
98+
<date variable="accessed">
99+
<date-part name="year"/>
100+
</date>
101+
</else-if>
102+
</choose>
103+
</macro>
104+
<macro name="edition">
105+
<choose>
106+
<if is-numeric="edition">
107+
<group delimiter=" ">
108+
<number variable="edition" form="ordinal"/>
109+
<text term="edition" form="short" strip-periods="true"/>
110+
</group>
111+
</if>
112+
<else>
113+
<text variable="edition"/>
114+
</else>
115+
</choose>
116+
</macro>
117+
<citation et-al-min="3" et-al-use-first="1" disambiguate-add-year-suffix="true" collapse="year-suffix" year-suffix-delimiter=",">
118+
<sort>
119+
<key variable="issued" sort="ascending"/>
120+
<key macro="author-short"/>
121+
</sort>
122+
<layout prefix="(" suffix=")" delimiter="; ">
123+
<group delimiter=" ">
124+
<text macro="author-short"/>
125+
<text macro="year-date"/>
126+
<text variable="locator"/>
127+
</group>
128+
</layout>
129+
</citation>
130+
<bibliography et-al-min="11" et-al-use-first="10" entry-spacing="0" hanging-indent="true">
131+
<sort>
132+
<key macro="author"/>
133+
<key variable="title"/>
134+
</sort>
135+
<layout suffix=".">
136+
<group delimiter=". ">
137+
<text macro="author"/>
138+
<text macro="year-date" prefix="(" suffix=")"/>
139+
<choose>
140+
<if type="bill book graphic legal_case legislation motion_picture song" match="any">
141+
<group delimiter=". " prefix=" ">
142+
<text macro="title"/>
143+
<text macro="edition"/>
144+
<text macro="publisher"/>
145+
</group>
146+
</if>
147+
<else-if type="chapter paper-conference" match="any">
148+
<group delimiter=". " prefix=" ">
149+
<text macro="title"/>
150+
<group delimiter=" ">
151+
<text term="in" suffix=" " text-case="capitalize-first"/>
152+
<text variable="container-title"/>
153+
</group>
154+
<text macro="editor"/>
155+
<text macro="edition"/>
156+
<text macro="publisher"/>
157+
<group delimiter=" ">
158+
<label variable="page" form="short" strip-periods="true"/>
159+
<text variable="page"/>
160+
</group>
161+
</group>
162+
</else-if>
163+
<else-if type="webpage post post-weblog" match="any">
164+
<text macro="title" prefix=" " suffix="."/>
165+
</else-if>
166+
<else-if type="report" match="any">
167+
<group delimiter=". " prefix=" ">
168+
<text macro="title"/>
169+
<group delimiter=", " prefix=" ">
170+
<group delimiter=" " prefix=" ">
171+
<text variable="collection-title" font-style="italic"/>
172+
<text variable="number"/>
173+
</group>
174+
<text variable="page" suffix=" pp"/>
175+
</group>
176+
<text macro="publisher"/>
177+
</group>
178+
</else-if>
179+
<else>
180+
<text macro="title" prefix=" " suffix="."/>
181+
<group delimiter=", " prefix=" " suffix=".">
182+
<group delimiter=" ">
183+
<text variable="container-title" form="long" font-style="italic"/>
184+
<text variable="volume" font-weight="bold"/>
185+
</group>
186+
<text variable="page"/>
187+
</group>
188+
</else>
189+
</choose>
190+
</group>
191+
<text macro="access" prefix=". "/>
192+
</layout>
193+
</bibliography>
194+
</style>

0 commit comments

Comments
 (0)