【问题标题】:Two column incremental beamer slide in RMarkdownRMarkdown 中的两列增量投影仪幻灯片
【发布时间】:2021-03-13 00:35:35
【问题描述】:

我试图在rmarkdown 的beamer 演示幻灯片中获得两列布局,该幻灯片逐项显示A 和B 之间的差异。 MWE如下:

---
  title: "Presentation Title"
author: "Name"
institute: "Institute"
date: "date"
output:
  beamer_presentation:
  incremental: true
theme: "Berlin"
colortheme: "dove"
fonttheme: "structurebold"
classoption: "aspectratio=169"

# Section 1

## A vs B

::: columns

:::: column
### A
- Item A1
- Item A2
::::

:::: column
### B
- Item B1
- Item B2
::::

:::

然而,这意味着出现 A1,然后是 A2,然后是 B1,然后是 B2。 我正在寻找一种解决方案,它会给 A1,然后是 B1; A2,然后是 B2。使用 beamer 和 rmarkdown 可以实现吗?

谢谢

【问题讨论】:

标签: r latex r-markdown beamer


【解决方案1】:

您可以手动进行叠加:

---
title: "Presentation Title"
author: "Name"
institute: "Institute"
date: "date"
output:
  beamer_presentation:
    keep_tex: true
    incremental: true
    includes:
      in_header: preamble.tex
theme: "Berlin"
colortheme: "dove"
fonttheme: "structurebold"
classoption: "aspectratio=169"
---

# Section 1

## A vs B
::: columns

:::: column
### A 
\begin{itemize}
\item<1-> Item A1
\item<3-> Item A2
\end{itemize}
::::

:::: column
### B 
\begin{itemize}
\item<2-> Item A1
\item<4-> Item A2
\end{itemize}
::::

:::

【讨论】:

    猜你喜欢
    • 2017-12-07
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2015-04-01
    • 2020-08-17
    • 2012-10-11
    • 2021-05-21
    相关资源
    最近更新 更多