如何在 R Markdown 中正确引用超过 1 个名字作为姓氏的作者
how to properly cite authors in R Markdown with more than 1 name as last name
我正在按照以下方式使用 R Markdown:
---
title: title
author:
- Name1:
email: email
institute: med
correspondence: yes
- name: name2
institute: med
date: date
bibliography: ref_file.bib
bib-humanities: true
output:
pdf_document:
includes:
in_header: header.tex
number_sections: yes
toc: no
pandoc_args:
- --lua-filter=scholarly-metadata.lua
- --lua-filter=author-info-blocks.lua
word_document:
toc: no
pandoc_args:
- --lua-filter=scholarly-metadata.lua
- --lua-filter=author-info-blocks.lua
html_document:
toc: no
df_print: paged
header-includes: \usepackage{amsmath}
institute:
- med: etc etc
---
@RN36382 defined...
我的 ref_file.bib 显示:
@article{RN36382,
author = {van der Laan, M. J.},
title = {Statistical Inference for Variable Importance},
journal = {The International Journal of Biostatistics},
volume = {2},
number = {1},
year = {2006},
type = {Journal Article}
}
我的 pdf 输出是:
“Laan (2006) 定义...”,但是,我期待“van der Laan (2006) 定义...”
我该如何解决这个问题?谢谢!
您应该添加双括号 ;)
...
author = {{van der Laan, M. J.}}
...
我正在按照以下方式使用 R Markdown:
---
title: title
author:
- Name1:
email: email
institute: med
correspondence: yes
- name: name2
institute: med
date: date
bibliography: ref_file.bib
bib-humanities: true
output:
pdf_document:
includes:
in_header: header.tex
number_sections: yes
toc: no
pandoc_args:
- --lua-filter=scholarly-metadata.lua
- --lua-filter=author-info-blocks.lua
word_document:
toc: no
pandoc_args:
- --lua-filter=scholarly-metadata.lua
- --lua-filter=author-info-blocks.lua
html_document:
toc: no
df_print: paged
header-includes: \usepackage{amsmath}
institute:
- med: etc etc
---
@RN36382 defined...
我的 ref_file.bib 显示:
@article{RN36382,
author = {van der Laan, M. J.},
title = {Statistical Inference for Variable Importance},
journal = {The International Journal of Biostatistics},
volume = {2},
number = {1},
year = {2006},
type = {Journal Article}
}
我的 pdf 输出是:
“Laan (2006) 定义...”,但是,我期待“van der Laan (2006) 定义...”
我该如何解决这个问题?谢谢!
您应该添加双括号 ;)
...
author = {{van der Laan, M. J.}}
...