【问题标题】:Fonts in RStudio presentation with reveal.js in utf-8RStudio 演示文稿中的字体,带有 utf-8 中的reveal.js
【发布时间】:2017-09-21 10:57:39
【问题描述】:

如何在reveal.js 驱动的Rstudio 演示文稿中更改字体 - .rmd 标头:

---
title: "Title with utf-8 signs ą ę ł ó"
output: revealjs::revealjs_presentation
slide_level: 2
---

# R Markdown

This is an R Markdown presentation. 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>.

这样它可以正确处理 utf-8 字母吗? 目前它会显示它们(我正在使用 utf-8 编码保存我的 .rmd 文件),但在编织后会使它们变得又大又丑。

我基本上是在为我的班级编写一个介绍性的 R 课程演示文稿,并寻找最简单的方法,它不会使用 powerpoint。

谢谢

【问题讨论】:

    标签: rstudio r-markdown reveal.js


    【解决方案1】:

    尝试从控制台生成演示文稿,而不是使用 RStudio 按钮编织

    library(revealjs)
    library(rmarkdown)
    rmarkdown::render('file.Rmd', encoding = "UTF-8")
    

    【讨论】:

      猜你喜欢
      • 2017-03-15
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2015-03-28
      • 2015-09-18
      • 2017-11-17
      • 2014-01-17
      相关资源
      最近更新 更多