我正试图为《统计软件杂志》(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)
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.
字符串
任何帮助将不胜感激
1条答案
按热度按时间fwzugrvs1#
您可以通过在中断之前在作者的从属关系字段中插入LaTeX关键字
\AND
,将作者字段拆分为两行。为此,您需要将affiliation字段用撇号 Package 起来,例如。'affiliation: 'University of life and more \AND'
。结果如下:的数据
下面是一个最小的工作示例:
Introduction
This template demonstrates some of the basic latex you'll need to know to create a JSS article.