[英]Customising R markdown pdf document
I am trying to accommodate multiple authors and affiliations as follows. 我正尝试容纳以下多个作者和隶属关系。
---
title: "Title"
author: |
| Author1^1^, Author2^2^, Author3^1^ and Author4^2^
| 1. Affiliation1
| 2. Affiliation2
date: "Wednesday, April 10, 2015"
output:
pdf_document
---
With above I am getting 通过以上我得到
How to modify the default R markdown Yaml header to get customised output in the author field? 如何修改默认的R markdown Yaml标头以在author字段中获得自定义输出? I would like to.
我想要。
I was looking a good way to add different affiliations with an elsevier template within 'rticles' and i could do it like this: 我一直在寻找一种在'rticles'中用elsevier模板添加不同从属关系的好方法,我可以这样做:
---
title: Title
author:
- name: Sergio Ibarra Espinosa^a^
email: sergio.ibarra@iag.usp.br
- name: María de Fátima Andrade^a^
- name: Seaghán Mhartain^b^
- name: Rita Yuri Ynoue^a^
address:
- code: 1
address: Instituto de Astronomía, Geofísica e Ciências Atmosféricas, Universidade de São Paulo
- code: 2
address: Faculdade de Medicina, Universidade de São Paulo
abstract: abstract
It consists of two paragraphs.
bibliography: mybibfile.bib
output: rticles::elsevier_article
---
which produced the following result: 产生了以下结果:
I hope it can help 希望对您有所帮助
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.