Reputation: 587
I am creating a RMarkdown presentation using Szeged as beamer type. Does anyone know how to set the position of the columns so that there is less space between them? I have the following output:
the code:
---
title: |
| Text
author: |
| Name
| email
|
date: date
output:
beamer_presentation:
theme: Szeged
slide_level: 2
includes:
in_header: header.tex
keep_tex: true
linkcolor: false
---
```{r setup, include=FALSE}
knitr::opts_chunk$set(echo = FALSE)
```
# Workshop
## section
\footnotesize
:::::::::::::: {.columns}
::: {.column}
Text 1
- option 1
- option 1
- option 1
- option 1
:::
::: {.column}
Text 2
- option 1
- option 1
- option 1
- option 1
:::
::: {.column}
Text 3
- option 1
- option 1
- option 1
- option 1
:::
::::::::::::::
But I would the columns to have less space between them so that they are more central, otherwise the text does not fit. Any ideas?
Upvotes: 1
Views: 754
Reputation: 39002
You can set the width of the columns:
---
title: |
| Text
author: |
| Name
| email
|
date: date
output:
beamer_presentation:
theme: Szeged
slide_level: 2
includes:
in_header: header.tex
keep_tex: true
---
```{r setup, include=FALSE}
knitr::opts_chunk$set(echo = FALSE)
```
# Workshop
## section
\footnotesize
:::::::::::::: {.columns totalwidth=\textwidth}
::: {.column width="30%"}
Text 1
- option 1
- option 1
- option 1
- option 1
:::
::: {.column width="30%"}
Text 2
- option 1
- option 1
- option 1
- option 1
:::
::: {.column width="30%"}
Text 3
- option 1
- option 1
- option 1
- option 1
:::
::::::::::::::
Upvotes: 1