Various minor adjustments to snippets

This commit is contained in:
2024-05-12 06:33:03 +02:00
parent def3c6b531
commit d42f1f53e8
5 changed files with 25 additions and 8 deletions

View File

@@ -18,9 +18,9 @@ endsnippet
snippet article "Add article reference" b
@article{${1:ref_name},
title={${2:Titel}},
author={${3:Autor}},
journal={${4:Journal}},`!p
title = {${2:Titel}},
author = {${3:Autor}},
journal = {${4:Journal}},`!p
if t[5] != "":
snip.rv = "\n\tvolume\t= {"
else:
@@ -45,8 +45,9 @@ if t[7] != "":
snip.rv = "},"
else:
snip.rv = ""`
year={${8:2023}},
publisher={${9:Verlag}}
year = {${8:2023}},
doi = {${9:DOI_NUM}}
publisher = {${10:Verlag}}
}
$0
endsnippet