-
-
Notifications
You must be signed in to change notification settings - Fork 969
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ioslides presentation pdf output is not correct. #2519
Comments
---
title: "Untitled"
output: ioslides_presentation
knit: pagedown::chrome_print
---
```{r setup, include=FALSE}
knitr::opts_chunk$set(echo = FALSE)
```
## R Markdown
This is an R Markdown presentation. Markdown is a simple formatting syntax for authoring HTML, PDF, and MS Word documents. For more details on using R Markdown see <http://rmarkdown.rstudio.com>.
When you click the **Knit** button a document will be generated that includes both content as well as the output of any embedded R code chunks within the document.
## Slide with Bullets
- Bullet 1
- Bullet 2
- Bullet 3
## Slide with R Output
```{r cars, echo = TRUE}
summary(cars)
```
## Slide with Plot
```{r pressure}
plot(pressure)
``` try this. |
We have already tried in the past to improve printing for ioslides. See #399 (comment) This is a matter print CSS customization and sizing probably when you print. Using the default setting won't work. Probably playing with those could help. Otherwise some paged media rules would need to be added. You could try with this for example pagedown::chrome_print("test.Rmd", options = list(printBackground = FALSE)) which is probably equivalent to uncheck the box in Chrome Print menu. Anyhow, happy to add some print CSS rule is you find some, but over the years we have now the experience that IOSLIDES is not the best slide framework to print to PDF. |
Regardless of whether you first export as HTML and then use the browser print option, or directly use chrom_print to output the PDF, there may still be empty space at the bottom and right side of each slide page in ioslides presentation.
The text was updated successfully, but these errors were encountered: