简体   繁体   中英

How to add a new block environment / layouts (definitions, theorem, etc) to RMarkdown beamer?

在此处输入图片说明 I am trying to add insets (definitions, theorem, etc) to RMarkdown beamer. Does anyone know how to do this?

An example would be a definition:

\begin_layout Definition
\begin_inset Quotes eld
\end_inset

[Cheese] cheese rocks. 
\begin_inset Quotes erd
\end_inset

You can use a header level inferior to the slide level. Here is an example (which may look a little bit different with another beamer theme).

---
output: 
  beamer_presentation:
    theme: Copenhagen
    slide_level: 3
---

### Revenue management

#### Definition

Cheese rocks^[especially French cheese]

在此处输入图片说明

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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