r - 如何在Rmarkdown Beamer Madrid演示文稿中结束 header 3框?

标签 r latex knitr r-markdown beamer

当使用Madrid Beamer主题(和其他一些主题)时, header 3呈现为覆盖整个部分的方框,但在 Markdown 中, header 仅在开始时指定。如何指定本节的结尾?

在下面的示例中,我希望第二句话在框内,但第三句话又回到白色背景。

示例:

---
title: "Example"
output: 
  beamer_presentation:
    colortheme: beaver
    theme: Madrid
---

## Slide with Box

Hello, I'm not in the box

### This is a box
And this text is in the box!


I don't want to be in the box, but I am.

输出

最佳答案

这对我有用:

## Slide with block 2

Hello, I'm not in the block.

\begin{block}{This is a block}
  And this text is in the block!
\end{block}


Hi, I'm not in the block either!

关于r - 如何在Rmarkdown Beamer Madrid演示文稿中结束 header 3框?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/27379597/

相关文章:

Rcurl 与 http 数据发布

latex - 打破目录中的长章节标题

emacs - 组织模式 - 用于 latex 导出的并排图标题

rmarkdown 内联代码与代码块

r - R 中的双 y 轴图

xml - 使用 R 的 XML 包从头开始构建具有完整命名空间信息的 KML

R biglm 与分类变量

latex - 格式化 TOC 中未编号的章节

r - 如何使用 tikz 环境和 knit 在 R 图中书写希腊字母?

r - 抑制R中nnet multinom函数中的收敛消息