这如何在 Markdown 中完成?
我在 Rmarkdown 中使用投影仪演示文稿,我想要幻灯片左侧的图像和幻灯片右侧的文本。
基本上,这是做什么的:https://tex.stackexchange.com/questions/165475/figure-next-to-text-in-beamer
但是对于 Markdown 不是 Latex。
最佳答案
使用 multicol
包裹:
---
title: "Untitled"
author: "Martin"
date: "7/9/2017"
output:
beamer_presentation:
keep_tex: yes
header-includes:
- \usepackage{multicol}
---
```{r setup, include=FALSE}
knitr::opts_chunk$set(echo = FALSE)
```
## R Markdow
\begin{multicols}{2}
\null \vfill
\includegraphics[width=.3\textwidth]{unnamed.png}
\vfill \null
\columnbreak
\null \vfill
\begin{itemize}
\item Item 1
\item Item 2
\end{itemize}
\vfill \null
\end{multicols}
关于html - 如何在左侧包含图像并在右侧包含文本以进行 rmarkdown 演示,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/44990903/