use*_*545 2 r bibtex xelatex r-markdown csl
使用 natbib 时,引用项之间的间距工作正常,但是使用 csl 文件时,不会产生适当的间距。
由于其他几个原因,我不想使用 natbib 但使用 csl
由于 \setlength\bibitemsep 或类似的不适用于 csl 。
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)
citation_package: natbib在 YAML 中
但条目太冗长