【问题标题】:Tabstop in rmarkdown for word outputrmarkdown 中的 Tabstop 用于单词输出
【发布时间】:2022-07-06 05:29:20
【问题描述】:

是否可以在 rmarkdown 文档中直接写一个制表位,并以 word 作为输出?我试过 \t 但它没有用。

这是一个带有单词输出的 rmarkdown 文档的最小示例:

---
title: "Untitled"
output: word_document
---

## R Markdown

Is it possible to write a tabstop directly in a rmarkdown document with word as output? I tried \t but it did not work. 

【问题讨论】:

    标签: r r-markdown word


    【解决方案1】:

    您可以使用 HTML 实体 	 来添加制表位:

    ---
    title: "Untitled"
    output: word_document
    ---
    
    ## R Markdown
    
    Is it possible to write a tabstop directly in a rmarkdown document with word as output? I tried 	 but it did not work. 
    

    【讨论】:

      最近更新 更多