[英]Bibiliography style with Quarto documents
The default way of displaying references with Quarto documents seems to put author names in this format: Last1, First1, First2 Last2, First3 Last3, and First4 Last4
.使用 Quarto 文档显示参考文献的默认方式似乎以这种格式放置作者姓名:
Last1, First1, First2 Last2, First3 Last3, and First4 Last4
。 So the first author name is displayed differently than the rest. Is that intentional and is there a way to change that?所以第一作者姓名的显示方式与 rest 不同。这是故意的吗?有没有办法改变它?
Here's an example:这是一个例子:
---
project:
type: website
format: html
bibliography: references.bib
---
## Text
@bibitem1
Content of references.bib
references.bib
.bib的内容
@article{bibitem1,
author = {First1 Last1 and First2 Last2 and First3 Last3 and First4 Last4},
title = {Article title},
journal = {Journal name},
year = {2013},
volume = {3},
number = {72},
pages = {14--18}
}
which is displayed as显示为
Last1, First1, First2 Last2, First3 Last3, and First4 Last4. 2013. “Article Title.” Journal Name 3 (72): 14–18.
How your references are displayed is entirely determined by the bibliography format you use.您的参考文献如何显示完全取决于您使用的参考书目格式。 Quarto adopts a default one.
Quarto 采用默认的方式。 You can specify a custom one with the
csl
option, specified in your YAML header as for example:您可以使用
csl
选项指定一个自定义选项,在您的 YAML header 中指定,例如:
csl: biomed-central.csl
Styles for many journals are available with the Zotero project: https://www.zotero.org/styles Styles Zotero 项目提供了许多期刊: https://www.zotero.org/styles
These styles are composed using the Citation Style Language .这些 styles 是使用Citation Style Language组成的。 In principle, you could customize such a style (including the default style used by Quarto).
原则上,您可以自定义这样的样式(包括 Quarto 使用的默认样式)。 It is not that trivial, though, and would require some effort to understand and use the language.
但是,这并不是那么微不足道,并且需要付出一些努力才能理解和使用该语言。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.