Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions snippets/bibtex-mode/.yas-setup.el
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
(require 'yasnippet)

(add-hook 'bibtex-mode-hook
'(lambda () (set (make-local-variable 'yas-indent-line) nil)))
17 changes: 17 additions & 0 deletions snippets/bibtex-mode/article
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# -*- mode: snippet -*-
# name: article
# key: article
# --
@article{ ${title},
author = {${author}},
title = {${title}},
journal = {${journal}},
year = {${year}}${,
volume = {${volume}}}${,
number = {${number}}}${,
pages = {${pages}}}${,
month = {${month}}}${,
note = {${note}}}
}

$0
22 changes: 22 additions & 0 deletions snippets/bibtex-mode/book
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# -*- mode: snippet -*-
# name: book
# key: book
# --
@book{ ${title},
author = {${author}},
editor = {${editor}}
title = {${title}},
publisher = {${publisher}},
year = {${year}}${,
volume = {${volume}}}${,
number = {${number}}}${,
series = {${series}}}${,
type = {${type}}}${,
address = {${address}}}${,
edition = {${edition}}}${,
month = {${month}}}${,
isbn = {${isbn}}}${,
note = {${note}}}
}

$0
15 changes: 15 additions & 0 deletions snippets/bibtex-mode/booklet
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# -*- mode: snippet -*-
# name: booklet
# key: booklet
# --
@booklet{ ${title},
author = {${author}}${,
howpublished = {${howpublished}}}${,
address = {${address}}}${,
year = {${year}}}${,
month = {${month}}}${,
volume = {${volume}}}${,
note = {${note}}}
}

$0
21 changes: 21 additions & 0 deletions snippets/bibtex-mode/conference
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# -*- mode: snippet -*-
# name: conference
# key: conference
# --
@conference{ ${title},
author = {${author}},
title = {${title}},
booktitle = {${booktitle}},
year = {${year}},
editor = {${editor}}${,
volume = {${volume}}}${,
series = {${series}}}${,
pages = {${pages}}}${,
address = {${address}}}${,
month = {${month}}}${,
organization = {${organization}}}${,
publisher = {${publisher}}}${,
note = {${note}}}
}

$0
21 changes: 21 additions & 0 deletions snippets/bibtex-mode/inbook
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# -*- mode: snippet -*-
# name: inbook
# key: inbook
# --
@inbook{ ${title},
author = {${author}},
title = {${title}},
chapter = {${chapter}}${,
pages = {${pages}}},
publisher = {${publisher}},
year = {${year}},
volume = {${volume}}${,
series = {${series}}}${,
type = {${type}}}${,
address = {${addre}ss}}${,
edition = {${edition}}}${,
month = {${month}}}${,
note = {${note}}}
}

$0
23 changes: 23 additions & 0 deletions snippets/bibtex-mode/incollection
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# -*- mode: snippet -*-
# name: incollection
# key: incollection
# --
@incollection{ ${title},
author = {${author}},
title = {${title}},
booktitle = {${booktitle}},
publisher = {${publisher}},
year = {${year}}${,
editor = {${editor}}}${,
volume = {${volume}}}${,
series = {${series}}}${,
type = {${type}}}${,
chapter = {${chapter}}}${,
pages = {${pages}}}${,
address = {${address}}}${,
edition = {${edition}}}${,
month = {${month}}}${,
note = {${note}}}
}

$0
21 changes: 21 additions & 0 deletions snippets/bibtex-mode/inproceedings
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# -*- mode: snippet -*-
# name: inproceedings
# key: inproceedings
# --
@inproceedings{ ${title},
author = {${author}},
title = {${title}},
booktitle = {${booktitle}},
year = {${year}},
editor = {${editor}}${,
volume = {${volume}}}${,
series = {${series}}}${,
pages = {${pages}}}${,
address = {${address}}}${,
month = {${month}}}${,
organization = {${organization}}}${,
publisher = {${publisher}}}${,
note = {${note}}}
}

$0
14 changes: 14 additions & 0 deletions snippets/bibtex-mode/manual
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# -*- mode: snippet -*-
# name: manual
# key: manual
# --
@manual{ ${title},
title = {${title}}${,
author = {${author}}}${,
organization = {${organization}}}${,
address = {${address}}}${,
editor = {${editor}}}${,
month = {${month}}}${,
year = {${year}}}${,
note = {${note}}}
}
16 changes: 16 additions & 0 deletions snippets/bibtex-mode/masterthesis
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# -*- mode: snippet -*-
# name: masterthesis
# key: masterthesis
# --
@masterthesis{ ${title},
author = {${author}},
title = {${title}},
school = {${school}},
year = {${year}}${,
type = {${type}}}${,
address = {${address}}}${,
month = {${month}}}${,
note = {${note}}}
}

$0
14 changes: 14 additions & 0 deletions snippets/bibtex-mode/misc
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# -*- mode: snippet -*-
# name: misc
# key: misc
# --
@misc{ ${title}${,
author = {${author}}}${,
title = {${title}}}${,
howpublished = {${howpublished}}}${,
month = {${month}}}${,
year = {${year}}}${,
note = {${note}}}
}

$0
16 changes: 16 additions & 0 deletions snippets/bibtex-mode/phdthesis
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# -*- mode: snippet -*-
# name: phdthesis
# key: phdthesis
# --
@phdthesis{ ${title},
author = {${author}},
title = {${title}},
school = {${school}},
year = {${year}}${,
type = {${type}}}${,
address = {${address}}}${,
month = {${month}}}${,
note = {${note}}}
}

$0
18 changes: 18 additions & 0 deletions snippets/bibtex-mode/proceedings
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# -*- mode: snippet -*-
# name: proceedings
# key: proceedings
# --
@proceedings{ ${title},
title = {${title}},
year = {${year}}${,
editor = {${editor}}}${,
volume = {${volume}}}${,
series = {${series}}}${,
address = {${address}}}${,
month = {${month}}}${,
organization = {${organization}}}${,
publisher = {${publisher}}}${,
note = {${note}}}
}

$0
16 changes: 16 additions & 0 deletions snippets/bibtex-mode/techreport
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# -*- mode: snippet -*-
# name: techreport
# key: techreport
# --
@techreport{ ${title},
author = {${author}},
title = {${title}},
institution = {${institution}},
year = {${year}},
type = {${type}}${,
address = {${address}}}${,
month = {${month}}}${,
note = {${note}}}
}

$0
13 changes: 13 additions & 0 deletions snippets/bibtex-mode/unpublished
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# -*- mode: snippet -*-
# name: unpublished
# key: unpublished
# --
@unpublished{ ${title},
author = {${author}},
title = {${title}},
note = {${note}}${,
month = {${month}}}${,
year = {${year}}}
}

$0