使用 csl 文件设置 Rmarkdown 参考书目中参考项目之间的间距

use*_*545 2 r bibtex xelatex r-markdown csl

我目前正在尝试在使用 csl 文件时在 Rmarkdown 文件中正确格式化我的参考书目。

使用 natbib 时,引用项之间的间距工作正常,但是使用 csl 文件时,不会产生适当的间距。

由于其他几个原因,我不想使用 natbib 但使用 csl

由于 \setlength\bibitemsep 或类似的不适用于 csl 。

YAML


font-family: Arial
mainfont: Arial
header-includes:
   - \pagenumbering{gobble}
   - \usepackage{caption}
   - \usepackage{float}
   - \captionsetup[figure]{font=footnotesize,format=hang,labelfont=bf,textfont=it,width=.95\textwidth}
output:
  bookdown::pdf_document2:
    includes:
    text-align: justify
    latex_engine: "xelatex"
    number_sections: yes
    fig_caption: yes
    toc: false
geometry: "left=3cm,right=3cm,top=2.5cm,bottom=2.5cm"
fontsize: 12pt
bibliography: Microt.bib
csl: the-journal-of-cell-biology.csl
linestretch: 1.5
link-citations: yes
editor_options: 
  markdown: 
    wrap: sentence
Run Code Online (Sandbox Code Playgroud)

然后在 rmd 的末尾:


\```{=tex}
\newpage
\pagenumbering{gobble}
\```

# Literature {.unnumbered}
\singlespacing

Run Code Online (Sandbox Code Playgroud)

使用 csl 时,空间太小

csl间距

有了 natbib,空间就很好了

citation_package: natbib在 YAML 中

在此输入图像描述

但条目太冗长

有没有什么好的解决方案,无需学习 Latex 数周并与 tlmgr 等进行斗争?

use*_*545 5

找到了,在

中超联赛使用:

<bibliography entry-spacing = "2" >

Run Code Online (Sandbox Code Playgroud)