将Rmarkdown文档编织到Powerpoint时,我不明白为什么默认情况下内嵌代码(或大块代码)在演示文稿中以Courier size 18pt 字体呈现,而其余的非-code文字采用Calibri size 28pt (Calibri字体)。
我只能使用自定义模板来更改后面的版本,而不能更改代码外观。我错过了什么吗?
这是一个简单的例子:
---
title: "Untitled"
author: "Julien Roux"
date: "9/18/2019"
output:
powerpoint_presentation: default
---
```{r setup, include=FALSE}
knitr::opts_chunk$set(echo = FALSE)
```
## R Markdown
Why is `inline code` appearing smaller?
在Rstudio(版本1.2.1578)中进行编织后,会在此输出幻灯片中产生以下结果:
我的会话信息:
> sessionInfo()
R version 3.6.0 Patched (2019-05-14 r76503)
Platform: x86_64-apple-darwin15.6.0 (64-bit)
Running under: macOS Mojave 10.14.6
Matrix products: default
BLAS: /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBLAS.dylib
LAPACK: /Library/Frameworks/R.framework/Versions/3.6/Resources/lib/libRlapack.dylib
locale:
[1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8
attached base packages:
[1] stats graphics grDevices utils datasets methods base
loaded via a namespace (and not attached):
[1] compiler_3.6.0 htmltools_0.3.6 tools_3.6.0 yaml_2.2.0 Rcpp_1.0.2 rmarkdown_1.15 knitr_1.24
[8] xfun_0.9 digest_0.6.20 evaluate_0.14