Features by Gerhard
[shutils.git] / dotfiles / vim / .vim / snippets / bib.snippets
1 # author: Heinz Hofbauer <hofbauer.heinz@gmx.net> (https://bitbucket.org/moebiusstrip/vimfiles)
2
3 ## PART 1 with optional fields
4
5 # An article from a journal or magazine.
6 snippet article
7 @article{${1:key},
8 author = {${2}},
9 title = {${3}},
10 journal = {${4}},
11 year = {${5}},
12 OPTvolume = {},
13 OPTnumber = {},
14 OPTpages = {},
15 OPTmonth = {},
16 OPTnote = {},
17 OPTkey = {},
18 }
19 # A book with an explicit publisher.
20 snippet book
21 @book{${1:key},
22 author = {${2}},
23 editor = {${3}},
24 title = {${4}},
25 publisher = {${5}},
26 year = {${6}},
27 OPTvolume = {},
28 OPTnumber = {},
29 OPTseries = {},
30 OPTaddress = {},
31 OPTedition = {},
32 OPTmonth = {},
33 OPTnote = {},
34 OPTkey = {},
35 }
36 # A work that is printed and bound, but without a named publisher or sponsoring institution.
37 snippet booklet
38 @booklet{${1:key},
39 title = {${2}},
40 OPTauthor = {},
41 OPThowpublished = {},
42 OPTaddress = {},
43 OPTmonth = {},
44 OPTyear = {},
45 OPTnote = {},
46 OPTkey = {},
47 }
48 # A part of a book, usually untitled. May be a chapter (or section or whatever) and/or a range of pages.
49 snippet inbook
50 @inbook{${1:key},
51 author = {${2}},
52 editor = {${3}},
53 title = {${4}},
54 chapter = {${5}},
55 pages = {${6}},
56 publisher = {${7}},
57 year = {${8}},
58 OPTvolume = {},
59 OPTnumber = {},
60 OPTseries = {},
61 OPTtype = {},
62 OPTaddress = {},
63 OPTedition = {},
64 OPTmonth = {},
65 OPTnote = {},
66 OPTkey = {},
67 }
68 # A part of a book having its own title.
69 snippet incollection
70 @incollection{${1:key},
71 author = {${2}},
72 title = {${3}},
73 booktitle = {${4}},
74 publisher = {${5}},
75 year = {${6}},
76 OPTeditor = {},
77 OPTvolume = {},
78 OPTnumber = {},
79 OPTseries = {},
80 OPTtype = {},
81 OPTchapter = {},
82 OPTpages = {},
83 OPTaddress = {},
84 OPTedition = {},
85 OPTmonth = {},
86 OPTnote = {},
87 OPTkey = {},
88 }
89 # An article in a conference proceedings.
90 snippet inproceedings
91 @inproceedings{${1:key},
92 author = {${2}},
93 title = {${3}},
94 booktitle = {${4}},
95 year = {${5}},
96 OPTeditor = {},
97 OPTvolume = {},
98 OPTnumber = {},
99 OPTseries = {},
100 OPTpages = {},
101 OPTaddress = {},
102 OPTmonth = {},
103 OPTorganization = {},
104 OPTpublisher = {},
105 OPTnote = {},
106 OPTkey = {},
107 }
108 # Technical documentation.
109 snippet manual
110 @manual{${1:key},
111 title = {${2}},
112 OPTauthor = {},
113 OPTorganization = {},
114 OPTaddress = {},
115 OPTedition = {},
116 OPTmonth = {},
117 OPTyear = {},
118 OPTnote = {},
119 OPTkey = {},
120 }
121 # A Master's thesis.
122 snippet mastersthesis
123 @mastersthesis{${1:key},
124 author = {${2}},
125 title = {${3}},
126 school = {${4}},
127 year = {${5}},
128 OPTtype = {},
129 OPTaddress = {},
130 OPTmonth = {},
131 OPTnote = {},
132 OPTkey = {},
133 }
134 # For use when nothing else fits.
135 snippet misc
136 @misc{${1:key},
137 none = {${2}},
138 OPTauthor = {},
139 OPTtitle = {},
140 OPThowpublished = {},
141 OPTmonth = {},
142 OPTyear = {},
143 OPTnote = {},
144 OPTkey = {},
145 }
146 # A Ph.D. thesis.
147 snippet phdthesis
148 @phdthesis{${1:key},
149 author = {${2}},
150 title = {${3}},
151 school = {${4}},
152 year = {${5}},
153 OPTtype = {},
154 OPTaddress = {},
155 OPTmonth = {},
156 OPTnote = {},
157 OPTkey = {},
158 }
159 # The proceedings of a conference.
160 snippet proceedings
161 @proceedings{${1:key},
162 title = {${2}},
163 year = {${3}},
164 OPTeditor = {},
165 OPTvolume = {},
166 OPTnumber = {},
167 OPTseries = {},
168 OPTaddress = {},
169 OPTmonth = {},
170 OPTpublisher = {},
171 OPTorganization = {},
172 OPTnote = {},
173 OPTkey = {},
174 }
175 # A report published by a school or other institution, usually numbered within a series.
176 snippet techreport
177 @techreport{${1:key},
178 author = {${2}},
179 title = {${3}},
180 institution = {${4}},
181 year = {${5}},
182 OPTtype = {},
183 OPTnumber = {},
184 OPTaddress = {},
185 OPTmonth = {},
186 OPTnote = {},
187 OPTkey = {},
188 }
189 # A document having an author and title, but not formally published.
190 snippet unpublished
191 @unpublished{${1:key},
192 author = {${2}},
193 title = {${3}},
194 note = {${4}},
195 OPTmonth = {},
196 OPTyear = {},
197 OPTkey = {},
198 }
199
200 ## PART 2 without optional fields (cleansuffix)
201
202 # An article from a journal or magazine.
203 snippet articleclean
204 @article{${1:key},
205 author = {${2}},
206 title = {${3}},
207 journal = {${4}},
208 year = {${5}},
209 }
210 # A book with an explicit publisher.
211 snippet bookclean
212 @book{${1:key},
213 author = {${2}},
214 editor = {${3}},
215 title = {${4}},
216 publisher = {${5}},
217 year = {${6}},
218 }
219 # A work that is printed and bound, but without a named publisher or sponsoring institution.
220 snippet bookletclean
221 @booklet{${1:key},
222 title = {${2}},
223 }
224 # A part of a book, usually untitled. May be a chapter (or section or whatever) and/or a range of pages.
225 snippet inbookclean
226 @inbook{${1:key},
227 author = {${2}},
228 editor = {${3}},
229 title = {${4}},
230 chapter = {${5}},
231 pages = {${6}},
232 publisher = {${7}},
233 year = {${8}},
234 }
235 # A part of a book having its own title.
236 snippet incollectionclean
237 @incollection{${1:key},
238 author = {${2}},
239 title = {${3}},
240 booktitle = {${4}},
241 publisher = {${5}},
242 year = {${6}},
243 }
244 # An article in a conference proceedings.
245 snippet inproceedingsclean
246 @inproceedings{${1:key},
247 author = {${2}},
248 title = {${3}},
249 booktitle = {${4}},
250 year = {${5}},
251 }
252 # Technical documentation.
253 snippet manualclean
254 @manual{${1:key},
255 title = {${2}},
256 }
257 # A Master's thesis.
258 snippet mastersthesisclean
259 @mastersthesis{${1:key},
260 author = {${2}},
261 title = {${3}},
262 school = {${4}},
263 year = {${5}},
264 }
265 # For use when nothing else fits.
266 snippet miscclean
267 @misc{${1:key},
268 none = {${2}},
269 }
270 # A Ph.D. thesis.
271 snippet phdthesisclean
272 @phdthesis{${1:key},
273 author = {${2}},
274 title = {${3}},
275 school = {${4}},
276 year = {${5}},
277 }
278 # The proceedings of a conference.
279 snippet proceedingsclean
280 @proceedings{${1:key},
281 title = {${2}},
282 year = {${3}},
283 }
284 # A report published by a school or other institution, usually numbered within a series.
285 snippet techreportclean
286 @techreport{${1:key},
287 author = {${2}},
288 title = {${3}},
289 institution = {${4}},
290 year = {${5}},
291 }
292 # A document having an author and title, but not formally published.
293 snippet unpublishedclean
294 @unpublished{${1:key},
295 author = {${2}},
296 title = {${3}},
297 note = {${4}},
298 }