gpt4 book ai didi

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

转载 作者:行者123 更新时间:2023-12-04 04:05:11 25 4
gpt4 key购买 nike

当使用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/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com