RMarkdown/Knitr에서 Beamer Presentation 슬라이드를 만들려고합니다. 슬라이드에서 나는 테이블과 인물을 옆에 나란히 놓고 그 위에 더 많은 텍스트를 놓고 싶습니다. 코드에 표시된대로 시도 할 수 있습니다. Hmisc 테이블 옆에 밀도 플롯을 배치하고 싶습니다.Knitr 또는 RMarkdown Beamer의 테이블 및 그림
나는 Hmisc로 테이블을보다 잘 제어 할 수 있으므로 Kable 또는 xtable을 사용하지 않습니다.
또한 개별 슬라이드에서 텍스트 특성 (글꼴 크기, 유형, 색상)을 조정할 수 있습니까?
---
title: "BeamerTest1"
subtitle: Beamer Subtitle
author: "Author"
output:
beamer_presentation:
theme: CambridgeUS
colortheme: "beaver"
fonttheme: "structurebold"
---
## Slide with Table, Figure and Text
My topic for this slide
\scalebox{0.35}{
```{r hmisc-table, echo=FALSE, message=FALSE, results='asis'}
library(Hmisc)
latex(head(mtcars), file='', table.env=FALSE, center='none')
```
}
```{r, echo=FALSE, fig.show='hold', fig.height=1, fig.width=2.5}
library(ggplot2)
mt <- ggplot(mtcars, aes(mpg)) + geom_density(alpha=.2, fill="#FF6666") +
theme(axis.title.x = element_text(size=10),axis.text.x = element_text(size=8),
axis.title.y = element_text(size=10),axis.text.y = element_text(size=8))
mt
```
- Here is some Bullet Text
- And some more
- Subtext
- More Subtext
감사
감사합니다 Jthorpe,하지만 그 문제를 해결하지 않습니다. 그것은 그림을 오른쪽으로 이동 시키지만 그림이나 표의 크기를 어느 정도 조정하더라도 테이블 아래에 여전히 _ 아래에 있습니다. – SGH
[this] (http://tex.stackexchange.com/questions/83361/two-column-layout-with-text-and-knitr-chunk) 페이지 하단의 답변이 도움이 될 것입니다. – Jthorpe