LaTeX equations are rendered much smaller in PDF from xaringan slides, with partial_slides = TRUE
Open
Nobody has claimed this yet.
- Dominant language
- HTML
- Stars
- 178
- Forks
- 13
- PR merge metrics
- No merged PRs in 30d
Description
E.g. these slides:
---
title: "test"
output:
xaringan::moon_reader:
seal: false
lib_dir: libs
nature:
highlightStyle: github
highlightLines: true
countIncrementalSlides: false
---
class: title-slide center middle inverse
# Title
---
### Slide 1 with formula $Q = 1 - P$
Formula is smaller here as well: $$Q = 1 - P$$
This is what I use to render the slides:
chromote::local_chrome_version(binary = "chrome-headless-shell")
renderthis::to_pdf("test.Rmd", partial_slides = TRUE)
It seems fine when I don't use partial_slides = TRUE.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the issue from test.Rmd by running renderthis::to_pdf with partial_slides = TRUE, then compare it with the same document without that option. Trace the PDF rendering path involving chromote and the xaringan::moon_reader output. Done means LaTeX equations have consistent sizing in both rendering modes.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- latex, r
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100