【发布时间】:2016-07-22 07:13:29
【问题描述】:
在一个.Rmd下面有标题的文件中,我想包含一个摘要,所以我尝试了标准的LateX文章形式,
\abstract{This paper explores a variety of topics related to the question of testing the equality of
covariance matrices in multivariate linear models, particularly in the MANOVA setting.
The main focus is on graphical methods that can be used to understand features of data related
to this question.}
但是,令人惊讶的是(我知道这看起来很奇怪),我的“参考”部分中的参考格式变得很糟糕——参考之间没有间距,奇怪的缩进。那么,我怎样才能包含看起来像摘要的内容呢?
我的 YAML 标头是:
---
title: "Notes on Testing Equality of Covariance Matrices"
author: "Michael Friendly"
date: '`r format(Sys.time(), "%B %d, %Y")`'
output:
pdf_document:
fig_caption: yes
keep_tex: yes
number_sections: yes
includes:
in_header: mystyles.tex
csl: apa.csl
bibliography:
- "C:/Users/friendly/Dropbox/localtexmf/bibtex/bib/statistics.bib"
- "C:/Users/friendly/Dropbox/localtexmf/bibtex/bib/graphics.bib"
---
编辑:仔细想想,问题可能是pandoc-citeproc 在某种程度上被文档中使用\abstract{} 所做的事情弄糊涂了。
【问题讨论】:
标签: r rstudio knitr r-markdown pandoc