JSS模板中的作者为Rticles叠加,不知道如何将它们分成两行

时间:2016-12-19 18:08:25

标签: r latex knitr

我正在尝试撰写统计软件期刊(JSS)的手稿,我有四位作者,问题是当我编写手稿时,作者的隶属关系是叠加的。我在JSS的Articles with many authors中看到他们将它们分成两行,但我没有找到任何方法在Rticles包中做到这一点,这是一个有4位作者的示例手稿

---
author:
  - name: Main author
    affiliation: University of life and more
    address: >
      First line
      Second line
    email: me@university.edu
    url: http://rstudio.com
  - name: second author
    affiliation: University of life and more
  - name: Third Author
    affiliation: University of life and more
  - name: Fourth Author
    affiliation: University of life and more
    title:
  formatted: "super interesting r package called \\pkg{TheSuperPackage}"
  short:     "\\pkg{TheSuperPackage}: This is exiting"
abstract: >
  We present a package that will solve your life
keywords:
  # at least one keyword must be supplied
  formatted: [ "\\pkg{TheSuperPackage}", Life, "\\proglang{R}"]
  plain:     [keywords, not capitalized, life]
preamble: >
  \usepackage{amsmath}
biblio-style: jss
output:
  rticles::jss_article:
    fig_caption: true
    citation_package: natbib
bibliography: Derek.bib
---


```{r, echo=FALSE, warning=FALSE, message=FALSE}
library(rticles)
library(rmarkdown)
library(yaml)
```

```{r, echo=FALSE, warning=FALSE}
library(knitr)
opts_chunk$set(prompt=TRUE)
options(replace.assign=TRUE, width=90, prompt="R> ")
```

# Introduction

This template demonstrates some of the basic latex you'll need to know to create a JSS article.

非常感谢任何帮助

0 个答案:

没有答案