简体   繁体   English

为 rmarkdown 投影仪演示指定内部主题

[英]Specify innertheme for an rmarkdown beamer presentation

The default bullets in the AnnArbor theme are ugly bullet points I want to switch for the cleaner arrow type bullet points in the default theme. AnnArbor 主题中的默认项目符号是丑陋的项目符号,我想在默认主题中切换为更清晰的箭头类型项目符号。 Do you know how I can specify the innertheme for rmarkdown's beamer presentation in R?您知道我如何在 R 中为 rmarkdown 的投影仪演示指定内部主题吗?

R Markdown often includes easy to access options to be used in the yaml front matter. R Markdown 通常包括在 yaml 前端使用的易于访问的选项。 However, in the event that such an option has not been made available, we can always resort to header-includes to include arbitrary LaTeX code in the preamble.但是,如果没有提供这样的选项,我们总是可以使用header-includes来在序言中包含任意的 LaTeX 代码。

Here's how you could use that to change the innertheme :以下是您如何使用它来更改内innertheme

---
title: "Untitled"
output: beamer_presentation
header-includes:
    - \useinnertheme{rectangles}
---

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM