R Markdown beamer presentation apalike 引用

R Markdown beamer presentation apalike citation

我有降价优惠 beamer_presentation。我已将 biblio-style 更改为 apalike,但我没有得到预期的结果。我使用了 Grady 等人。 (2019)为例,在APA网站上引用如下:

Grady, J. S., Her, M., Moreno, G., Perez, C., & Yelinek, J. (2019). Emotions in storybooks: A comparison of storybooks that represent ethnic and racial groups in the United States. Psychology of Popular Media Culture, 8(3), 207–217.

使用 biblio-style: apalike 我在参考文献中得到以下结果:

Grady, Jessica Stoltzfus, Malina Her, Geena Moreno, Catherine Perez, and Jillian Yelinek. 2019. “Emotions in Storybooks: A Comparison of Storybooks That Represent Ethnic and Racial Groups in the United States.” Psychology of Popular Media Culture 8 (3): 207–17.

以下几点不同:

  1. 名字
  2. 年份不在括号中
  3. 标题前后的引号
  4. Space卷数之间
  5. 页码格式。

对于如何获得正确的结果有什么想法或建议吗?

代码:

---
output:
  beamer_presentation:
    slide_level: 2
bibliography: ref.bib
biblio-style: apalike

---

---

## Header

- @grady2019emotions

---

## References

中文提供代码:

@article{grady2019emotions,
  title={Emotions in storybooks: A comparison of storybooks that represent ethnic and racial groups in the United States.},
  author={Grady, Jessica Stoltzfus and Her, Malina and Moreno, Geena and Perez, Catherine and Yelinek, Jillian},
  journal={Psychology of Popular Media Culture},
  volume={8},
  number={3},
  pages={207},
  year={2019},
  publisher={Educational Publishing Foundation}
}

R Markdown 使用 citeproc 处理器来处理引用,除非您在输出配置中设置 citation_package。最简单的方法(也是最便携的,因为它也适用于其他输出格式)是不使用 bibtex,而是下载 apa.csl citation style definition, e.g., here,然后将其与

一起使用
csl: apa.csl