RMarkdown 中的完整引用? [英] Full citation in RMarkdown?

查看:51
本文介绍了RMarkdown 中的完整引用?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有什么方法可以在 RMarkdown 文本中插入完全格式化的引文.例如,像这样:您输入引用键

Is there any way to insert a fully formatted citation in RMarkdown in-text. For example, something like this: You enter the citation key

@watson1953

@watson1953

它呈现(作为乳胶PDF)为

and it renders (as a latex PDF) as

沃森,J.D.,&Crick, F. H. C. (1953).核酸的分子结构:脱氧核糖核酸的结构.自然,171(737-738),3-12.

Watson, J. D., & Crick, F. H. C. (1953). Molecular structure of nucleic acids: A structure for deoxyribose nucleic acid. Nature, 171(737-738), 3-12.

但它是在引用键的确切位置进行的.文档末尾的参考书目也应取消.

But it does it in exact location of the citation key. The bibliography at the end of the document should also be suppressed.

有没有办法做到这一点?我在这里或通过谷歌搜索都找不到任何东西.

Is there any way to do this? I couldn't find anything either here or through searching google.

推荐答案

使用 RStudio 1.4 中的可视化 Markdown 编辑模式.

插入引文后,将光标放在它上面以查看它的预览以及指向源的链接(如果有):

Once you’ve inserted a citation, place the cursor over it to see a preview of it along with a link to the source if one is available:

这篇关于RMarkdown 中的完整引用?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆