首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >rmarkdown,word文档中文本的列

rmarkdown,word文档中文本的列
EN

Stack Overflow用户
提问于 2018-04-06 00:25:06
回答 1查看 716关注 0票数 0

在R studio中使用Rmarkdown。

我正在制作一个word文档(html不行)。

我在rmarkdown中有一个文本,有时包含代码块。

我试着从这篇文章中创建两个专栏。:

代码语言:javascript
复制
---
output: word_document
---

#Column 1
This is an R Markdown document. Markdown is a simple formatting syntax for 
authoring HTML, PDF, and MS Word documents. For more details on using R 
Markdown see <http://rmarkdown.rstudio.com>.

#Column2

When you click the **Knit** button a document will be generated that 
includes both content as well as the output of any embedded R code chunks 
within the document. You can embed an R code chunk like this:

我一直无法找到任何解决方案或任何接近解决方案的东西。我使用的是\begin{column}和\end{column},但这是一个旧的教程,对我不起作用……或者我做错了。

EN

回答 1

Stack Overflow用户

发布于 2020-06-30 23:58:41

在您的YAML标头中尝试以下内容-

classoption:两个列

票数 -1
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/49677182

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档